Re: ipv6 host part

From: B ($B?_at_L@C#:H(B)
Date: 04/29/05

  • Next message: benchmark: "Network problem Fwd: firefox slow/hang load images and yahoo mail"
    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"


  • Next message: benchmark: "Network problem Fwd: firefox slow/hang load images and yahoo mail"

    Relevant Pages

    • RE: Understanding multiple IPv6 interfaces under 8.0 (fwd)
      ... this issue may be due to a bit of regression in the IPv6 prefix management ... When ND6 NS arrives for bce1, due to the interface mismatch of the prefix ... You can try specifying the route manually ...
      (freebsd-net)
    • RE: Understanding multiple IPv6 interfaces under 8.0 (fwd)
      ... this issue may be due to a bit of regression in the IPv6 prefix management ... When ND6 NS arrives for bce1, due to the interface mismatch of the prefix ... You can try specifying the route manually ...
      (freebsd-net)
    • Re: Named fields in enum constant declarations
      ... I suggested the canonical explanation upthread. ... Such constants are implementation details for a class but if the class accesses them by implementing an interface they become a part of public access of the class. ... See my list upthread of notable projects that do not prefix interface names with "I", such as the Google Web Toolkit. ...
      (comp.lang.java.programmer)
    • patch: bad ipv6 neighbor solicitation
      ... due to the association between NDPRF_ONLINK and the route ... this issue may be due to a bit of regression in the IPv6 prefix ... simply incremented when bce1 configures another IPv6 address of the ... When ND6 NS arrives for bce1, due to the interface mismatch of the ...
      (freebsd-stable)
    • Re: patch: bad ipv6 neighbor solicitation
      ... due to the association between NDPRF_ONLINK and the route ... this issue may be due to a bit of regression in the IPv6 prefix ... simply incremented when bce1 configures another IPv6 address of the ... When ND6 NS arrives for bce1, due to the interface mismatch of the ...
      (freebsd-net)