[ovs-discuss] Cannot change vxlan egress (source) ports

Ben Pfaff blp at ovn.org
Fri Feb 23 22:50:05 UTC 2018


On Fri, Feb 16, 2018 at 12:50:57AM -0300, José Miguel Guzmán wrote:
> Hello
> 
> I need to change the range of source ports for VXLAN tunnels.
> 
> Although I tried with set dst_port to 2000
> # ovs-vsctl add-port br-ovs vxlan3 -- set interface vxlan3 type=vxlan
> options:remote_ip=192.168.111.203 options:dst_port=20000
> 
> and egress port range to 20000-20001
> # ovs-appctl tnl/egress_port_range 20000 20001
> # ovs-appctl tnl/egress_port_range
> Tunnel UDP source port range: 20000-20001

tnl/egress_port_range only influences the behavior of the DPDK-based
tunnel implementation in OVS.  If you're using the kernel implementation
of tunneling, it will have no effect.


More information about the discuss mailing list