[Bug 248251] Cannot define IPv6 alias in the same way as IPv4 aliases on 13-CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 14 08:27:04 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248251

Gordon Bergling <gbe at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|Open                        |Closed

--- Comment #4 from Gordon Bergling <gbe at FreeBSD.org> ---
@hselasky: Thanks for spotting the typo, good catch.

@koobs: thats actually no regression. I first thought that an interface alias
also depends the ip protocol version, like it is for the primary ip-address.

ifconfig_genet0="inet a.b.c.d ..."
ifconfig_genet0_ipv6="inet6 fec80:db81:..."

For the interface aliases there is no separated protocol separation. So
basically Evgeniy was right. I solved the problem by using these entries in the
rc.conf.

ifconfig_genet0_alias0="inet 10.0.1.189 netmask 255.255.255.0"
ifconfig_genet0_alias1="inet6 fec0:db81:1::ff prefixlen 64"

That is also what the manual page of rc.conf(5) describes, so this PR can be
closed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-net mailing list