[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OFF100C7ED.6500FAB3-ON85257B6C.005DCF7C-85257B6C.005F309B@us.ibm.com>
Date: Wed, 15 May 2013 13:19:43 -0400
From: David Stevens <dlstevens@...ibm.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: Cong Wang <amwang@...hat.com>, netdev@...r.kernel.org,
netdev-owner@...r.kernel.org
Subject: Re: [Patch iproute2] vxlan: use 8472 as default dst port
netdev-owner@...r.kernel.org wrote on 05/15/2013 12:53:22 PM:
> From: Stephen Hemminger <stephen@...workplumber.org>
> No. I want all users to get the IANA assigned port unless they
specifically
> override it. For compatibility kernel can't change to the IANA value
> but user space needs to nudge users in the correct direction.
It's more than a nudge -- it doesn't interoperate with itself.
1) The kernel binds to 8472 on module load.
2) After it's bound, iproute2 "changes" the port to 4789, but
the kernel binding is still 8742 for listening. All destinations
use
the new port, but all bindings use the old port.
So, boot two systems without specifying a port and they can't
talk to each other. They both listen on 8742 and they both send to
4789.
This clearly is worse than changing the kernel default port to 4789, but
what's the point of having a kernel default if a user-level program
overrides
it even when the user did not specify a port, and only for half of it (the
sender side)?
You could make a port change close and rebind, but that's little different
than changing the default in the kernel, if "ip" does it without a port
specification.
+-DLS
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists