diff options
author | Steven Barth <steven@midlink.org> | 2013-04-09 08:03:08 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-04-09 08:03:08 +0000 |
commit | 4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce (patch) | |
tree | a166641971bf319b21ee3b34daec10094b49e94d /target/linux/x86 | |
parent | d60417f6ef256793248e9bcf485da7d2c46cefdc (diff) | |
download | master-187ad058-4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce.tar.gz master-187ad058-4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce.tar.bz2 master-187ad058-4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce.zip |
Adapt default network configuration for IPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86')
6 files changed, 46 insertions, 0 deletions
diff --git a/target/linux/x86/alix2/base-files/etc/config/network b/target/linux/x86/alix2/base-files/etc/config/network index b46423fe15..9d70100add 100644 --- a/target/linux/x86/alix2/base-files/etc/config/network +++ b/target/linux/x86/alix2/base-files/etc/config/network @@ -14,7 +14,15 @@ config interface lan option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 + option ip6assign 64 config interface wan option ifname eth0 option proto dhcp + +config interface wan6 + option ifname @wan + option proto dhcpv6 + +config globals globals + option ula_prefix auto diff --git a/target/linux/x86/base-files/etc/defconfig/net4801/network b/target/linux/x86/base-files/etc/defconfig/net4801/network index ff7b42d875..4cbae10900 100644 --- a/target/linux/x86/base-files/etc/defconfig/net4801/network +++ b/target/linux/x86/base-files/etc/defconfig/net4801/network @@ -10,7 +10,15 @@ config interface lan option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 + option ip6assign 64 config interface wan option ifname eth0 option proto dhcp + +config interface wan6 + option ifname @wan + option proto dhcpv6 + +config globals globals + option ula_prefix auto diff --git a/target/linux/x86/geos/base-files/etc/config/network b/target/linux/x86/geos/base-files/etc/config/network index f49838318b..c9c12e3ce9 100644 --- a/target/linux/x86/geos/base-files/etc/config/network +++ b/target/linux/x86/geos/base-files/etc/config/network @@ -12,6 +12,7 @@ config interface lan option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 + option ip6assign 64 config atm-bridge option unit 0 @@ -28,6 +29,14 @@ config interface wan # clone your eth0 address here # option macaddr '00:0A:FA:22:00:80' +config interface wan6 + option ifname @wan + option proto dhcpv6 + +config globals globals + option ula_prefix auto + + # 2nd interface on Geos2 #config interface wan # option proto pppoa diff --git a/target/linux/x86/net5501/base-files/etc/config/network b/target/linux/x86/net5501/base-files/etc/config/network index c0b6230d58..37b73d1e59 100644 --- a/target/linux/x86/net5501/base-files/etc/config/network +++ b/target/linux/x86/net5501/base-files/etc/config/network @@ -12,7 +12,15 @@ config interface lan option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 + option ip6assign 64 config interface wan option ifname eth0 option proto dhcp + +config interface wan6 + option ifname @wan + option proto dhcpv6 + +config globals globals + option ula_prefix auto diff --git a/target/linux/x86/olpc/base-files/etc/config/network b/target/linux/x86/olpc/base-files/etc/config/network index faa8f0e782..dc0bee1ee7 100644 --- a/target/linux/x86/olpc/base-files/etc/config/network +++ b/target/linux/x86/olpc/base-files/etc/config/network @@ -9,3 +9,8 @@ config interface loopback config interface wlan option ifname eth0 option proto dhcp + +config interface wlan6 + option ifname @wlan + option proto dhcpv6 + option reqprefix no diff --git a/target/linux/x86/rdc/base-files/etc/config/network b/target/linux/x86/rdc/base-files/etc/config/network index 44c57940e2..2632d88e3f 100644 --- a/target/linux/x86/rdc/base-files/etc/config/network +++ b/target/linux/x86/rdc/base-files/etc/config/network @@ -12,7 +12,15 @@ config interface lan option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 + option ip6assign 64 config interface wan option ifname eth0 option proto dhcp + +config interface wan6 + option ifname @wan + option proto dhcpv6 + +config globals globals + option ula_prefix auto |