From nobody Sun Mar 27 14:34:11 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 AFCE91A44788 for ; Sun, 27 Mar 2022 14:34:22 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KRJHd5W3Jz4k89 for ; Sun, 27 Mar 2022 14:34:21 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 018418D4A156; Sun, 27 Mar 2022 14:34:13 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 8AC20E707D9; Sun, 27 Mar 2022 14:34:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id o9pIyJpG6tBb; Sun, 27 Mar 2022 14:34:12 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:4530:d155:b132:a6e4]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 17714E707AC; Sun, 27 Mar 2022 14:34:11 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Goran =?utf-8?q?Meki=C4=87?=" Cc: freebsd-current@freebsd.org Subject: Re: DHCPDv6 in non-vnet jail Date: Sun, 27 Mar 2022 14:34:11 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <4772ECB8-6482-4B94-A887-F04EC6272911@lists.zabbadoz.net> In-Reply-To: <20220326222957.wuc7xwyiq3bjtlnv@tilda.center> References: <20220326222957.wuc7xwyiq3bjtlnv@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: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4KRJHd5W3Jz4k89 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-3.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; NEURAL_HAM_LONG(-0.84)[-0.837]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 26 Mar 2022, at 22:29, Goran Mekić wrote: > Hello, > > I'm trying to run isc-dhcpd6 service inside a non-vnet jail without > success. I already have isc-dhcpd in the same jail working, so I hoped > v6 is similar enough for it not to require anything special, and I'm > obviously wrong, as running the same config on the host itself works. > I > am using bridge interface in the non-vnet jail to set IPv4 and IPv6 > address and as an interface for isc-dhcpd. I assume you have /dev/bpf available inside that jail by a devfs rule so effectively you have all network interfaces and traffic available? > > I know I can't just assume that if something works on IPv4 will work > on > IPv6 too, but could you help me understand what is missing? Is it even > possible to have isc-dhcpd6 in a non-vnet jail? If not, why, if yes, > what am I doing wrong? > > Forgive me for not sending the full config as it would make this mail > huge. I'm thinking if there's something obviously wrong in my > asumption > that isc-dhcpd6 can work in non-vnet jail, config wouldn't be much of > the help, but if that's not the case I'll be happy to send any jail > and > related configuration. You could send the error isc-dhcpd6 gives you? /bz