Re: ipv6 host part
From: B ($B?_at_L@C#:H(B)
Date: 04/29/05
- Previous message: Petri Helenius: "Re: ipv6 host part"
- In reply to: Petri Helenius: "Re: ipv6 host part"
- Next in thread: Neo-Vortex: "Re: ipv6 host part"
- Reply: Neo-Vortex: "Re: ipv6 host part"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Apr 2005 13:12:10 +0900 To: Petri Helenius <pete@he.iki.fi>
>>>>> 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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Petri Helenius: "Re: ipv6 host part"
- In reply to: Petri Helenius: "Re: ipv6 host part"
- Next in thread: Neo-Vortex: "Re: ipv6 host part"
- Reply: Neo-Vortex: "Re: ipv6 host part"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|