From nobody Sat Mar 12 02:47:10 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 0ABCB1A02A53 for ; Sat, 12 Mar 2022 02:47:14 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) (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 (2048 bits) client-digest SHA256) (Client CN "*.lerctr.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KFnJd0VCSz3DZq for ; Sat, 12 Mar 2022 02:47:13 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=o76KpC3UtlYPyKWN/SeXFtMDViBYG2h1rcRxed5+nOE=; b=uoCMF6+XwKSjC+RML6tg1rIgyq PpUJF05Gm/AEPP+tfvRyUPlBxjYZeY90dq8Bzdb1Uf1dus9pgac8r9UB++Ex/RtqjhcKyu+aDYVGI +TthiZuI6peA5Qaf/40iXuMtJlpj+TzVe57ubMVSmIflWMVOP2fkHXMtxx43NHCvjSXjrwg7o2Teu 4MjTVOT7DGomrHf7HYolE5mBzWEu5eD8eJakSXdI761OuJQhOwzpWmTLEB661WfqsvWlH6m5tFCdV MhReuJQRVjmbjpLkBm2kiYSz5dClkJRD+5kcnpm4URey/2klwf8HC1NnxXjQwSCmd1B30/atp0Qom NcWIgtpg==; Received-SPF: pass (thebighonker.lerctr.org: domain of lerctr.org designates 2001:470:1f0f:3ad:bb:dcff:fe50:d900 as permitted sender) client-ip=2001:470:1f0f:3ad:bb:dcff:fe50:d900; envelope-from=ler@lerctr.org; helo=webmail.lerctr.org; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:bb:dcff:fe50:d900]:10499 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1nSrmg-000LaH-Ks; Fri, 11 Mar 2022 20:47:10 -0600 Received: from 2600:1700:210:b18f:6187:1bb5:b26c:8ca2 by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Fri, 11 Mar 2022 20:47:10 -0600 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 Date: Fri, 11 Mar 2022 20:47:10 -0600 From: Larry Rosenman To: Hajimu UMEMOTO 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: <86h7836gy3.wl-ume@mahoroba.org> References: <9d7847539e02bfb55e2739cb67f02ee2@lerctr.org> <86h7836gy3.wl-ume@mahoroba.org> Message-ID: <4bc6f392a1d903aeb29c8e7886761da4@lerctr.org> X-Sender: ler@lerctr.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4KFnJd0VCSz3DZq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lerctr.org header.s=ler2019 header.b=uoCMF6+X; dmarc=pass (policy=none) header.from=lerctr.org; spf=pass (mx1.freebsd.org: domain of ler@lerctr.org designates 192.147.25.65 as permitted sender) smtp.mailfrom=ler@lerctr.org X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[lerctr.org:s=ler2019]; FREEFALL_USER(0.00)[ler]; 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]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[lerctr.org:+]; DMARC_POLICY_ALLOW(-0.50)[lerctr.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:8166, ipnet:192.147.25.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 03/11/2022 8:30 pm, Hajimu UMEMOTO wrote: > 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/ Nope, didn't work on my home net: ❯ ifconfig bce0 bce0: flags=8843 metric 0 mtu 1500 options=c01bb ether a4:ba:db:29:66:95 inet 192.168.200.4 netmask 0xfffffc00 broadcast 192.168.203.255 inet 192.168.200.5 netmask 0xfffffc00 broadcast 192.168.203.255 inet6 fe80::a6ba:dbff:fe29:6695%bce0 prefixlen 64 scopeid 0x2 inet6 fe80::53:1%bce0 prefixlen 64 scopeid 0x2 inet6 2600:1700:210:b18f:a6ba:dbff:fe29:6695 prefixlen 64 autoconf media: Ethernet autoselect (1000baseT ) status: active nd6 options=3 grep bce0 /etc/rc.conf: ifconfig_bce0="inet 192.168.200.4/22 " ifconfig_bce0_alias0="inet 192.168.200.5/22 " ifconfig_bce0_ipv6="inet6 fe80::53:1 accept_rtadv -auto_linklocal" -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106