 | | Experts I have set up a GRE tunnel between 2 hosts and tried to ping from VM in host1 to VM in host2.
VM1-->vswitch -eth0======GRE tunnel=====eth0- Vswitch--->VM2
Command to set up GRE tunnel used: sudo ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre optiosns:remote_ip=10.0.0.2 options:key=0xf1
From wireshark decode, I could see GRE header has '0xf1'
The ping from vm1-.>vm2 works.
Now I added a flow on host 2 that drops packets received from the GRE port.
sudo ovs-ofctl add-flow br0 "in_port=3 actions=drop"
Now ping from VM1-->VM2 fails as expected.
Now I deleted the above and added an another flow with tun-id.
sudo ovs-ofctl add-flow br0 "in_port=3 tun-id=0xf1 actions=drop"
The PING (vm1-->vm2) works contrary to the expectations..
Looks like tun-id does have
any effect on the actions..
Any pointers what I am missing?
Thanks =Senthil
| |
| |
|
|
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss