>>>>> On Fri, 29 Apr 2005 06:40:05 +0300, 
>>>>> Petri Helenius <[EMAIL PROTECTED]> 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.
                                        [EMAIL PROTECTED]
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to