This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42848
13 files changed:
set network.$1.proto='dhcp'
delete network.wan6
set network.wan6='interface'
-set network.wan6.ifname='@wan'
+set network.wan6.ifname='$ifname'
set network.wan6.proto='dhcpv6'
EOF
;;
option netmask 255.255.255.0
option ip6assign 60
-config interface wan6
- option ifname @wan
- option proto dhcpv6
-
config globals globals
option ula_prefix auto
set network.wan.ifname='$ifname'
set network.wan.proto='dhcp'
set network.wan6='interface'
-set network.wan6.ifname='@wan'
+set network.wan6.ifname='$ifname'
set network.wan6.proto='dhcpv6'
EOF
}
#### WAN6 configuration
config interface wan6
- option ifname "@wan"
+ option ifname "eth1"
option proto dhcpv6
option proto dhcp
config interface wan6
- option ifname @wan
+ option ifname eth1
option proto dhcpv6
config globals globals
option ip6assign 60
config interface wan6
- option ifname @wan
+ option ifname eth0
option proto dhcpv6
config globals globals
option ip6assign 60
config interface wan6
- option ifname @wan
+ option ifname wan
option proto dhcpv6
config globals globals
option ip6assign 60
config interface wan6
- option ifname @wan
+ option ifname eth0
option proto dhcpv6
config globals globals
option proto dhcp
config interface wan6
- option ifname @wan
+ option ifname eth0
option proto dhcpv6
config globals globals
option proto dhcp
config interface wan6
- option ifname @wan
+ option ifname eth0
option proto dhcpv6
config globals globals
# option macaddr '00:0A:FA:22:00:80'
config interface wan6
- option ifname @wan
+ option ifname nas0
option proto dhcpv6
config globals globals
option proto dhcp
config interface wan6
- option ifname @wan
+ option ifname eth0
option proto dhcpv6
config globals globals
option proto dhcp
config interface wan6
- option ifname @wan
+ option ifname eth0
option proto dhcpv6
config globals globals