Date: Sat, 14 Feb 2009 12:49:00 +0100 From: Reinhard Haller <reinhard.haller@interactive-net.de> To: freebsd-questions@freebsd.org Subject: ipv6 aliases in rc.conf Message-ID: <4996AFAC.1050707@interactive-net.de>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4996AFAC.1050707>