diff options
author | James <> | 2015-09-26 12:29:31 +0100 |
---|---|---|
committer | James <> | 2015-09-26 12:29:31 +0100 |
commit | 626d9efa74685720020e816f3a917b7591d3cf7a (patch) | |
tree | d22eef73ae82287b30a1140decb4fc806d39d621 /target/linux/adm5120/base-files/etc/config/network | |
download | trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.tar.gz trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.tar.bz2 trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.zip |
trunk-47048
Diffstat (limited to 'target/linux/adm5120/base-files/etc/config/network')
-rw-r--r-- | target/linux/adm5120/base-files/etc/config/network | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/adm5120/base-files/etc/config/network b/target/linux/adm5120/base-files/etc/config/network new file mode 100644 index 0000000..87782f4 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/config/network @@ -0,0 +1,39 @@ +#### VLAN configuration +config switch + option eth0 "0 1 2 3" + option eth1 "4" + + +#### Loopback configuration +config interface loopback + option ifname "lo" + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + + +#### LAN configuration +config interface lan + option type bridge + option ifname "eth0" + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + option ip6assign 60 + + +#### WAN configuration +config interface wan + option ifname "eth1" + option proto dhcp + + +#### WAN6 configuration +config interface wan6 + option ifname "eth1" + option proto dhcpv6 + + +#### Network global configuration +config globals globals + option ula_prefix auto |