Red Hat Bugzilla – Bug 821159
Unable to create GRE tunnel: Address family not supported by protocol
Last modified: 2012-06-19 19:40:18 EDT
Description of problem:
When trying to create a GRE tunnel between two ovs-vswitchd, no GRE traffic is generated, GRE interface seems to be disabled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install openvswtich
2. service openvswitch start
3. ovs-vsctl add-br br0
4. ovs-vsctl \
-- --id=@i create interface name=gre0 type=gre \
-- --id=@p create port name=gre0 interfaces=[@i] \
-- add bridge br0 ports @p
May 12 17:32:55|00032|dpif|WARN|system@br0: failed to add gre0 as port: Address family not supported by protocol
May 12 17:32:55|00033|bridge|WARN|gre0 port has no interfaces, dropping
May 12 17:32:55|00034|bridge|INFO|destroyed port gre0 on bridge br0
May 12 17:32:55|00035|bridge|WARN|bridge br0: using default bridge Ethernet address 3a:46:68:e4:a2:4d
Kernel Gre module is not loaded since ovs uses its own implementation.
gre interface/port in ovs should be working
tcpdump shows no GRE traffic
I'm using openvswitch for a couple of years on RHEL and it's the first time I get this error. Any idea?
The Fedora Open vSwitch kernel module is directly from upstream Linux which does not (yet) support tunnelling mode.