i’m trying to request a /56 prefix by setting prefix length to /56 under PD config but im only getting /64. The docsis modem/router model is Xfinity XB8 and the router’s internal menu shows the isp router itself is getting a /56 from the ISP.
I assume if the isp router can request /56 from the isp, then vyos should be able to as well??
Just because the router receives a /56 from upstream doesnt mean it will share that whole range as a single /56 downstream. It will most likely be smaller than that such as in block of /64 or so.
I think that’s correct. Individual LAN subnets will be /64 (derived from the /56 delegated prefix).
Here’s a snip of my config that successfully pulls a /56 prefix from Charter for the WAN (eth0) and gives a /64 to the LAN (eth1). Should work with Comcast Xfinity, too.
set interfaces ethernet eth0 address ‘dhcpv6’
set interfaces ethernet eth0 description ‘WAN’
set interfaces ethernet eth0 dhcpv6-options no-release
set interfaces ethernet eth0 dhcpv6-options pd 0 interface eth1 address ‘1’
set interfaces ethernet eth0 dhcpv6-options pd 0 interface eth1 sla-id ‘1’
set interfaces ethernet eth0 dhcpv6-options pd 0 length ‘56’
set interfaces ethernet eth0 dhcpv6-options rapid-commit
set interfaces ethernet eth0 ipv6 address autoconf
set interfaces ethernet eth1 description ‘LAN’
set interfaces ethernet eth1 ipv6 address autoconf