Date: Sun, 30 Sep 2018 16:42:52 +0300 From: Yuri Pankov <yuripv@yuripv.net> To: alan somers <asomers@gmail.com>, Victor Sudakov <vas@mpeks.tomsk.su> Cc: FreeBSD Net <freebsd-net@freebsd.org>, Alan Somers <asomers@freebsd.org> Subject: Re: why rtsold ? Message-ID: <945d1de4-a34a-6801-d569-24566037f80c@yuripv.net> In-Reply-To: <CAOtMX2jTaWTyyk=FDZkj=Q=XNDDOVr4oG4_=U3g%2BmFUNmKLkFQ@mail.gmail.com> References: <20180930022007.GA2041@admin.sibptus.ru> <CAOtMX2gDVSmEacBacumPjthNU-RxoxLanjp%2BEhPb=nefX2m5cg@mail.gmail.com> <20180930052402.GA2335@admin.sibptus.ru> <CAOtMX2jTaWTyyk=FDZkj=Q=XNDDOVr4oG4_=U3g%2BmFUNmKLkFQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
alan somers wrote: > On Sat, Sep 29, 2018, 11:24 PM Victor Sudakov <vas@mpeks.tomsk.su> wrote: > >> 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 >>>> >>>> fconfig_re0="" >>>> ifconfig_re0_ipv6="inet6 accept_rtadv" >>>> >>>> What would be the point of enabling rtsold then? >>> >>> The router may send a router advertisement whenever it wants. That's why >>> your machine seems to work even without rtsold. However, SLAAC addresses >>> expire after a certain amount of time. rtsold will ask the router for a >>> new advertisement before your address expires. You aren't guaranteed to >>> have problems if you don't run rtsold, but you aren't guaranteed not to >>> have problems if you don't. Best to let it run. >> >> I see the point but who on earth sent the initial router solicitation >> on boot if I never enabled rtsold? >> >> I have not found rtsold in /etc/rc.d/netif or similar startup script. >> >> -- >> Victor Sudakov, VAS4-RIPE, VAS47-RIPN >> 2:5005/49@fidonet http://vas.tomsk.ru/ > > > The rtsol command will send a single router solicitation. It's probably > getting invoked on startup. Or, you might've just gotten lucky and heard an > unsolicited router advertisement. Indeed, it's called from /etc/network.subr if rtsold is NOT enabled.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?945d1de4-a34a-6801-d569-24566037f80c>