<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MAP-T BR Not Translating Traffic - Seeing unexpected NDP traffic for MAP-T BR implementation]]></title><description><![CDATA[<p dir="auto">We are testing getting a BR running for MAP-T, but are seeing unexpected traffic and lack of the MAP domain processing traffic (inbound and outbound). These two symptoms seem related (perhaps the VPP graphs aren't fully loaded?).</p>
<p dir="auto">I'm looking for help with determining how to better troubleshoot MAP on TNSR and see where traffic is dropping. It seems to be reaching the proper interface from both the v4 and v6 sides.</p>
<p dir="auto">Also, what needs to be done to get MAP to properly pick up and translate traffic? It seems broken ...</p>
<h1><a class="anchor-offset" name="troubleshooting"></a>Troubleshooting</h1>
<h2><a class="anchor-offset" name="high-level-checks-done"></a>High Level Checks done</h2>
<ul>
<li>Routing Checked to/from the v4 and v6 sides, respectively for MAP v4 and v6 Prefixes - it's working
<ul>
<li>this is verified with tcpdump v4 inbound flows, and v6 reachability (i.e. ping) to our DMR (Default Mapping Rule aka BR IPv6 interface address), and <code>show route table default ADDR</code> checks for routes on upstream / downstream routers)</li>
</ul>
</li>
<li>toggling MAP enable / disable on the interface in case MAP didn't apply properly</li>
<li>verified proper bits for the MAP-T config (e.g. EA bits, PSID offset, PSID length, Prefix, etc)
<ul>
<li>Related: also verified some of the addresses seen on the wire with https://github.com/ejordangottlieb/pyswmap code and manual calculations</li>
</ul>
</li>
</ul>
<p dir="auto">With that said ... is there better debugging logs or counters for errors or "non-security checked" traffic hitting the MAP flows in VPP? Troubleshooting seems extremely limited from what the docs say, especially if v6 flows aren't being shown in tcpdump (which seems to be the case, see below troubleshooting)</p>
<h2><a class="anchor-offset" name="ndps-showing-up-for-ipv6-destination-addresses-from-cpe"></a>NDPs showing up for IPv6 Destination addresses from CPE</h2>
<p dir="auto">What's interesting is we see NDPs going OUT from the BR DMR.</p>
<p dir="auto">This is unexpected.</p>
<p dir="auto">These addresses are <strong>inbound</strong> from the CPE and should be ingested by MAP, not sent anywhere else. We verified the SRC/DST v6 addresses on the WAN side via wireshark as an additional sanity check to ensure they are properly formatted for the given IPv6 Prefix, Destination DMR, Destination v4 host, PSID, etc.</p>
<p dir="auto">An example <code>tcpdump</code> snippet on the BR interface showing unexpected NDPs and no other ICMPv6, ICMP, HTTP traffic (test traffic from the CPEs bound for the v4 Internet was ICMP and/or HTTP):</p>
<pre><code>02:23:51.094333 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::20c:29ff:feca:40bb &gt; ff02::1:ff00:0: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:64:0:1:101:100:0
	  source link-address option (1), length 8 (1): 00:0c:29:ca:40:bb
	    0x0000:  000c 29ca 40bb
02:23:52.098581 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::20c:29ff:feca:40bb &gt; ff02::1:ff00:0: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:64:0:1:101:100:0
	  source link-address option (1), length 8 (1): 00:0c:29:ca:40:bb
	    0x0000:  000c 29ca 40bb
02:23:52.975038 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::20c:29ff:feca:40bb &gt; ff02::1:ff00:0: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:64:0:68:1223:f00:0
	  source link-address option (1), length 8 (1): 00:0c:29:ca:40:bb
	    0x0000:  000c 29ca 40bb
02:23:53.104128 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::20c:29ff:feca:40bb &gt; ff02::1:ff00:0: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:64:0:1:101:100:0
	  source link-address option (1), length 8 (1): 00:0c:29:ca:40:bb
	    0x0000:  000c 29ca 40bb
02:23:53.977166 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::20c:29ff:feca:40bb &gt; ff02::1:ff00:0: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:64:0:68:1223:f00:0
	  source link-address option (1), length 8 (1): 00:0c:29:ca:40:bb
</code></pre>
<p dir="auto">Specifically, what's interesting:</p>
<ul>
<li><code>tcpdumps</code> <strong>don't</strong> show the incoming packets destined to the DMR interface from CEs
<ul>
<li>this <em>could</em> be ok depending on how vpp input graphs are laid out, but we would need confirmation from devs</li>
</ul>
</li>
<li>To the above point, DMR-destined traffic from CEs <strong>is</strong> getting to the BR somehow and being processed.
<ul>
<li>Those NDP v6 addresses seen above in the <code>tcpdump</code> (<code>2001:db8:64:0:1:101:100:0</code>, <code>2001:db8:64:0:68:1223:f00:0</code>) are the proper translated destination packets for cloudflare DNS (<code>1.1.1.1</code>) and a cloudflare web site (<code>104.18.35.15</code>)</li>
</ul>
</li>
</ul>
<p dir="auto">It almost seems that the v6 inbound packets are getting processed for routing on the local subnet (thus the NDP), but we would expect MAP to pick this up, translate it to v4, and dump it out toward the next-hop with the proper v4 public address (<code>A.B.C.128</code> in this case since PSIDs are 0 and 1 with a sharing ratio of 8 on this MAP domain)</p>
<h2><a class="anchor-offset" name="additional-troubleshooting"></a>Additional Troubleshooting</h2>
<p dir="auto">To further investigate, we dumped the VPP map stats (in <code>vppctrl</code>) and they are:</p>
<ul>
<li>Very one-sided (Encapsulated packets &gt; 0, Decapsulated = 0)
<ul>
<li>But also imbalanced. Organic Internet traffic toward v4 addresses in the MAP domain + other <code>scapy</code> crafted packets destined for our CPE number in the hundreds and thousands of packets per second, but watching the <code>show map stats</code> output, we'll see 10-20 pps on the <code>Encapsulated packets</code> counter. It's inconclusive if these are the traffic flows from the Internet, but we strongly suspect no due to the counts being off.</li>
</ul>
</li>
<li><code>tcpdump</code> shows inbound flows (v4 internet to v6 CPE) which should get translated along with our outbound flows (v6 translated CPE traffic to v4 Internet), so we'd expect processing counts for both</li>
</ul>
<p dir="auto">This implies MAP is not being applied / activated properly. We even toggled MAP on the interface (<code>map disable; exit</code> followed by <code>map enable; exit</code>) to "repush" config, but that doesn't change any of the above observed behavior; traffic still seems broken through MAP.</p>
<p dir="auto">Are there other counters / logs / taps that can be created to specifically troubleshoot MAP flows?</p>
<p dir="auto">Reference Output:</p>
<pre><code>vpp# show map stats
MAP domains structure: 64
MAP domains: 1 (64 bytes)
MAP rules: 0 (0 bytes)
Total: 64 bytes)
MAP pre-resolve: IP6 next-hop: un-set, IP4 next-hop: un-set
MAP traffic-class: copy
MAP IPv6 inbound security check: enabled, fragmented packet security check: disabled
ICMP-relay IPv4 source address: A.B.C.D
ICMP6 unreachables sent for unmatched packets: enabled
Inner fragmentation: disabled
Fragment packets regardless of DF flag: disabled
Encapsulated packets: 4035 bytes: 180880
Decapsulated packets: 0 bytes: 0
ICMP relayed packets: 0
</code></pre>
<h2><a class="anchor-offset" name="relevant-tnsr-map-config"></a>Relevant TNSR MAP config</h2>
<pre><code>nat nat64 map parameters
    icmp source-address A.B.C.D
    icmp6 unreachable-msgs enable
    security-check enable
exit
nat nat64 map br
    ipv4 prefix A.B.C.128/25
    ipv6 prefix 2001:db8:ce1::/48
    ipv6 source 2001:db8:64::/64
    embedded-address bit-length 10
    port-set offset 3
    port-set length 3
    mtu 1500
exit

interface br
    enable
    ip address 172.31.252.29/31
    ipv6 address 2001:db8:64::1/64
    ipv6 router-advertisements
        send-advertisements false
        max-rtr-adv-interval 600
        managed-flag false
        other-config-flag false
    exit
    map enable
    map translate
exit

</code></pre>
]]></description><link>https://forum.netgate.com/topic/197020/map-t-br-not-translating-traffic-seeing-unexpected-ndp-traffic-for-map-t-br-implementation</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 15:19:56 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/197020.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Apr 2025 04:10:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MAP-T BR Not Translating Traffic - Seeing unexpected NDP traffic for MAP-T BR implementation on Thu, 28 May 2026 22:15:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gigabitguru">@<bdi>gigabitguru</bdi></a> did you make it work?</p>
<p dir="auto">there is a bug on TNSR that prevents to learn neighbor mac while you have map enabled on the interface. The workaround is to configure static neighbor entry.</p>
]]></description><link>https://forum.netgate.com/post/1243302</link><guid isPermaLink="true">https://forum.netgate.com/post/1243302</guid><dc:creator><![CDATA[fractal_boy]]></dc:creator><pubDate>Thu, 28 May 2026 22:15:42 GMT</pubDate></item><item><title><![CDATA[Reply to MAP-T BR Not Translating Traffic - Seeing unexpected NDP traffic for MAP-T BR implementation on Fri, 04 Apr 2025 22:07:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gigabitguru">@<bdi>gigabitguru</bdi></a> Pro tip - if you have an active <code>tnsr</code> software sub you should open a ticket. You can see, from the parent category, that there's not a lot of <code>tnsr</code> activity over here.</p>
<p dir="auto">I am not someone that can help you out -- but simply directing you to TAC if you need/want more responsive suggestions.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://forum.netgate.com/post/1211343</link><guid isPermaLink="true">https://forum.netgate.com/post/1211343</guid><dc:creator><![CDATA[rcoleman612]]></dc:creator><pubDate>Fri, 04 Apr 2025 22:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to MAP-T BR Not Translating Traffic - Seeing unexpected NDP traffic for MAP-T BR implementation on Fri, 04 Apr 2025 16:13:00 GMT]]></title><description><![CDATA[<p dir="auto">Bueller? Bueller? Anyone?</p>
<p dir="auto"><img src="/assets/uploads/files/1743783176038-7c37829f-ef59-448c-ba3d-e1ffaa24d6f2-image.png" alt="7c37829f-ef59-448c-ba3d-e1ffaa24d6f2-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1211310</link><guid isPermaLink="true">https://forum.netgate.com/post/1211310</guid><dc:creator><![CDATA[gigabitguru]]></dc:creator><pubDate>Fri, 04 Apr 2025 16:13:00 GMT</pubDate></item></channel></rss>