Summary: | Cannot define IPv6 alias in the same way as IPv4 aliases on 13-CURRENT | ||
---|---|---|---|
Product: | Base System | Reporter: | Gordon Bergling <gbe> |
Component: | kern | Assignee: | freebsd-net (Nobody) <net> |
Status: | Closed Not A Bug | ||
Severity: | Affects Some People | CC: | 2khramtsov, hselasky, net |
Priority: | --- | Keywords: | needs-qa, regression |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Gordon Bergling
2020-07-24 21:16:43 UTC
Hi, Do you still have this issue if you change ifconfig_genet0_ipv6_alias0="inet6 fec0:db81:1::ff preflixlen 64" to ifconfig_genet0_alias1="inet6 fec0:db81:1::ff preflixlen 64" ? s/preflixlen/prefixlen --HPS @Gordon Can you confirm the reported behaviour is explicitly not reproducible in stable/12 at least, if not on prior CURRENT versions? If prior CURRENT versions are not affected, can you include a working revision to assist with bisection @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. |