From owner-freebsd-net@freebsd.org Sun Sep 30 13:35:06 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 2C44A10BFD92 for ; Sun, 30 Sep 2018 13:35:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C2A682DD2; Sun, 30 Sep 2018 13:35:05 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id r8-v6so9691649ljc.10; Sun, 30 Sep 2018 06:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d4eBO6h2AjePnWB4eT/K0NHirc8L9ptDErKPEzYsmpk=; b=F+xCMu+4LiFA8rjHkwJ+lFa2+Gm3cYdzbp3MSJG5ui/5r4+kn1p8tfwDuGhy8aC4NH bqhvAQ40omGUI9TAmTBChRZZpWdN3VfJqZM7zjC9HpRqXE8NkHhAjL01LyghobAPDM/n SWXf4aodp0DxyPOMRfHdvgmuVjlieqmOjK8MPcKn/7VonGiwKFz4EjFIZABVDGmXVpkz EowANOksTAhf92k4wNi1RBerxdpv/vmXtsYpFjkT+AM7v2MXFIFraUXgj/zBCJpanRl2 v4j6wtF4fXN2qNf2Cz+LSIFXobOjIk9EIuw4+hhAvE7evwm6VmntCfYZPKyVJPxXZ2KU pZfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d4eBO6h2AjePnWB4eT/K0NHirc8L9ptDErKPEzYsmpk=; b=S3tVLDQKoWXYfF61q5q1L+XU5z3jQ51OsqtIoiTvFJwp9iwE50zVN5wuXG5b0XLbV3 ks+DZ1tRN6iTAIDBDqPk2Ap1RJFz9vvrUfakbeIsdffPZuBH9VWRjhEvCVlN5Wqr2XXR 8NVW5GB2hyb8pdgoGrDZDT4zhaBBKc/xtP52Oe8IOVa4op/S4W4I/oiLnNARxKMg+iRQ 2cuHOAEPVOZLlsw0iO2SEbEbZLMrr0w0+kMTnrWx75WVhrsw+tYJElHJUCfZ1rvj9f4y OCNSzYDWZhPskFqddG0jF1uHRnvPJ0/HuebsZ5/TFnMhEnv/javCb68lB8ybxyhOQzaY Elfw== X-Gm-Message-State: ABuFfoiQpxuqZXChvrBDu6lpqzGjRjMqmxEO6K3jhug70toQpERUtlrv pxSMmiT8ObdYHwRMGn2FejDB6ZRH1yw+LMjE4U8= X-Google-Smtp-Source: ACcGV60wyitGP9+U1YnRvPIw42skX0UZ9+SyFwntlfLklzaamTq5WXOQAWhy/KCcf7Sc+S6Hup6+LiQeS2XkFbJ6I+Q= X-Received: by 2002:a2e:2b08:: with SMTP id q8-v6mr3907203lje.128.1538314503711; Sun, 30 Sep 2018 06:35:03 -0700 (PDT) MIME-Version: 1.0 References: <20180930022007.GA2041@admin.sibptus.ru> <20180930052402.GA2335@admin.sibptus.ru> In-Reply-To: <20180930052402.GA2335@admin.sibptus.ru> From: alan somers Date: Sun, 30 Sep 2018 06:34:51 -0700 Message-ID: Subject: Re: why rtsold ? To: Victor Sudakov Cc: Alan Somers , FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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:35:06 -0000 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.