Date: Fri, 29 Apr 2005 13:12:10 +0900 From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@wide.ad.jp> To: Petri Helenius <pete@he.iki.fi> Cc: freebsd-net@freebsd.org Subject: Re: ipv6 host part Message-ID: <y7v3btaql0l.wl@ocean.jinmei.org> In-Reply-To: <4271AC95.3080309@he.iki.fi> References: <4270C6E7.4010701@he.iki.fi> <y7v7jimqmyk.wl@ocean.jinmei.org> <4271AC95.3080309@he.iki.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Fri, 29 Apr 2005 06:40:05 +0300, >>>>> Petri Helenius <pete@he.iki.fi> said: >> No. >> >> BTW: are you trying to configure multiple IPv6 addresses on a single >> interface by specifying multiple interface IDs and getting prefix from >> router advertisements? If so, it's inherently difficult, not even via >> rc.conf, since the kernel implementation can have only one interface >> ID for address autoconfiguration. >> > That is what I'm trying to do. The reason for that is to be able to > support SSL/TLS virtual hosts. If you do not stick to the "standard" configuration via rc.conf, one possible workaround is: - send a router solicitation and get a prefix via router advertisements - somehow (e.g., by a shell/perl script) identify the prefix - assuming the prefix is "P/64", do the followings: # ifconfig IFNAME inet6 P::1 prefixlen 64 alias autoconf # ifconfig IFNAME inet6 P::2 prefixlen 64 alias autoconf # ifconfig IFNAME inet6 P::3 prefixlen 64 alias autoconf ... The keyword "autoconf" is the point. It tells the kernel that the addresses should be updated based on succeeding router advertisements. (This may not work depending on the FreeBSD version. I've tested the procedure on a 5.3R box) JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y7v3btaql0l.wl>