Thread (4 messages) flat view 4 messages, 3 authors, 2005-03-11

Re: ipv6 and ipv4 interaction weirdness

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2005-03-11 14:56:55
Also in: lkml

In article [ref] (at Fri, 11 Mar 2005 23:16:55 +1100), CaT [off-list ref] says:
If it bound to :: port 22 then 0.0.0.0:22 would fail.

On the other hand if I got it to bind to each address individually then
both ipv4 (2 addresses) and ipv6 (1 address) binds would succeed.

Maybe I'm just looking at it wrong but shouldn't ipv4 and ipv6 interfere
with each other?
It is 100% intended, even it is not similar to BSD variants do.

IPv4 and IPv6 share address/port space.
:: and 0.0.0.0 is special "any" address, thus they confict.
::ffff:a.b.c.d and a.b.c.d also conflict.

--yoshfuji
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help