From owner-freebsd-net@freebsd.org Sun Sep 30 13:42:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A47110C0246 for ; Sun, 30 Sep 2018 13:42:57 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E99EA83349; Sun, 30 Sep 2018 13:42:56 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8CD902147B; Sun, 30 Sep 2018 09:42:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 30 Sep 2018 09:42:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=tTlMnhNPZd9CePUlJfr1891djl39w OsyyFu/ZIkAqdU=; b=Nq60tNu5F2pJQbHHgAZepHydLHVVqA8vmZy+e1nq5Sfp+ I74+WraESPR9vTxa44Rs1s17fPxenfGIcywH60tqk2E7D2e8MQ7wDCU70C0nNjxK Mp2LZ8PkKcWb+yFdt/ufs+LCTScf4Thiv7wNyOX/A4aAx4gLhO+FVE2fcBd4axJh jGDFOK5r+6oaGCTdzc02lkaltMXANr/GnMoQj7Q2FF+lg0E0/lYY+b4+Xa6nBZcE 5FPSINvtvY1XIYgfQQWWzPgTz/P965adJeMpC0fvuEzic//8mHCeXVwbrx7KuAFN dwqY9mpcT/SQ50YJPSWd0mT2oPXweipF/yqxnT1LQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=tTlMnh NPZd9CePUlJfr1891djl39wOsyyFu/ZIkAqdU=; b=MncOuY3x7vILHoVHZB2glO HK6L+p2wR9vpjLwSr9E2qdf0R7Qm9ZCBNxbqnFxxoarkDLU0JFytZ5Z9h9YCWMR+ 55flC5ZdUk5znWBfopiWanfTXnFQyfQB/7AZxnJXhcVpwXaAGHPiHgMPL2mEpB1a 5ozOJHuj/H+6jDAig3AlgOP8jaHeD74j8WH1j4K8aZ5N6d9kQ9gtjm97/EYo+5cQ QGfuPn43O3UE2N7Us9vZx8Bu9bchACOjoHEPunOSP1XSfGe4uQesgFwqNXn4kRqY aCUR3KdMvNkc7VmIc1QeeRU8cHG714GlR44v8kyQkcJb070jzCoDGIoYlxrHgQrA == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.2] (unknown [85.175.16.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A238102D2; Sun, 30 Sep 2018 09:42:53 -0400 (EDT) Subject: Re: why rtsold ? To: alan somers , Victor Sudakov Cc: FreeBSD Net , Alan Somers References: <20180930022007.GA2041@admin.sibptus.ru> <20180930052402.GA2335@admin.sibptus.ru> From: Yuri Pankov Message-ID: <945d1de4-a34a-6801-d569-24566037f80c@yuripv.net> Date: Sun, 30 Sep 2018 16:42:52 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 13:42:57 -0000 alan somers wrote: > On Sat, Sep 29, 2018, 11:24 PM Victor Sudakov 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.