On 6/6/2019 9:33 AM, Gregory Rose wrote:
On 6/5/2019 11:52 PM, Eli Britstein wrote:
[snip]
# ovs-vsctl add-port br1 gre6 -- set interface gre6 type=ip6gre
options:key=55 options:remote_ip=2001:db8:0:f102::f0
ovs-vsctl: Error detected while setting up 'gre6': could not add network
device gre6 to ofproto (Address family not supported by protocol). See
ovs-vswitchd log for details.
ovs-vsctl: The default log directory is "/var/log/openvswitch".
# uname -a
Linux dev-r-vrt-214-011.mtr.labs.mlnx 4.5.5-300.fc24.x86_64 #1 SMP Thu
May 19 13:05:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Really. Well, that is odd. Are you working from the master branch?
I don't have a 4.5 kernel handy
but I can certainly check against the 4.4 kernel on Ubuntu 16. I'll go
see if something has broken.
It seems to be working for me on Ubuntu 16.04 with the 4.4-116 kernel.
Machine A:
root@ubuntu-1604-base:~/ovs-test-scripts# uname -r
4.4.0-116-generic
root@ubuntu-1604-base:~/ovs-test-scripts# ovs-vsctl show
6be291a9-6bab-4fff-bda9-7f54335b4884
Bridge "br0"
Port "br0"
Interface "br0"
type: internal
Port "ip6gre0"
Interface "ip6gre0"
type: "ip6gre"
options: {key="100", remote_ip="f200::51"}
ovs_version: "2.11.90"
root@ubuntu-1604-base:~/ovs-test-scripts# ip addr show br0
11: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN group default qlen 1000
link/ether 5e:ac:77:a7:f3:42 brd ff:ff:ff:ff:ff:ff
inet 171.31.1.104/24 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::5cac:77ff:fea7:f342/64 scope link
valid_lft forever preferred_lft forever
Machine B:
root@ubuntu-1604-base:~/ovs-test-scripts# uname -r
4.4.0-116-generic
root@ubuntu-1604-base:~/ovs-test-scripts# ovs-vsctl show
7f315b12-4cfb-45c8-a5b7-9359f92aa556
Bridge "br0"
Port "br0"
Interface "br0"
type: internal
Port "ip6gre0"
Interface "ip6gre0"
type: "ip6gre"
options: {key="100", remote_ip="f200::104"}
ovs_version: "2.11.90"
root@ubuntu-1604-base:~/ovs-test-scripts# ip addr show br0
10: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN group default qlen 1000
link/ether ea:95:df:78:37:4f brd ff:ff:ff:ff:ff:ff
inet 171.31.1.51/24 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::e895:dfff:fe78:374f/64 scope link
valid_lft forever preferred_lft forever
Machine A can ping Machine B over the ip6gre tunnel:
root@ubuntu-1604-base:~/ovs-test-scripts# ping 171.31.1.51
PING 171.31.1.51 (171.31.1.51) 56(84) bytes of data.
64 bytes from 171.31.1.51: icmp_seq=1 ttl=64 time=3.23 ms
64 bytes from 171.31.1.51: icmp_seq=2 ttl=64 time=0.379 ms
64 bytes from 171.31.1.51: icmp_seq=3 ttl=64 time=0.459 ms
64 bytes from 171.31.1.51: icmp_seq=4 ttl=64 time=0.337 ms
64 bytes from 171.31.1.51: icmp_seq=5 ttl=64 time=0.314 ms
So at least for Ubuntu 16.04 with the generic 4.4-116 kernel things are
working. Let me download and install
Fedora 24 and try that.
- Greg
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss