From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [Patch iproute2] vxlan: use 8472 as default dst port Date: Thu, 16 May 2013 09:02:39 -0700 Message-ID: <20130516090239.06067273@nehalam.linuxnetplumber.net> References: <1368616270-5775-1-git-send-email-amwang@redhat.com> <20130515095322.275c9b2f@nehalam.linuxnetplumber.net> <20130515104308.5de3e852@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "David Stevens" , "Cong Wang" , , To: "David Laight" Return-path: Received: from mail-pa0-f44.google.com ([209.85.220.44]:35468 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256Ab3EPQCo (ORCPT ); Thu, 16 May 2013 12:02:44 -0400 Received: by mail-pa0-f44.google.com with SMTP id jh10so2652237pab.31 for ; Thu, 16 May 2013 09:02:43 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 16 May 2013 09:24:47 +0100 "David Laight" wrote: > > > From: Stephen Hemminger > > > > > > I want all new users to get the IANA port without asking. > > > Old users with existing nets have to force the port to the one they > > > were using. > > > > That'd be great -- what we're getting is all new users are getting > > a listen port of 8472 and a send port of 4789. So new users who aren't > > aware of why will simply see that two *new* installations don't talk > > to each other (and never will, using default ports, because the kernel > > and ip will need to be compatible with their incompatible selves). > > Could the kernel listen on both port numbers? > Then the default 'send' port could be changed while maintaining > functionality for existing systems. > > At some later time the listener on 8372 could be removed. > > David > > > Actually with the destination port per vxlan it is possible to do. 1. Create vxlan0 with old port number 2. Create vxlan1 with new port number 3. Create a bridge vxlanbr0 4. Put both vxlan's into the bridge Then the bridge will silently handle finding the correct port and allow migrating other hosts to the new port number.