MAP latest code 29th of May

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 mapt       
                                   

If 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:/# reboot

In the future, when ASR1000 code catches up with the new interface ID algorithm, this will not be needed anymore.

Index of /blog/2014-05-29-MAP-latest-code-29th-of-May/

NameLast ModifiedSizeType
Parent Directory/ -  Directory
openwrt-ar71xx-generic-mw4530r-v1-squashfs-sysupgrade.bin2014-May-29 16:49:013.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin2014-May-29 16:49:053.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wdr3500-v1-squashfs-sysupgrade.bin2014-May-29 16:49:093.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade.bin2014-May-29 16:49:133.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wdr4300-v1-il-squashfs-sysupgrade.bin2014-May-29 16:49:173.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin2014-May-29 16:49:213.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wdr4310-v1-squashfs-sysupgrade.bin2014-May-29 16:49:253.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin2014-May-29 16:49:293.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wr1043nd-v2-squashfs-sysupgrade.bin2014-May-29 16:49:323.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin2014-May-29 16:49:363.4Mapplication/octet-stream
lighttpd/1.4.33