aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/base-files/etc/config
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-12 20:25:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-12 20:25:30 +0000
commitd2b08fb4ab21cc6a635cd76ac14066708f2d5cb0 (patch)
treea20ac4348c40f2a02b5afeccd50c2524becdae53 /target/linux/x86/base-files/etc/config
parent4c490c79b2e8f43e01d9be35a71469ad5aca3d35 (diff)
downloadupstream-d2b08fb4ab21cc6a635cd76ac14066708f2d5cb0.tar.gz
upstream-d2b08fb4ab21cc6a635cd76ac14066708f2d5cb0.tar.bz2
upstream-d2b08fb4ab21cc6a635cd76ac14066708f2d5cb0.zip
x86: remove old soekris config hacks, install a more appropriate default /etc/config/network with lan+wan
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42888
Diffstat (limited to 'target/linux/x86/base-files/etc/config')
-rw-r--r--target/linux/x86/base-files/etc/config/network26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/x86/base-files/etc/config/network b/target/linux/x86/base-files/etc/config/network
new file mode 100644
index 0000000000..c9953a0249
--- /dev/null
+++ b/target/linux/x86/base-files/etc/config/network
@@ -0,0 +1,26 @@
+# Copyright (C) 2006 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname eth0
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+ option ip6assign 60
+
+config interface wan
+ option ifname eth1
+ option proto dhcp
+
+config interface wan6
+ option ifname eth1
+ option proto dhcpv6
+
+config globals globals
+ option ula_prefix auto