[ovs-discuss] gre tunnel create problem

Ben Pfaff blp at nicira.com
Fri Jun 1 21:17:22 UTC 2012


I was thinking that we should document it alongside each place where we
mention a feature.  For example, in ovs-vswitch.conf.db(5) we would
mention support for GRE in the same place that we describe GRE.

On Fri, Jun 01, 2012 at 02:15:56PM -0700, Justin Pettit wrote:
> I was thinking the same thing.  Do you think we put it in the website
> FAQ or a document in the repo?
> 
> --Justin
> 
> 
> On Jun 1, 2012, at 2:14 PM, Ben Pfaff wrote:
> 
> > We need to document which features work with the upstream kernel module
> > and which only with the separate one.  So far I don't think we do that.
> > 
> > On Fri, Jun 01, 2012 at 09:34:05AM -0700, Justin Pettit wrote:
> >> My guess is that you're both using the upstreamed OVS kernel module,
> >> which does not have the built-in support for tunneling.  You can use
> >> Linux's native GRE tunnels and just attach them as you would other
> >> interfaces to OVS.  You'll lose the ability to dynamically set the key
> >> and create tunnels through the database, though.  If you need that
> >> functionality, you'll need to use the kernel module that comes with
> >> our distribution.
> >> 
> >> --Justin
> >> 
> >> 
> >> On Jun 1, 2012, at 4:25 AM, Madko wrote:
> >> 
> >>> I have exactly the same problem on Fedora 17 (kernel 3.3.7), https://bugzilla.redhat.com/show_bug.cgi?id=821159
> >>> 
> >>> 
> >>> 2012/6/1 faicker mo <faicker.mo at gmail.com>
> >>> I create gre tunnel like this:
> >>> 
> >>> ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre options:remote_ip=192.168.1.101
> >>> 
> >>> But I found:
> >>> 
> >>> ovs-vsctl show
> >>> 8a59928b-ebf3-44f9-85d4-80fdac32207f
> >>>    Bridge "br0"
> >>>        Port "br0"
> >>>            Interface "br0"
> >>>                type: internal
> >>>        Port "gre0"
> >>>            Interface "gre0"
> >>>                type: gre
> >>>                options: {remote_ip="192.168.1.101"}
> >>>        Port "vnet0"
> >>>            Interface "vnet0"
> >>> 
> >>> the /var/log/messages.log:
> >>> 
> >>> 7040 Jun  1 19:03:02 archlinux ovs-vswitchd: 00062|bridge|INFO|created port gre0 on bridge br0                                                                
> >>> 7041 Jun  1 19:03:02 archlinux ovs-vswitchd: 00063|dpif|WARN|system at br0: failed to add gre0 as port: Address family not supported by protocol                 
> >>> 7042 Jun  1 19:03:02 archlinux ovs-vswitchd: 00064|bridge|WARN|gre0 port has no interfaces, dropping                                                          
> >>> 7043 Jun  1 19:03:02 archlinux ovs-vswitchd: 00065|bridge|INFO|destroyed port gre0 on bridge br0                                                              
> >>> 7044 Jun  1 19:03:02 archlinux ovs-vswitchd: 00066|bridge|WARN|bridge br0: using default bridge Ethernet address b3:8b:ef:f1:d6:41 
> >>> 
> >>> -------
> >>> I searched, and I unloaded the gre,ip_gre module, but the problem is the same. 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> _______________________________________________
> >>> discuss mailing list
> >>> discuss at openvswitch.org
> >>> http://openvswitch.org/mailman/listinfo/discuss
> >>> 
> >>> 
> >>> 
> >>> 
> >>> -- 
> >>> Edouard Bourguignon
> >>> _______________________________________________
> >>> discuss mailing list
> >>> discuss at openvswitch.org
> >>> http://openvswitch.org/mailman/listinfo/discuss
> >> 
> >> _______________________________________________
> >> discuss mailing list
> >> discuss at openvswitch.org
> >> http://openvswitch.org/mailman/listinfo/discuss
> 



More information about the discuss mailing list