Date: Fri, 11 Mar 2022 20:47:10 -0600 From: Larry Rosenman <ler@lerctr.org> To: Hajimu UMEMOTO <ume@mahoroba.org> Cc: Michael Sierchio <kudzu@tenebras.com>, Freebsd net <freebsd-net@freebsd.org> Subject: Re: IPv6: How does one have the system use a prefix gotten from rtsol with a static host part? Message-ID: <4bc6f392a1d903aeb29c8e7886761da4@lerctr.org> In-Reply-To: <86h7836gy3.wl-ume@mahoroba.org> References: <d6a474ebfda77c4c8a678044d87b51ee@lerctr.org> <CAHu1Y71AP6cn2f5zyqU_ud-wyrQYXufM1TF=M6ssYFodxEKSNQ@mail.gmail.com> <9d7847539e02bfb55e2739cb67f02ee2@lerctr.org> <86h7836gy3.wl-ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE> 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 <full-duplex>) status: active nd6 options=3<PERFORMNUD,ACCEPT_RTADV> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4bc6f392a1d903aeb29c8e7886761da4>