dhcpcd-discuss

Router using non-/64 prefix delegation (ia_pd) needs a normal address (ia_na) to route packets.

Robert White

Sat Jun 21 23:50:41 2014

Howdy,

So the expanded prefix delegation works great for port assignment, but then no routing can take place (at least on comcast's networks) because there is no globally routable address for the router.

(and using extX for external and intX for internal interfaces and ZZ for numbers that don't matter).

This will allocate int1 and int2 some nice addresses, and requests a la ping6 will go out ext2 (which is getting a nice default route via router advertisement)... but no packets are ever returned.

interface ext0
ia_pd ZZ/::/60 int1/ZZ/64 int2/ZZ/64

restarting dhcpcd with the following to get a globally routable address for ext0

interface ext0
ia_na

And then restarting again with the original ia_pd config is curative.

Both the router itself _and_ the clients on the allocated /64(s) are affected identically.

NOTE: I figured this out because other web pages referring to other configurations (e.g. the one for wide-dhcp and one for some cisco client or other) showed examples containing _both_ ia_na and ia_pd stanzas for the public interface.

Being able to request any combination of ia_XX entries, or at least ia_na and ia_pd seem necessary.

-- Rob.

Follow-Ups:
Re: Router using non-/64 prefix delegation (ia_pd) needs a normal address (ia_na) to route packets.Roy Marples
Archive administrator: postmaster@marples.name