From owner-freebsd-net@freebsd.org Thu Apr 2 22:53:05 2020 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 170592697F1 for ; Thu, 2 Apr 2020 22:53:05 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48tdd94z8Mz4T3k; Thu, 2 Apr 2020 22:53:01 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from localhost (unknown [IPv6:2409:11:a740:4700:16:ceff:fe34:2700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: hrs) by smtp.freebsd.org (Postfix) with ESMTPSA id D86C0EBA7; Thu, 2 Apr 2020 22:52:53 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Date: Fri, 03 Apr 2020 07:52:32 +0900 (JST) Message-Id: <20200403.075232.465281007725196641.hrs@FreeBSD.org> To: fernando@gont.com.ar, jmg@funkthat.com Cc: freebsd-net@freebsd.org Subject: Re: Question about rtadvd From: Hiroki Sato In-Reply-To: <20200402211304.GZ4213@funkthat.com> References: <6d0ad330-7bb6-2664-f40a-92eb1856b5fe@gont.com.ar> <20200402211304.GZ4213@funkthat.com> X-Old-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-PGPkey-fingerprint: 6C0D 2353 27CF 80C7 901E FDD2 DBB0 7DC6 6F1F 737F X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Fri_Apr__3_07_52_32_2020_475)--" Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2020 22:53:05 -0000 ----Security_Multipart(Fri_Apr__3_07_52_32_2020_475)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John-Mark Gurney wrote in <20200402211304.GZ4213@funkthat.com>: jm> Fernando Gont wrote this message on Tue, Mar 31, 2020 at 22:18 -0300: jm> > Folks, jm> > jm> > I'm playing with rtadvd, and I'm curious about a debug message I'm jm> > getting when specifying Route Information options. jm> > jm> > My config file is this: jm> > ----- cut here ---- jm> > em0:\ jm> > :addr="fc00:1::":prefixlen=64\ jm> > :rtprefix="fc00:1::":rtplen=64:rtltime=1000 jm> > jm> > em1:\ jm> > :addr="fc00:2::":prefixlen=64\ jm> > :rtprefix="fc00:2::":rtplen=64 jm> > ---- cut here ---- jm> > jm> > And when running radvd as: jm> > /usr/sbin/rtadvd -D -f em0 em1 jm> > jm> > jm> > I get the following debug messages: jm> > ---- cut here ---- jm> > [....] jm> > rtltime should be specified for interface em0. jm> > rtadvd[1137]: enter jm> > rtadvd[1137]: em0: join link-local all-routers MC group jm> > rtadvd[1137]: RA timer on em0 is set to 16:0 jm> > rtadvd[1137]: ifname=em0 marked as TRANSITIVE (initial burst). jm> > rtltime should be specified for interface em1. jm> > [....] jm> > ---- cut here ---- jm> > jm> > I'm curious why I get "rtltime should be specified for interface em0." jm> > since the config for em0 does specify rtltime -- unless I'm missing jm> > something. jm> jm> I only see rtltime on em0, and I don't see a closing colon after jm> rtltime on em0. Try adding a terminating colon on em0 and see if jm> the problem goes away. An integer must use "#" like "foo#0" (not "foo=0") in the configuration file. So :addr="fc00:1::":prefixlen=64\ :rtprefix="fc00:1::":rtplen=64:rtltime=1000 should be :addr="fc00:1::":prefixlen#64:\ :rtprefix="fc00:1::":rtplen#64:rtltime#1000: -- Hiroki ----Security_Multipart(Fri_Apr__3_07_52_32_2020_475)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMkEABMKAC4WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCXoZssBAcaHJzQGZyZWVi c2Qub3JnAAoJENuwfcZvH3N/LbcCCQHlO+K6UiDxDpaFaiLbPVHwpbMtMxuSPUQN nHxYp9RsF7EniPgg838pAMN8NgABUKXLLbs93of9Rx+VHLeJeMMhXAIIsyzLrwFv zIIphO9AlKXsMikXWm7HA3fpk+R3P6X3nCb6Cd8zMrKXuCR1MLOyhqNIBlL03Pmw TV19YxH2wglIRzQ= =dpPh -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Apr__3_07_52_32_2020_475)----