From owner-freebsd-net@freebsd.org Tue Oct 9 00:25:13 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 0EE0510ABAE2 for ; Tue, 9 Oct 2018 00:25:13 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 817B486DD8 for ; Tue, 9 Oct 2018 00:25:12 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f51.google.com with SMTP id g89-v6so15185459lfl.5 for ; Mon, 08 Oct 2018 17:25:12 -0700 (PDT) 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=SKB5eCYb//T9o60qo92bqZ96ON+yAkKgqWk1OUAKxN8=; b=U8ylN5bWEMXh/awIsWr87/dRtHLuqO0KN5//4cCOV812DiZt2mN4zgLQ9Jsvdps6CG hxlaDbk0GJ6ruvhPPjZOp/JkbVSFXULRg5+XyHL2gtSl+OVaVTimaOfz1yY1CubyADpW e0oWP7QUZMuU9tWZuOVlThfZofUlWTx0JaCb5Pi5+dHE3CPX8WstzpYbCOLVOQcA8L34 VZW6Az63da/b9wYMETZAjP2xArZM7hbMYJiKVlfo5I+JMoJH7TD0Hgv1ObB5QBQ6uTzw T/N/O/aHJJ3/uCN4KM3E9pf0P50mBLF+/3jZIu4O/C8wVfHPuUXOZwncs2UDZaTxQAcP JLCw== X-Gm-Message-State: ABuFfohF+Esih1dMj5OUql2MDdB9h4K7NlI81FrjpB3uBF+PG5Gua2CP BD/o8WDEThjIS0PSPEZFvOCxhjWjqa95mls6X2M= X-Google-Smtp-Source: ACcGV63xluemGtjfL4EYixCTQssImmpYVXbhnnrGLyA8WaTK/3KM1PhC/3hDr67p3OKifYKPbeILrQNuLFLFysN7GyI= X-Received: by 2002:a19:1063:: with SMTP id f96-v6mr13691879lfi.88.1539044390270; Mon, 08 Oct 2018 17:19:50 -0700 (PDT) MIME-Version: 1.0 References: <20180930022007.GA2041@admin.sibptus.ru> <20181008170044.GA80041@admin.sibptus.ru> <20181009001644.GA86174@admin.sibptus.ru> In-Reply-To: <20181009001644.GA86174@admin.sibptus.ru> From: Alan Somers Date: Mon, 8 Oct 2018 18:19:38 -0600 Message-ID: Subject: Re: why rtsold ? To: Victor Sudakov Cc: Kevin Oberman , FreeBSD Net , citrin+bsd@citrin.ru 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: Tue, 09 Oct 2018 00:25:13 -0000 On Mon, Oct 8, 2018 at 6:17 PM Victor Sudakov 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