Include WAN interface by default, instead of putting both ports in the LAN 
bridge.

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 27763)
+++ target/linux/x86/alix2/base-files/etc/config/network        (working copy)
@@ -6,9 +6,15 @@
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0
 
+# N.B. the labels on the Netgate boxes actually reverse the LAN and WAN
+# port markings.
 config interface lan
-       option ifname   "eth0 eth1"
+       option ifname   eth1
        option type     bridge
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0
+
+config interface wan
+       option ifname   eth0
+       option proto    dhcp
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to