From nobody Tue Mar 29 16:22:53 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8A3501A518D9 for ; Tue, 29 Mar 2022 19:43:06 +0000 (UTC) (envelope-from meka@tilda.center) Received: from c3po.tilda.center (c3po.tilda.center [108.61.164.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KSg2x5RqKz56Dq for ; Tue, 29 Mar 2022 19:43:05 +0000 (UTC) (envelope-from meka@tilda.center) Received: from tilda.center (109-93-255-137.static.isp.telekom.rs [109.93.255.137]) by c3po.tilda.center (Postfix) with ESMTPSA id 9071D1CC12; Tue, 29 Mar 2022 21:43:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tilda.center; s=c3po; t=1648582984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Vo4uWSSdjLDw8bvfqnBHuEuzofwpzkn4V9faSEcUam4=; b=oz7D3KAUScUZnIGpkxb+GT+onGhre4HmwF/MNyuFbfEOSeWrQc3z5cCnBVlIWD28bb37Hi Pi8xHwz6gL22POuyicRExIqGDdesjUtryxFt93Srtj0BWWt4Pdm+G/cItMN5aw5m/BIdPZ 7p2ws0IZNssSvU8derZCKWCfTUJkHuQ= Date: Tue, 29 Mar 2022 18:22:53 +0200 From: Goran =?utf-8?B?TWVracSH?= To: Marek Zarychta Cc: "Bjoern A. Zeeb" , freebsd-current@freebsd.org Subject: Re: DHCPDv6 in non-vnet jail Message-ID: <20220329162253.h77no62qqtilwtoz@tilda.center> References: <20220326222957.wuc7xwyiq3bjtlnv@tilda.center> <4772ECB8-6482-4B94-A887-F04EC6272911@lists.zabbadoz.net> <20220329081129.p5xtxlbiyw6klxcl@tilda.center> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kjvys6whaicpakk4" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4KSg2x5RqKz56Dq X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tilda.center header.s=c3po header.b=oz7D3KAU; dmarc=pass (policy=reject) header.from=tilda.center; spf=pass (mx1.freebsd.org: domain of meka@tilda.center designates 108.61.164.129 as permitted sender) smtp.mailfrom=meka@tilda.center X-Spamd-Result: default: False [-5.47 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[tilda.center:s=c3po]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[tilda.center:+]; DMARC_POLICY_ALLOW(-0.50)[tilda.center,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-current]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_MIXED_CHARSET(0.62)[subject]; ASN(0.00)[asn:20473, ipnet:108.61.164.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --kjvys6whaicpakk4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Tue, Mar 29, 2022 at 05:21:13PM +0200, Marek Zarychta wrote: > Running DHCPv6 in a jail is possible and pretty straigtforward if > /dev/bpf is exposed, but I have never tried to run rtadvd(8) in the > jail. The net/isc-dhcp44-server works flawlessy in dedicated DHCPv6 > reduntant jails without VNET, but the RA is always done on the core > switches for all suppoted subnets in my case. Please consider that > DHCPv6 is never replacement, but addition to properly confiugred RA. I ran rtadvd inside jail just to see if RA messages are going back and forth as I suspected I'm blocking something. Otherwise, I'm running rtadvd on the host. If I understand it right, rtadvd's raflags="m" should tell rtsold to run external script. I'm just running it by hand so I use the least amount of software possible. Is that wrong? Should dhcp6c be run with rtsold -M? I tried with rtsold_flags="-a -M /usr/local/bin/dhcp6c" without luck. Regards, meka --kjvys6whaicpakk4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAmJDMloACgkQWj1Tknov rLYNYA//YGbeBccj7GawOicIJrIxXhoMDGV1kfKMYbosCyIbwJtR+2DdIj0BpXdO FSeyBVZ4SxVjCAmAc6MD9iuaRJcIwJwNio51BBRTlaAtMqUqvjiMievxjHBZOOqk BB3eAT8QBMVRcLsfvIk04wLyj373YbI9oW2fvvFR4GNJwtiZO837sALZaCSAcb8Q W3knkKKkwb1mXPdqWtEKE9PWsc2m6wc65vRvN/MhDxaZoIwUCDLrH6vCJuG84Pip jkhmgMB745OUArEf9H4oK8TXAdoVBNIB8XyYF0hwm3azMpCYYp23vxKCmCfImgll QFHK+wrEB417fJrZcsOjHNRyi5Vln2UTc9+XVMxgqWwNzaXSBs/cW1qL4IL9QztQ WporIXp+2HTqYBzqFgDmRoyltLsVpLJGkuM3QyZGOxXzMNAkjORsoSHfjdMlZTSR Al3LglP30+odrhh/n4IDHSns43UA5Dg0zhPTqJkahhNNp1WbATVFVHYOCs9OtGt9 fabdk5FNu5hOkbHIUoDWk37eInRGdxAG2ARoRW+WJ8LgERATn5SNEmd1zIwgSf1v UdhbapB65t40Ukoraz+qB4TVNuF92s101PNKy6Aro53wtu+AYdUQ0l/3arJht2F5 roM3R3sb+qnANcWnTRfuo8KRCsOgkVXm+fZMBh+4YXdX/dV3Crg= =+H3m -----END PGP SIGNATURE----- --kjvys6whaicpakk4--