From owner-freebsd-net@freebsd.org Wed May 15 19:52:54 2019 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 5546915A0358 for ; Wed, 15 May 2019 19:52:54 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7F176EC26 for ; Wed, 15 May 2019 19:52:53 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: by mail-ed1-x534.google.com with SMTP id w11so1505639edl.5 for ; Wed, 15 May 2019 12:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=biN72NYSVKpPOQjUDkxwi9gbl4KsMkbe4ERjlV5/gVk=; b=QhHUgSW4uWqNGmAI1Dl0ybNRQshS42KtLX8GTCB5FDB5+faMeiwI7xGWpUuGpm4HLs FNncxK7IwLd3jEe/4nOpKdttjRwVqFWXMJQTBLvWwA7Bj3WlN1+X5jYGOY50SFbKyje/ l5qbbiiJg6lZXCc4MeFVPDs2Tm/OhV3u7YFWOA6U4Ye9YdXOtEUSQ9ETW2n2bjwtSz4J Qnr4QnWdqaxfv0HSWCeOb9Lpfzz+7xblIG2N6V61rn+MdqUQmaVzDyZ1Ogh5kgreG7zs nsfe1CTeE0TOcwUahaubFchzZZB9hpuuuPxZovOlZf8iRtbri08a/Ez4jWGQklvZwdVD 52Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=biN72NYSVKpPOQjUDkxwi9gbl4KsMkbe4ERjlV5/gVk=; b=KzaRI4rXNvyTrcc+RbIQv1HXa5o1dsriQeTxoWjrZxfNvukIeiEvAIwZQhkqVNlczd yCPQdcorUXuOu6CImnN+1hPRY1NmhmiDtLdeP9LylIbA8c3Vgdqv+0DZ9AJVBmE7XOoi RsmWAMhZCVOfDk0aBy0y6pzzz5Vk9PS8G5PAWcHKGTb0RC60tZ4CepPC4IfUXbYtVc82 MmIbMvCQ9ciRxEF/praKX7CCZd63VpqN0ge8YZIUcmnxArdE0AaZcqTlsUcNLvnS6o7c EgUiPBIvQ+oZinoO6qAcDJkS2ZMTrH8gh4NtM2BenXRj2H6W1gMr8nXMCqRleTSFG0gN fj2w== X-Gm-Message-State: APjAAAWGg90quHN46DbGMYzKrD9BKCWtTNrktmV1SX/ebaZNIAHcfWa7 nfyVIHxJ1cbLtdDC7Q4us2QMXpepjKs= X-Google-Smtp-Source: APXvYqxuQu2c520BKk6M952zzdxMkZ99RHcWzFGivvkc8CtmR85VPc0llPg5lkJ9PAmWTNDBD3tBIw== X-Received: by 2002:a17:906:3551:: with SMTP id s17mr34382930eja.19.1557949971835; Wed, 15 May 2019 12:52:51 -0700 (PDT) Received: from DRIESPC (d8d874847.access.telenet.be. [141.135.72.71]) by smtp.gmail.com with ESMTPSA id i2sm1078290edg.81.2019.05.15.12.52.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 12:52:50 -0700 (PDT) From: To: "'Hiroki Sato'" Cc: References: <001e01d50b49$176104d0$46230e70$@gmail.com> <20190516.032012.517661495892269813.hrs@allbsd.org> <006001d50b53$72a22e00$57e68a00$@gmail.com> <20190516.044252.1672818225777964175.hrs@allbsd.org> In-Reply-To: <20190516.044252.1672818225777964175.hrs@allbsd.org> Subject: RE: DHCPv6 client in base Date: Wed, 15 May 2019 21:52:52 +0200 Message-ID: <00aa01d50b57$c84ac020$58e04060$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: nl-be Thread-Index: AQLaN40i822Fq698RgLAgw7TO9S4zQG9t3h7Ai5ldU4BtRebP6Q1NN/Q X-Rspamd-Queue-Id: C7F176EC26 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-1.00)[-0.997,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Wed, 15 May 2019 19:52:54 -0000 > -----Original Message----- > From: Hiroki Sato > Sent: woensdag 15 mei 2019 21:43 > To: driesm.michiels@gmail.com > Cc: freebsd-net@freebsd.org > Subject: Re: DHCPv6 client in base >=20 > wrote > in <006001d50b53$72a22e00$57e68a00$@gmail.com>: >=20 > dr> > I have a plan to import wide-dhcp6 into the base system because > dr> > it is simple enough. > dr> > dr> Thats nice! Any timeline for this; 13.0 RELEASE? >=20 > Yes, at the latest. I originally planned it before 12.0 but not = happened for > some non-technical reasons. >=20 > dr> > More specifics about the complex configuration? > dr> > dr> My initial wording wasn't correct; wide-dhcp is in fact featureful > although buggy when config files get a bit bigger. > dr> Well I'm trying to assign a 64 prefix to two virtual interfaces = and one > physical from a 56 delegation. > dr> For this config it errors out on parsing the config file ... while = I'm 99% > certain there is not a problem in it. > dr> > dr> interface em0 { > dr> send rapid-commit; > dr> send ia-na 1; > dr> send ia-pd 1; > dr> }; > dr> > dr> id-assoc na 1 { }; > dr> > dr> id-assoc pd 1 { > dr> prefix ::/56 infinity; > dr> prefix-interface igb0 { > dr> sla-id 0; > dr> sla-len 8; > dr> }; > dr> prefix-interface lo1 { > dr> sla-id 1; > dr> sla-len 8; > dr> }; > dr> prefix-interface tun0 { > dr> sla-id 2; > dr> sla-len 8; > dr> }; > dr> }; > dr> > dr> May 15 21:20:50 May 15 21:20:50 vados dhcp6c[94383]: failed to = parse > dr> configuration file >=20 > In this configuration dhcp6c does not work because lo1 has no L2 = address > to generate an interface ID which will be used with the /64 prefix. = Is there > any specific reason why you want to use a loopback interface? I was planning to use the prefix on lo1 as the ext_if argument in an = IPFW NPTv6 rule. That would translate my private jail addresses to their corresponding = global ones from the prefix. I know its possible with VIMAGE to just run rtadvd on a bridge but I = rather stay away from that, one rule in IPFW is all I need. >=20 > -- Hiroki