Hi,

I'm trying to add ipv6 aliases for my jails (7.1) in rc.conf.

ifconfig_lo0_alias0="inet 192.168.64.1 netmask 255.255.255.0"
ifconfig_lo0_alias1="inet 192.168.64.2 netmask 255.255.255.255"
ipv6_ifconfig_lo0_alias0="inet6 fd08:2548:a3e8:40::1 prefixlen 48"
ipv6_ifconfig_lo0_alias1="inet6 fd08:2548:a3e8:40::2 prefixlen 128"

The ipv6 aliases aren't configured as expected. I tried also  the  variants

ipv6_ifconfig_lo0_alias2="inet6 fd08:2548:a3e8:40::1 prefixlen 48"

ipv6_ifconfig_lo0="inet6 alias fd08:2548:a3e8:40::1 prefixlen 48"

without success. Btw the man page for rc.conf suggests the following
as replacement for the alias syntax (for ipv4):

ipv4_addrs_lo0="127.0.0.1/8 192.168.64.1-7/24"
ipv6_addrs_lo0="::1/128 fe80::1/64 fd08:2548:a3e8:40::1-7/48"

Which syntax is suggested and working for mixed ipv4/ipv6 aliases in
rc.conf?





_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to