tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dhcpcd behaviour



On Wed, Oct 27, 2021 at 03:18:01PM +0100, Robert Swindells wrote:
> I'm telling it via the command line supplied from /etc/rc.conf
> with dhcpcd_flags="-6 --nodhcp6 wm0", where wm0 is the LAN interface.

I have a very similar setup on many diskless clients (where the kernel
gets the IPv4 address for booting already and dhcpcd is only used to
setup IPv6 routing later). I use:

ip6mode=autohost
dhcpcd=YES dhcpcd_flags="-6"
nfs_client=YES


and this seems to work (and not overwrite /etc/resolv.conf). I have no
DHCPv6 server on the network, so no need to disable that explicitly for
the client.

Martin


Home | Main Index | Thread Index | Old Index