Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2018 07:34:14 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Kevin Oberman <rkoberman@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>, citrin+bsd@citrin.ru
Subject:   Re: why rtsold ?
Message-ID:  <20181009003414.GA86342@admin.sibptus.ru>
In-Reply-To: <CAOtMX2h48S8jrJ0KFzVe=N%2B8u3yAW_CbreanRdrjcK0KYY%2B_0w@mail.gmail.com>
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> <CAOtMX2h48S8jrJ0KFzVe=N%2B8u3yAW_CbreanRdrjcK0KYY%2B_0w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alan Somers 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.

I see.

As I come to think about it, I even don't know how to enable a DHCPv6
client. In my test IPv6-only host, I keep only the following in
rc.conf.local:

ifconfig_vtnet0=""
ifconfig_vtnet0_ipv6="inet6 accept_rtadv"
ipv6_privacy="YES"

> But it only does it once.  rtsold is needed in case router info
> changes, or your address times out.  -Alan

Now I understand, thank you.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181009003414.GA86342>