Re: IPV6 Networking, best practices?



Hello,

Neil Cherry a écrit :

- How do I get IPV6 addresses for my home? I doubt I'll get any as it
looks like I have to wait until the ISPs catch up. I have a Go6
tunnel but it gives me a /128 (I may need to do a lot more reading
as some imply that I might be able to get to my other device from
the V6 network).

For local IPv6 connectivity only, you can use "Unique Local IPv6 Unicast Addresses" as described in RFC 4193. For global IPv6 connectivity, you can use 6to4 addresses with automatic tunnelling, or another point-to-point tunnel broker which gives at least a full /64, such as SixXS.

- What IP address should my IPV6 apps bind to?

The one you decide according to your needs. I cannot be more precise without further details.

I've got djbdns working with IPV6 but one of its apps binds
it self to an address like: ::ffff:127.0.0.1:53 (IPV4 Mapped
addressing) but this is not one of the IPV6 addresses that I have on
my interface.

IPv4-mapped IPv6 addresses are used for IPv4 communications on an IPv6 socket, i.e. the socket is IPv6 but the actual packets are IPv4. ::ffff:127.0.0.1 represents the IPv4 loopback address 127.0.0.1. If an application binds only to such an address, it will allow only IPv4 communications.
.



Relevant Pages

  • HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branch near you
    ... This is an advance warning that, late next week, I will be merging a fairly large set of changes to the IPv4 and IPv6 protocols layered over the inpcb/inpcbinfo kernel infrastructure. ... These structures represent, respectively, particular sockets and the global socket lists for all socket types in IPv4 and IPv6 except for SCTP. ... This is possible because, in the common case, no connection or global state is modified during UDP/raw receive and transmit at the IP layer, so a read lock is sufficient to prevent data in those structures from unexpectedly changing. ...
    (freebsd-stable)
  • Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branch near you
    ... To be specific, this affects TCP, UDP, and raw sockets on both IPv4 and IPv6. ... These structures represent, respectively, particular sockets and the global socket lists for all socket types in IPv4 and IPv6 except for SCTP. ... This is possible because, in the common case, no connection or global state is modified during UDP/raw receive and transmit at the IP layer, so a read lock is sufficient to prevent data in those structures from unexpectedly changing. ...
    (freebsd-stable)
  • Re: Has my router failed?
    ... higher level of the TCP/IP stack, i.e. at the socket and application level. ... Network packets are still IPv4 packets with IPv4 headers and addresses, and the IPv4 clients never know they are talking to an IPv6 socket. ...
    (comp.os.linux.networking)
  • Re: sockaddr_(in|in6) compatiblity
    ... HU> Why do you use IPv4-mapped IPv6 address for binding IPv4? ... HU> wish to bind to IPv4, just use AF_INET socket. ... field and do proper cast. ...
    (freebsd-stable)
  • Re: Tunnel between two IPv6 islands in an IPv4 ocean?
    ... What would be the "Debian way" to set up a tunnel between two routers ... running Debian to connect two IPv6 islands in an otherwise IPv4 ocean? ... The rest of the University is entirely IPv4. ...
    (Debian-User)