Hello,
I get a /56 Prefix Delegation from my ISP, the WAN6 interface receive it from the DHCPv6.
I only have 2ports, one to be used as WAN and one to be used as LAN (connected to a switch). I don't really care about the /56 prefix, I just want to use a single /64 subnet.
WAN6 can get the prefix from the ISP without problems.
config interface 'wan6'
option proto 'dhcpv6'
option reqprefix 'auto'
option device 'eth2'
option reqaddress 'try'
I don't know how to configure its DHCP server, I just forward everything:
config dhcp 'wan6'
option interface 'wan6'
option master '1'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
Then I create my LAN6 interface:
config interface 'LAN6'
option device 'eth1'
option proto 'static'
option ip6assign '64'
option ip6hint '00'
option ip6ifaceid 'eui64'
And I don't know how to configure the DHCPv6, I want the computer(s) connected to the LAN6 interface to receive an IPv6 IP address of the prefix **00/64.
config dhcp 'LAN6'
option interface 'LAN6'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
option leasetime '12h'
option start '100'
option limit '150'
option dynamicdhcp '0'
I feel like using relay for the LAN interface is wrong and I should create an actual DHCPv6 server to distribute IPv6 of the /64 prefix of the LAN6 interface (**00/64).
What's the right configuration to basically provide public IPv6 to my LAN computers?
Regards,