[ovs-discuss] GRE tunnel not working when interface name lenght > 13 characters

Jesse Gross jesse at nicira.com
Wed Feb 15 17:31:30 UTC 2012


On Wed, Feb 15, 2012 at 8:40 AM, Salvatore Orlando
<Salvatore.Orlando at eu.citrix.com> wrote:
> An unexpected behaviour occurred while creating GRE tunnels with Open vSwitch.
> In a nutshell, GRE tunnels appear to be not working when the name of the tunnel interface exceeded 13 characters. The tunnel is stored in the database, but it does not show up on the datapath.
> This behaviour occurred on OVS 1.0.99 and 1.2.0, but not on OVS 1.0.2.
>
> I'm not sure whether this actually is a bug or the effect of some misconfiguration. The configuration db from the Ubuntu system is attached.
>
> Reproducing the issue
> ----------------------------------
> 1) add an OVS bridge
> 2) add a port to the bridge and set the interface plugged in it to gre type. Make sure the name for the port/interface exceeds 13 characters.
>    e.g.: ovs-vsctl add-port test_br abcdef01234567 -- set interface abcdef01234567 type=gre options:key=999 options:remote_ip=192.168.1.1

Your database file uses the name abcdef0123456789, which is 16
characters and does exceed the maximum length of a device.  The 14
character name works fine for me on both 1.2 and master.



More information about the discuss mailing list