dhcpcd-discuss

Re: Planning to switch VyOS from ISC dhclient to dhcpcd

Roy Marples

Sun Jan 31 13:42:37 2016

On 2016-01-31 12:34, Nick Williams wrote:
IPv4 also always static IP assignment, ARP ing profiles and IPv4LL support - not just dhcp.
IPv6 also has RS/RA - not just dhcpv6.

Understood. So “noipv6,” for example, would disable DHCPv6, IPv6RS,
and IPv6 RA Autoconf. Given that, I think the below configuration
should effect the narrative following it. Can you confirm that I have
the right understanding now?

This:

allowinterfaces eth0 eth1
noipv4
noipv6
interface eth0
ipv4
interface eth1
ipv6
ia_na 1
ia_pd 2 eth2 eth3 eth4

Does this:
 - Enable dhcpcd to touch only eth0 and eth1 (except if delegating
prefixes with PD)
 - Disables IPv4 / DHCP / ARP / IPv4LL for all interfaces unless
explicitly enabled
 - Disables IPv6 / DHCPv6 / IPv6RS / IPv6 RA Autoconf for all
interfaces unless explicitly enabled
 - Starts a config for eth0
 - Re-enables only IPv4 / DHCP / ARP / IPv4LL for eth0
 - Starts a config for eth1
 - Re-enables only IPv6 / DHCPv6 / IPv6RS / IPv6 RA Autoconf for eth1
 - Tells dhcpcd to request a single normal IPv6 address for eth1
 - Tells dhcpcd to request an appropriately-large prefix on eth1,
split it up, and delegate /64 prefixes from it to eth2, eth3, and
eth4.

Yes.
Enabling ipv6 for eth1 should be superfluous as ia_na and ia_pd should re-enable it (not tested that though). Although there is an issue with the latter I think when you delegate >64 (see my earlier post) - 64 itself should be fine.

Roy

References:
Planning to switch VyOS from ISC dhclient to dhcpcdNicholas Williams
Re: Planning to switch VyOS from ISC dhclient to dhcpcdRoy Marples
Re: Planning to switch VyOS from ISC dhclient to dhcpcdNick Williams
Re: Planning to switch VyOS from ISC dhclient to dhcpcdRoy Marples
Re: Planning to switch VyOS from ISC dhclient to dhcpcdNick Williams
Re: Planning to switch VyOS from ISC dhclient to dhcpcdRoy Marples
Re: Planning to switch VyOS from ISC dhclient to dhcpcdNick Williams
Re: Planning to switch VyOS from ISC dhclient to dhcpcdRoy Marples
Re: Planning to switch VyOS from ISC dhclient to dhcpcdNick Williams
Archive administrator: postmaster@marples.name