Date: Mon, 8 Oct 2018 18:19:38 -0600 From: Alan Somers <asomers@freebsd.org> To: Victor Sudakov <vas@mpeks.tomsk.su> Cc: Kevin Oberman <rkoberman@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>, citrin+bsd@citrin.ru Subject: Re: why rtsold ? Message-ID: <CAOtMX2h48S8jrJ0KFzVe=N%2B8u3yAW_CbreanRdrjcK0KYY%2B_0w@mail.gmail.com> In-Reply-To: <20181009001644.GA86174@admin.sibptus.ru> References: <20180930022007.GA2041@admin.sibptus.ru> <cf43783f-80ac-11e0-0080-44ee9bb45606@citrin.ru> <20181008170044.GA80041@admin.sibptus.ru> <CAN6yY1vD7fOA1LPL2aq8yjkhSJh9q1n-g4n4_3t3jPUxG-X1aA@mail.gmail.com> <20181009001644.GA86174@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 8, 2018 at 6:17 PM Victor Sudakov <vas@mpeks.tomsk.su> wrote: > Kevin Oberman wrote: > > > > > When running FreeBSD as an IPv6 host im SLAAC mode, is > > > > > "rtsold_enable=YES" really necessary? I did not enable rtsold and > IPv6 > > > > > still works fine only with > > > > > > > > rtsold is needed to write DNS server address from RDNSS RA option to > > > > /etc/resolv.conf > > > > > > > > man rtsold > > > > /-R > > > > > > On my test IPv6-only host, /etc/resolv.conf was successfully created > > > without any explicit "rtsold_enable=YES". > > > > > > -- > > > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > > > 2:5005/49@fidonet http://vas.tomsk.ru/ > > > > > Remember that DHCPv6 can provide DNS server and other information even > when > > SLAAC is used for address configuration. If it is, it is possible to run > > SLAAC without rtsold, but it may not prove stable as it is not possible > to > > The case is that my IPv6 lab (actually a number of FreeBSD hosts in > bhyve) does not have a DHCPv6 server. Still, the /etc/resolv.conf on > IPv6-only hosts is successfully populated from the router. The latter > is running only rtadvd with the following config: > > > bridge0:rdnss="2001:470:20::2,2001:4860:4860::8888,2001:4860:4860::8844":dnssl=" > sibptus.ru": > > Magick? > Not at all. rtsol will populate /etc/resolv.conf just fine. But it only does it once. rtsold is needed in case router info changes, or your address times out. -Alan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2h48S8jrJ0KFzVe=N%2B8u3yAW_CbreanRdrjcK0KYY%2B_0w>