Hi.
I am using openvswitch 2.1.0+git20140411-2 from debian sid .I used
wheezy and jessie before but couldn't find a solution and upgraded
openvswitch to 2.1 from sid, the problems are still here (on wheezy there
were more errors and kernel panics so I upgraded to jessie and it worked
once then I upgraded to sid and it also worked once).
I use openvswitch like this:
ovs-vsctl add-br vbr0
ovs-vsctl add-port vbr0 gre0
ovs-vsctl set interface gre0 type=ipsec_gre
options:remote_ip=xxx.xxx.xxx.xx options:psk=secret
ifconfig vbr0 10.0.0.1 netmask 255.255.255.0 up
and on the second machine I use the the same settings but 10.0.0.2 for vbr0.
And... it works! Yey I can do ping 10.0.0.1 from both machines.
Unless I reboot machine or restart openvswitch-vswitch. Then openvswitch
cannot pass packages.
diff conf.db
/etc/openvswitch/conf.db
22a23,24
> OVSDB JSON 91
826ff68768e0c2af03da099b6c14be09a37b0a98
>
{"_date":1397927799630,"Interface":{"c4996a13-ebc5-4fe9-8af8-3e5221495239":{"ofport":-1}}}
So, during restart openvswitch add this ofport to gre0 interface.
Why? How to prevent openvswich from doing it or what ofport should be set
to?
Tomek Czyż
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss