Jump to content

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!

OpenWRT routers: Difference between revisions

What 'option ipv6 auto' actually means
(The problems with 'option ipv6 auto')
(What 'option ipv6 auto' actually means)
= Configuring the WAN interface to access AAISP =
 
In order to access AAISP, the router needs to talk PPPoE over the WAN interface. IPCP will configure IPv4, and then IP6CP will start to configure IPv6. The heavy lifting of IPv6 configuration will be normally be done by DHCPv6.
 
In the vlan configuration the value of '''vid''' will depend on your connection method. Use '''911''' if you are connected using City Fiber, '''101''' for VDSL connections. For Openreach FTTP the vlan is not needed. If you are on the ADSL then and ADSL modem is required and this is usually not supported on OpenWRT devices. See the [[General_Router_Settings|General Router Settings]] page for details.
option password 'ItIsASecret'
option ipv6 'auto'
list ip6class 'wan6'
config interface 'wan6'
option device @wan
option proto 'dhcpv6'
option sourcefilter '0'
option reqaddress 'try'
option reqprefix 'auto'
 
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. In order to use the delegated prefix, the LAN should be configured to expect it, e.g.:
 
config interface 'wan6lan'
option device @wan'br-lan'
option proto 'dhcpv6static'
option sourcefilterdefaultroute '01'
list ipaddr '81.187.xx.yy/29'
list ip6class 'wan6wan_6'
option reqprefixip6ifaceid 'autoeui64'
option reqaddressip6assign 'try64'
 
== Multiple routed IPv6 /64 blocks ==
editor
471

edits