RE: IPv6 multi-NIC and routing table
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Hello kojiishi
Based on my understanding, you have a multihomed machine and want to select NIC to send packet.
In this case you can create a IPv6 socket and bind it to a certain address. For more details on how to support IPv6 in your socket application, please reference:
[IPv6 Guide for Windows Sockets Applications]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/ipv6_guide_for_windows_sockets_applications_2.asp
Please let me know if my answer helps you resolve the problem. If there is anything more I can assist you, please feel free to let me know.
Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp&SD=msdn
This posting is provided "AS IS" with no warranties and confers no rights.
.
Relevant Pages
- IPv4 mapped address considered harmful
... Internet-Drafts are working documents of the Internet Engineering Task Force, its areas, and its working groups. ... When an IPv4 packet reaches an IPv4/v6 dual stack node, kernel IPv4 layer will handle it, ... When TCP/UDP layer finds an AF_INET6 listening socket, it will pass the packet to the listening socket as if it was from the corresponding IPv4 mapped address. ... Some of the translator technologies such as SIIT uses IPv4 mapped address in header fields of actual IPv6 packet on wire. ... (Bugtraq) - resolution?
... Get IPv6 header from raw IPv6 socket? ... The IPv4 receive packet includes the packet payload, ... (microsoft.public.win32.programmer.networks) - FYI: [itojun@iijlab.net: IPv4 mapped address considered harmful]
... Internet-Drafts are working documents of the Internet Engineering Task Force, its areas, and its working groups. ... The representation is used in IPv6 basic API to denote IPv4 destinations on AF_INET6 socket within the API. ... When TCP/UDP layer finds an AF_INET6 listening socket, it will pass the packet to the listening socket as if it was from the corresponding IPv4 mapped address. ... Some of the translator technologies such as SIIT uses IPv4 mapped address in header fields of actual IPv6 packet on wire. ... (FreeBSD-Security) - 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) |
|