---

MapMin ready for limited experimentation

This week I spent a fair bit of time getting the mapmin NAT46 code into shape. Well, there is still a ton to do, but it is now more usable, and I like the new structure - the separation of "module stuff", "network device stuff" and "hardcore nat46 stuff" makes it hopefully easier to understand.

Also I make the openwrt-map feed play nicely with the mapmin feed: if you install both, then the mdpc will happily configure mapmin.

On this page I put the links to the video about the test setup as well as the configuration files I use, and the software image for the TL-WDR4300, so you could recreate the setup in your lab.

Reminder: to play with this you need to compile a code with both mapmin and openwrt-map feeds installed - for your convenience I am including one that already has it, below.

This code has received a very limited amount of testing, so chances are that things would not work. For troubleshooting, I'd need the captures from all the three (LAN, WAN, and translation) interfaces at the same time, as well as the dmesg outputs with the debugs on. (The example below assumes you have pppoe config, obviously the interface names in other setups will change).

  1. tcpdump -ln -i br-lan -s 1518 -w /tmp/br-lan.cap
  2. tcpdump -ln -i pppoe-wan -s 1518 -w /tmp/pppoe-wan.cap
  3. tcpdump -ln -i mapmint -s 1518 -w /tmp/mapmint.cap
After starting all the three commands above and reproducing the problem, capture the /tmp/*.cap files, also "iptables -t nat -L -v" output, and send them over to me alongside with the contents of /tmp/map.log file.

Files in 2014-04-17-MapMin-ready-for-limited-experimentation:


../
HEADER.txt                                         01-Jul-2024 21:41                1808
agg-rtr-config.txt                                 01-Jul-2024 21:41                2643
dhcpd6.conf.txt                                    01-Jul-2024 21:41                 585
map-br-config.txt                                  01-Jul-2024 21:41                2052
openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sy..> 01-Jul-2024 21:41             3604484
openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-s..> 01-Jul-2024 21:41             3604484
openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-..> 01-Jul-2024 21:41             3604484
openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sy..> 01-Jul-2024 21:41             3604484
openwrt-config                                     01-Jul-2024 21:41              178855
openwrt-dot-config.txt                             01-Jul-2024 21:41              178855
topology.html                                      01-Jul-2024 21:41                 799

(c) Andrew Yourtchenko