aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/base-files/etc/config/network
diff options
context:
space:
mode:
authorJames <>2015-11-04 11:49:21 +0000
committerJames <>2015-11-04 11:49:21 +0000
commit716ca530e1c4515d8683c9d5be3d56b301758b66 (patch)
tree700eb5bcc1a462a5f21dcec15ce7c97ecfefa772 /target/linux/ar7/base-files/etc/config/network
downloadtrunk-47381-master.tar.gz
trunk-47381-master.tar.bz2
trunk-47381-master.zip
trunk-47381HEADmaster
Diffstat (limited to 'target/linux/ar7/base-files/etc/config/network')
-rw-r--r--target/linux/ar7/base-files/etc/config/network50
1 files changed, 50 insertions, 0 deletions
diff --git a/target/linux/ar7/base-files/etc/config/network b/target/linux/ar7/base-files/etc/config/network
new file mode 100644
index 0000000..968d955
--- /dev/null
+++ b/target/linux/ar7/base-files/etc/config/network
@@ -0,0 +1,50 @@
+# 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 type bridge
+ option ifname "eth0 eth1 eth0.1 eth0.2"
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+ option nat 1
+ option ip6assign 60
+
+config interface wan6
+ option ifname @wan
+ option proto dhcpv6
+
+config globals globals
+ option ula_prefix auto
+
+## Example for ATM bridging.
+## Useful for PPPoE or IP over ATM. Will create 'nas${unit}'
+#
+# config atm-bridge
+# option unit 0
+# option encaps llc
+# option vpi 8
+# option vci 35
+# option payload bridged # some ISPs need this set to 'routed'
+
+
+# config interface wan
+## PPPoE:
+# option ifname nas0
+# option proto pppoe
+
+## PPPoA:
+# option ifname atm0
+# option proto pppoa
+# option encaps llc
+# option vpi 8
+# option vci 35
+
+## Both:
+# option username "my_username"
+# option password "my_password"