Thank you very much. I solved my problem. my OVS version is 1.4.1.Kernel 
version is 3.3.7.

On 2012-6-2, at 上午12:34, 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 <[email protected]>
>> 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@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
>> [email protected]
>> http://openvswitch.org/mailman/listinfo/discuss
>> 
>> 
>> 
>> 
>> -- 
>> Edouard Bourguignon
>> _______________________________________________
>> discuss mailing list
>> [email protected]
>> http://openvswitch.org/mailman/listinfo/discuss
> 

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to