[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    No subject
From:       bogus () does ! not ! exist ! com ()
Date:       2011-12-20 2:00:23
Message-ID: mailman.4.1327713645.16496.discuss () openvswitch ! org
[Download RAW message or body]

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
[Attachment #2 (multipart/related)]

[Attachment #4 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div \
style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#333333;"><table \
width="100%" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td \
width="100%"  height="100%" bgcolor="#ffffff" valign="top"><table  width="100%" \
height="100%" style="table-layout:fixed;" cellspacing="0" cellpadding="0" \
align="center"><tbody><tr><td width="140" align="left" valign="bottom"><img \
src="cid:1327712750933 at dclient.mail.yahoo.com" width="120" height="94" alt="" \
border="0"></td><td valign="top" style="overflow: hidden; text-overflow: ellipsis; \
white-space: nowrap;"><table width="100%" style="white-space:normal;" cellspacing="0" \
cellpadding="0"><tbody><tr><td height="30"> </td></tr><tr><td><font face="arial, \
helvetica, sans-serif" size="2" color="#333333" style="font-family:arial, helvetica, \
sans-serif;font-size:12;color:#333333;"><div  \
style="text-align:undefined;"><div>Experts<br>&nbsp;<br>I have set up a GRE tunnel \
between 2 hosts and tried to ping from VM in host1 to VM in \
host2.<br><br><br>VM1--&gt;vswitch -eth0======GRE tunnel=====eth0- \
Vswitch---&gt;VM2<br><br>Command to set up GRE tunnel used:<br>&nbsp;&nbsp; sudo \
ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre \
optiosns:remote_ip=10.0.0.2 options:key=0xf1<br><br>From wireshark decode, I could \
see GRE header has '0xf1'<br><br>The ping from vm1-.&gt;vm2 works.<br><br>Now I added \
a flow on host 2 that drops packets received from the GRE port.<br><br> sudo \
ovs-ofctl&nbsp; add-flow br0 "in_port=3 actions=drop"<br><br>Now ping from \
VM1--&gt;VM2 fails as expected.<br><br>Now I deleted the above and added an another \
flow with tun-id.<br><br>sudo ovs-ofctl&nbsp; add-flow br0 "in_port=3 tun-id=0xf1 \
actions=drop"<br><br>The PING (vm1--&gt;vm2) works contrary to the \
expectations..<br><br>Looks like tun-id&nbsp; does&nbsp; have  any effect on the \
actions..<br><br>Any pointers what I am \
missing?<br><br><br>Thanks<br>=Senthil<br><br> <br><br></div>



</div></font></td></tr><tr><td height="10"> </td></tr></tbody></table></td><td \
width="30"> </td></tr></tbody></table></td></tr><tr><td height="120" \
bgcolor="#ffffff"><table cellpadding="0" cellspacing="0" align="left"><tr><td \
width="310" height="120"><img src="cid:1327712750934 at dclient.mail.yahoo.com" \
width="310" /></td><td align="right" width="*"> \
</td></tr></table></td></tr></tbody></table></div></body></html>


["--static--liam_fetch_bl.gif" (image/gif)]
["--static--liam_fetch_lb.gif" (image/gif)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic