From owner-freebsd-net@freebsd.org Sat Feb 27 12:37:53 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 96E415659F2 for ; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DnmJd1w4jz4pPx for ; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mailman.nyi.freebsd.org (Postfix) id 41AA25659F1; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 41728565944 for ; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnmJc5YVKz4pB9; Sat, 27 Feb 2021 12:37:52 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 9aeddf33; Sat, 27 Feb 2021 12:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=PhjjnW00zw+dSh 20U/+mqCDhZnY=; b=SXgOJjjip7pAqyye/b3+pd53JeKquT20YNbWV2GMD8wwKh 4rzqiTqpSfscB7C1MmsBYoiEARekDkOg21Rdyay3t6Xe14F6FEsRJ+WjH4HxTsfX MxMPJ/7lbdztaqw1DSMzdf5LDGnGq7Is8L2xyx5AsWV1NbLXgO9N6V/Yldq4lxhN MRxD7S58o7FbQGDA29ttDH9HOm9ewRB/xbhTTokiyUd5ana2nk4KnXuMnLtsXK3U tKkSxYRm/tuh3uEv9Q+k2vl94bXgje0lIMiOZ6xNPQa2N+8nyJhvMcD/6vGVkXl5 XaSpeHnbwPLfnZ+sTKfV8sfrdJc3BcQm2i37ZmUw== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=Vz6hMv05 brFKdw2eRANnva5mUDhBr00q930B8t5dnML6/SG2v6ltNTf+bTe7JSBK0G95wZXm aDFUz1chNoSPmgiRbuWMWXjmAL687by8RcVvHhGzRuDlg887AzlhUssHCb48xMkJ x2P2wUTby+nckRCO0N6BBQsmK2LGEebiD54Qb9CpiUMuwSfNNAexT1R7sr9Swmxa Wc2z5OTYuwXsaNkEz9yaUWrKTyvJzEz/kD9+yOccMLpouwkpRdziOpAYlqWU3lA6 /gIVl8pT/kAiDIOcIebECZQgQz8czhFSYuuPeibV/IwSFMZXvsvvoGLOU9nPBN1f 5CNTxq3e/sOhcg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 140deb8f (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 27 Feb 2021 12:37:38 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: accept_rtadv From: Michael Gmelin In-Reply-To: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> Date: Sat, 27 Feb 2021 13:37:37 +0100 Cc: net@freebsd.org Message-Id: <409E9AFD-D9D5-4CA9-A923-F83F99885BDD@grem.de> References: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> To: Doug Hardie X-Mailer: iPhone Mail (18D52) X-Rspamd-Queue-Id: 4DnmJc5YVKz4pB9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 12:37:53 -0000 > On 27. Feb 2021, at 08:21, Doug Hardie wrote: >=20 > =EF=BB=BF=46rom the Handbook: >=20 > 32.9.2. Configuring IPv6 > To configure a FreeBSD system as an IPv6 client, add these two lines to rc= .conf: >=20 > ifconfig_rl0_ipv6=3D"inet6 accept_rtadv" > rtsold_enable=3D"YES" >=20 > This does not work. I have in rc.conf: >=20 > ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" > ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" > ifconfig_ue1_ipv6=3D"inet6 accept_rtadv" >=20 > On all three interfaces, ifconfig shows: > nd6 options=3D21 >=20 > ACCEPT_RTADV is not listed and sure enough router advertisements are ignor= ed. I have to manually enter: > ifconfig bge0 ipv6 accept_rtadv > for each interface. Then ifconfig shows: >=20 > nd6 options=3D23 >=20 > and the interface now accepts router advertisements. This is a bug, but I= don't kn > ow if it's in the code or the handbook. >=20 I just tried here on 12.2-p4 with em0 and it worked as expected. I do have i= pv4 configured on that interface too though. Do you have anything else in your rc.conf (especially any other ifconfig lin= es)? If not, could you try adding ifconfig_bge0=3D"up" etc. Cheers, Michael > -- Doug >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"