I'd like to swap the address assignment between eth0 and eth1 on my TPLink 741ND router running Openwrt trunk r25032.
Current situation is :
root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 74:EA:3A:B8:ED:AF
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22403 errors:0 dropped:0 overruns:0 frame:0
TX packets:11241 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4329591 (4.1 MiB) TX bytes:606834 (592.6 KiB)
eth0 Link encap:Ethernet HWaddr 74:EA:3A:B8:ED:AF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22426 errors:0 dropped:0 overruns:0 frame:0
TX packets:11242 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4644739 (4.4 MiB) TX bytes:607877 (593.6 KiB)
Interrupt:5
eth1 Link encap:Ethernet HWaddr 74:EA:3A:B8:ED:AE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5871 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2366013 (2.2 MiB)
Interrupt:4
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)