Possible issue handling multiple DHCPv6 clients with prefix delegations on one interface

Unfortunately my ISP's modem only hands out /64 prefixes (up to 8 of them) using DHCPv6. It also sets up its routing table in response to those requests.

In any case, the macvlan workaround seems to have done the trick. Thanks @vgaetera!

For anyone following along, I resolved my issue in the following manner:

  1. Install kmod-macvlan

  2. Add three "config device" entries to /etc/config/network as described in the link above, each like this:

config device 'vwan1'
        option name 'vwan1'
        option type 'macvlan'
        option ifname 'eth1'
  1. Add three DHCPv6 clients, each like this:
config interface 'fiberpd1'
        option proto 'dhcpv6'
        option peerdns '0'
        option clientid 'aaa1'
        option defaultroute '0'
        option reqprefix '64'
        option ifname 'vwan1'
        option reqaddress 'none'
  1. Reboot

Et voila.

3 Likes