diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-26 16:37:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-26 16:37:48 +0000 |
commit | 3b7bbd29a3baee0bbdfab4e3d062c29fcb100247 (patch) | |
tree | e70ca23e84227c0109d39ae72a81ba60ae35c17f /target/linux/x86/alix2/base-files/etc/config | |
parent | 27c52f8b2fe4d2eb3d8fc8b63ffc5b80655ad0f4 (diff) | |
download | master-187ad058-3b7bbd29a3baee0bbdfab4e3d062c29fcb100247.tar.gz master-187ad058-3b7bbd29a3baee0bbdfab4e3d062c29fcb100247.tar.bz2 master-187ad058-3b7bbd29a3baee0bbdfab4e3d062c29fcb100247.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27787 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/alix2/base-files/etc/config')
-rw-r--r-- | target/linux/x86/alix2/base-files/etc/config/network | 8 |
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 0a97764533..b46423fe15 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 |