The Netgate and PC Engines cases all label eth0 as the LAN port and eth1 as the 
WAN port.

Signed-off-by: Philip Prindeville <[email protected]>
Index: target/linux/x86/alix2/base-files/etc/config/network
===================================================================
--- target/linux/x86/alix2/base-files/etc/config/network        (revision 27698)
+++ target/linux/x86/alix2/base-files/etc/config/network        (working copy)
@@ -7,8 +7,13 @@
        option netmask  255.0.0.0
 
 config interface lan
-       option ifname   "eth0 eth1"
+       option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0
+
+config interface wan
+       option ifname   eth1
+       option proto    dhcp
+
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to