Re: service listener for both IPv4 and IPv6
- From: James Carlson <james.d.carlson@xxxxxxx>
- Date: 20 Feb 2008 12:03:19 -0500
Casper H.S. *** <Casper.***@xxxxxxx> writes:
Panduranga Chary <pr.chary@xxxxxxxxx> writes:
How do we make service both listening to ipv4 and ipv6 in unix.
In Solaris, you create a single IPv6 socket and it will accept
both IPv4 and IPv6 traffice destined for that specific port.
Although this is true, I would not recommend designing an application
to work this way. Instead, opening separate sockets for v4 and v6
(using the IPV6_V6ONLY option for the latter) is the recommended way
to go.
See the notes in PSARC 2006/466; we had a lengthy discussion with Erik
Nordmark about this, and the bottom line is that the transition
mechanisms don't work particularly well for anything other than the
most trivial of applications.
--
James Carlson, Solaris Networking <james.d.carlson@xxxxxxx>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
.
- References:
- service listener for both IPv4 and IPv6
- From: Panduranga Chary
- Re: service listener for both IPv4 and IPv6
- From: Casper H . S . ***
- service listener for both IPv4 and IPv6
- Prev by Date: Re: jumpstart Solaris 10 on Solaris 9 server
- Next by Date: SunFire V20z, SunOS 5.10, disc problem
- Previous by thread: Re: service listener for both IPv4 and IPv6
- Next by thread: Re: service listener for both IPv4 and IPv6
- Index(es):