From nobody Sat Mar 12 02:30:12 2022 X-Original-To: freebsd-net@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 84B321A27364 for ; Sat, 12 Mar 2022 02:30:41 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from mail.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "asuka.mahoroba.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KFmxW4VTQz4vp8 for ; Sat, 12 Mar 2022 02:30:39 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from bodai.mahoroba.org (bodai.mahoroba.org [IPv6:2001:2f0:104:8010:14d6:e8cd:603d:d563]) (user=ume mech=DIGEST-MD5 bits=0) by mail.mahoroba.org (8.16.1/8.16.1) with ESMTPA/inet6 id 22C2UHEv039644; Sat, 12 Mar 2022 11:30:20 +0900 (JST) (envelope-from ume@mahoroba.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mahoroba.org; s=20081103; t=1647052221; bh=ZQvg37L482kROltCMJ/KXEI5P8gNb1Vb0U8lvNZcexM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=g+tbIJaJaV9MoKdi9nnCwXIlX19RGvbQ+UsOmF7tF70DxwqV+zLYiWzFvUXHebV0m aqrNzEDV3Ggqe78mmePo6uzNQ17vFWX3OWzKlCSJx/cVQ9ODZqCADN111Fbt2lAhJ5 ajrh6T56d6IWKauYzK+oU1L0k5ZOovqlgFDRCVj4= Date: Sat, 12 Mar 2022 11:30:12 +0900 Message-ID: <86h7836gy3.wl-ume@mahoroba.org> From: Hajimu UMEMOTO To: Larry Rosenman Cc: Michael Sierchio , Freebsd net Subject: Re: IPv6: How does one have the system use a prefix gotten from rtsol with a static host part? In-Reply-To: <9d7847539e02bfb55e2739cb67f02ee2@lerctr.org> References: <9d7847539e02bfb55e2739cb67f02ee2@lerctr.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO) X-PGP-Key: http://www.mahoroba.org/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (mail.mahoroba.org [IPv6:2001:2f0:104:8010:0:0:0:1]); Sat, 12 Mar 2022 11:30:21 +0900 (JST) X-Virus-Scanned: clamav-milter 0.104.2 at asuka.mahoroba.org X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on asuka.mahoroba.org X-Rspamd-Queue-Id: 4KFmxW4VTQz4vp8 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mahoroba.org header.s=20081103 header.b=g+tbIJaJ; dmarc=none; spf=pass (mx1.freebsd.org: domain of ume@mahoroba.org designates 2001:2f0:104:8010::1 as permitted sender) smtp.mailfrom=ume@mahoroba.org X-Spamd-Result: default: False [-1.46 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[mahoroba.org:s=20081103]; FREEFALL_USER(0.00)[ume]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[mahoroba.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.968]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[mahoroba.org:+]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MID_CONTAINS_FROM(1.00)[]; MLMMJ_DEST(0.00)[freebsd-net]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7514, ipnet:2001:2f0::/32, country:JP]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi, On Sat, 12 Mar 2022 19:06:56 +0900, Larry Rosenman wrote: > that's not exactly what I want. I'll be getting a prefix delegated to my UniFi > USG, and I want the FreeBSD host to be able to assign > addresses in that Prefix (not SLAAC, but static host part). > > I don't know that what I want is possible, but figured I'd ask. > > I.E. the router assigns 2001:aa:bb:cc::/64 as the prefix, an I want the host to > wind up at 2001:aa:bb:cc::53:1 > what do I need to do to make that happen? Something like this should work for you: ifconfig_eth0_ipv6="inet6 fe80::53:1 -auto_linklocal accept_rtadv" -- Hajimu UMEMOTO ume@mahoroba.org ume@FreeBSD.org http://www.mahoroba.org/~ume/