-
-
Save singalen/92899e26d2e35897714c to your computer and use it in GitHub Desktop.
dd-wrt: change LAN port to WAN only works for Wi-fi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ath0 Link encap:Ethernet HWaddr 54:E6:FC:D9:AC:10 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:623 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:332 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:32 | |
RX bytes:69049 (67.4 KiB) TX bytes:52473 (51.2 KiB) | |
br0 Link encap:Ethernet HWaddr 54:E6:FC:D9:AC:0F | |
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:625 errors:0 dropped:73 overruns:0 frame:0 | |
TX packets:61 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:60339 (58.9 KiB) TX bytes:6139 (5.9 KiB) | |
br0:0 Link encap:Ethernet HWaddr 54:E6:FC:D9:AC:0F | |
inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
eth0 Link encap:Ethernet HWaddr 54:E6:FC:D9:AC:0F | |
UP BROADCAST MULTICAST MTU:1500 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:1000 | |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | |
Interrupt:4 | |
eth1 Link encap:Ethernet HWaddr 54:E6:FC:D9:AC:10 | |
inet addr:37.229.14.234 Bcast:37.229.31.255 Mask:255.255.224.0 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:267 errors:0 dropped:6 overruns:0 frame:0 | |
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:41070 (40.1 KiB) TX bytes:3096 (3.0 KiB) | |
Interrupt:5 | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1 | |
RX packets:447 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:447 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:43850 (42.8 KiB) TX bytes:43850 (42.8 KiB) | |
mon.ath0 Link encap:UNSPEC HWaddr 54-E6-FC-D9-AC-10-00-00-00-00-00-00-00-00-00-00 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:603 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:32 | |
RX bytes:100944 (98.5 KiB) TX bytes:0 (0.0 B) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37.229.31.254 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vlan0ports=2 3 5* | |
port5vlans=0 1 16 | |
port3vlans=0 | |
port1vlans=1 | |
wl0_vlan_prio_mode=off | |
vlan1hwname=et0 | |
vlan1ports=0 1 4 5 | |
port4vlans=1 | |
vlans=0 | |
vlan_tagcount=0 | |
port2vlans=0 | |
size: 20061 bytes (45475 left) | |
port0vlans=1 | |
dtag_vlan8=0 | |
vlan_tags= | |
vlan0hwname=et0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
default 37.229.31.254 0.0.0.0 UG 0 0 0 eth1 | |
37.229.0.0 * 255.255.224.0 U 0 0 0 eth1 | |
127.0.0.0 * 255.0.0.0 U 0 0 0 lo | |
169.254.0.0 * 255.255.0.0 U 0 0 0 br0 | |
192.168.1.0 * 255.255.255.0 U 0 0 0 br0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment