Support IPv6 relay mode
We should add support for IPv6-relay mode for cases when upstream router or ISP provides only IPv6 SLAAC.
Configuration is simple enough. In dhcp
configuration such as this is required following settings:
config dhcp 'lan'
....
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
option dhcpv6 'relay'
option ra 'relay'
option ndp 'relay'
option master '1'
In words the change is addition of ra/ndp/dhcpv6
setting to both lan
and wan
. It is important also to set master side and it is of course going to be wan
side.
With this setting I am able to get IPv6 address even if I disable request for prefix on wan
.