editor
501
edits
This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!
(Using Luci on DSA) Tags: Mobile edit Mobile web edit |
(Reorder sections) Tags: Mobile edit Mobile web edit |
||
Do not have an interface named ''wan6'', the IPv6 configuration will be handled automatically.
The ''option ipv6 auto'' line will cause a virtual interface named ''wan_6'' to be created, and an instance of the DHCPv6 client to be run on it. This will request an IPv6 Internet address, and a single Prefix to be Delegated. You can't get the DHCPv6 client started this way to accept more options.
= Enabling IPv6 in the local network =▼
OpenWrt fully supports IPv6, as well as IPv4 and dual stacks to enable the mix of both protocols.▼
The easiest approach is to use prefix delegation from the WAN to provide the network address. This is achieved by configuration of the ''wan'' interface to obtain the IPv6 address automatically, and to delegate IPv6 addresses downstream. This is achieved through a virtual wan_6 interface.▼
Then on the ''lan'' interface Advanced settings configure the IPv6 prefix filter to ''wan_6'' and set the IPv6 assignment length to 64. There is a choice of the suffix to append to the prefix - popular choices would be ''::1'' (to use that fixed value), or ''eui64'' (to use an address based on the MAC address).▼
There is the possibility of running a NAT64 server on OpenWrt, so the local network can use only IPv6 but hosts on it can still reach IPv4 hosts on the Internet.▼
For prefix delegation to the lan interface, "/etc/config/network" should look like:
config interface 'lan'
option device 'br-lan'
option proto 'static'
option defaultroute '1'
list ipaddr '
list ip6class 'wan_6'
option ip6ifaceid 'eui64'
option ip6assign '64'
The ''list ip6class wan_6'' line causes the lan to use the delegated prefix from wan_6. ''option ip6ifaceid
== Multiple routed IPv6 /64 blocks ==
...
▲= Enabling IPv6 in the local network =
▲OpenWrt fully supports IPv6, as well as IPv4 and dual stacks to enable the mix of both protocols.
▲The easiest approach is to use prefix delegation from the WAN to provide the network address. This is achieved by configuration of the ''wan'' interface to obtain the IPv6 address automatically, and to delegate IPv6 addresses downstream.
▲Then on the ''lan'' interface configure the IPv6 prefix filter to ''wan_6'' and set the IPv6 assignment length to 64. There is a choice of the suffix to append to the prefix - popular choices would be ''::1'' (to use that fixed value), or ''eui64'' (to use an address based on the MAC address).
▲There is the possibility of running a NAT64 server on OpenWrt, so the local network can use only IPv6 but hosts on it can still reach IPv4 hosts on the Internet.
= Advanced configuration of the local network =
|