summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-26 16:37:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-26 16:37:48 +0000
commit4da138d899ccd83869547b6454ce9297841caaa8 (patch)
treee31c60c00bd3b1328fdd9827d6fe30cca1b65fa4 /target
parent41db64f8e0c0cc023bea16de423ae511ed37c42a (diff)
downloadmtk-20170518-4da138d899ccd83869547b6454ce9297841caaa8.zip
mtk-20170518-4da138d899ccd83869547b6454ce9297841caaa8.tar.gz
mtk-20170518-4da138d899ccd83869547b6454ce9297841caaa8.tar.bz2
x86/alix2: include WAN interface by default
Include WAN interface by default, instead of putting both ports in the LAN bridge. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 27787
Diffstat (limited to 'target')
-rw-r--r--target/linux/x86/alix2/base-files/etc/config/network8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/x86/alix2/base-files/etc/config/network b/target/linux/x86/alix2/base-files/etc/config/network
index 0a97764..b46423f 100644
--- a/target/linux/x86/alix2/base-files/etc/config/network
+++ b/target/linux/x86/alix2/base-files/etc/config/network
@@ -6,9 +6,15 @@ config interface loopback
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