This is the latest build: with MAP being deeply integrated into OpenWRT code, being the "first class citizen" and not requiring much configuration tweaks compared to previous iterations.
Use The latest IETF draft format for provisioning.
This version uses the new way of configuring the MAP, integrated with OpenWRT infrastructure, you simply need to add one line to /etc/config/network: option iface_map mapt, see the part of it below, example for PPPoE:
config interface 'wan' option ifname 'eth0.2' option _orig_ifname 'eth0.2' option _orig_bridge 'false' option proto 'pppoe' option username 'user' option password 'pass' option ipv6 '1' option keepalive '2 30' config interface 'wan6' option ifname '@wan' option proto 'dhcpv6' option iface_map maptIf you have old configuration still remaining, it might be a good idea to wipe the OpenWRT CPE to the defaults by issuing "firstboot" command followed by reload - and then reconigure.
Note, that the firewall changes are NOT needed: the necessary pinholes are opened on the fly.
If you are using ASR1000/CSR1000V, then doublecheck that the LEGACY mode is activated, by default it is commented out:
root@OpenWrt:/# grep LEGACY= /lib/netifd/proto/map.sh #export LEGACY=1 root@OpenWrt:/#To enable the legacy mode issue the following commands, followed by reboot:
root@OpenWrt:/# grep LEGACY= /lib/netifd/proto/map.sh #export LEGACY=1 root@OpenWrt:/# sed -i -e 's/#export LEGACY=1/export LEGACY=1/' /lib/netifd/proto/map.sh root@OpenWrt:/# grep LEGACY= /lib/netifd/proto/map.sh export LEGACY=1 root@OpenWrt:/# rebootIn the future, when ASR1000 code catches up with the new interface ID algorithm, this will not be needed anymore.
../ HEADER.txt 01-Jul-2024 21:41 2175 openwrt-ar71xx-generic-mw4530r-v1-squashfs-sysu..> 01-Jul-2024 21:41 3604484 openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sy..> 01-Jul-2024 21:41 3604484 openwrt-ar71xx-generic-tl-wdr3500-v1-squashfs-s..> 01-Jul-2024 21:41 3604484 openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-s..> 01-Jul-2024 21:41 3604484 openwrt-ar71xx-generic-tl-wdr4300-v1-il-squashf..> 01-Jul-2024 21:41 3604484 openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-s..> 01-Jul-2024 21:41 3604484 openwrt-ar71xx-generic-tl-wdr4310-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-wr1043nd-v2-squashfs-..> 01-Jul-2024 21:41 3604484 openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sy..> 01-Jul-2024 21:41 3604484