[ovs-dev] GRE TUNNEL

Justin Pettit jpettit at nicira.com
Mon Apr 2 18:40:03 UTC 2012


Oh, so you're using 3.3?  Your original message said 3.0. The upstreamed kernel module doesn't have the built-in support for GRE tunnels. You should be able to use Linux's built-in GRE module (and treat it as a normal system port in OVS) or grab the latest OVS code from git and build the kernel module from source. 

--Justin


On Apr 2, 2012, at 11:35 AM, nicolas prochazka <prochazka.nicolas at gmail.com> wrote:

> No. 
> I'm using openvswitch module in kernel 3.3.0
> + openvswitch 1.4. branch for user land
> => not working
> 
> Before I'm using
> openvswitch 1.4.x + include module 
> on linux kernel 3.1.x
> => working
> 
> But perhaps i do something wrong.
> 
> Nicolas
> 
> 2012/4/2 Justin Pettit <jpettit at nicira.com>
> Oh, yeah.  So I just tried the command on a 3.2.1 kernel with the tip of master, and it worked for me.
> 
> Nicolas, maybe this is a silly question, but you're using the kernel module that came with the 1.4.0 release, right?  You're not using the one that was sent for inclusion upstream, for example.
> 
> --Justin
> 
> 
> On Apr 2, 2012, at 10:14 AM, Ben Pfaff wrote:
> 
> > Both "column=a=b,c=d" and "column:a=b column:c=d" should work and have
> > the same effect, assuming the column is initially empty.  This is
> > documented in ovs-vsctl(8).
> >
> > On Mon, Apr 02, 2012 at 10:07:05AM -0700, Justin Pettit wrote:
> >> The "options" column is followed by a ":" not a "=".  Also, you need
> >> to specify each option separately, so your options arguments would
> >> look more like this (not tested):
> >>
> >>      options:local_ip=10.98.98.1 options:remote_ip=10.98.98.25
> >>
> >> --Justin
> >>
> >>
> >> On Apr 2, 2012, at 5:33 AM, nicolas prochazka wrote:
> >>
> >>> Hello,
> >>> since I'm using linux kernel 3.0.0 + openvswitch 1.4.0 in kernel module ,
> >>> my Gre tunnel does not work,
> >>>
> >>> Apr  2 14:11:46 positronic27900 ovs-vsctl: 00001|vsctl|INFO|Called as ovs-vsctl -- add-port br0 GRE-10.98.98.25 tag=999 -- set interface GRE-10.98.98.25 type=gre options=local_ip=10.98.98.1,remote_ip=10.98.98.25
> >>> Apr  2 12:11:46 positronic27900 ovs-vswitchd: 00029|bridge|INFO|created port GRE-10.98.98.25 on bridge br0
> >>> Apr  2 12:11:46 positronic27900 ovs-vswitchd: 00030|dpif|WARN|system at br0: failed to add GRE-10.98.98.25 as port: Address family not supported by protocol
> >>> Apr  2 12:11:46 positronic27900 ovs-vswitchd: 00031|bridge|WARN|GRE-10.98.98.25 port has no interfaces, dropping
> >>> Apr  2 12:11:46 positronic27900 ovs-vswitchd: 00032|bridge|INFO|destroyed port GRE-10.98.98.25 on bridge br0
> >>>
> >>> what's wrong ?
> >>>
> >>> Regards,
> >>> Nicolas Prochazka
> >>>
> >>>
> >>> _______________________________________________
> >>> dev mailing list
> >>> dev at openvswitch.org
> >>> http://openvswitch.org/mailman/listinfo/dev
> >>
> >> _______________________________________________
> >> dev mailing list
> >> dev at openvswitch.org
> >> http://openvswitch.org/mailman/listinfo/dev
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20120402/21676593/attachment-0003.html>


More information about the dev mailing list