<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
I am using vlan mode networking. There appears to be a flaw in my flow rules. <br>
<br>
To the best of my knowledge the in_port in the below output should have been 3(according to ovs-dpctl show). But it is 33. To my surprise however, my setup is working. Can any one explain to me how this can happen.<br>
<br>
root@mars:~# ovs-ofctl dump-flows br-int<br>
NXST_FLOW reply (xid=0x4):<br>
cookie=0x0, duration=522.826s, table=0, n_packets=263, n_bytes=39666, idle_age=429, priority=3<font color="FF0000" size="4"><b>,in_port=33</b></font>,dl_vlan=100 actions=mod_vlan_vid:2,NORMAL<br>
cookie=0x0, duration=2567.744s, table=0, n_packets=920, n_bytes=197692, idle_age=0, priority=2<font color="FF0000" size="4"><b>,in_port=33
</b></font>actions=drop<br>
cookie=0x0, duration=2568.669s, table=0, n_packets=384, n_bytes=37365, idle_age=429, priority=1 actions=NORMAL<br>
root@mars:~# ovs-ofctl dump-flows br-eth1<br>
NXST_FLOW reply (xid=0x4):<br>
cookie=0x0, duration=525.124s, table=0, n_packets=384, n_bytes=37693, idle_age=431, priority=4,in_port=5,dl_vlan=2 actions=mod_vlan_vid:100,NORMAL<br>
cookie=0x0, duration=2569.882s, table=0, n_packets=6, n_bytes=468, idle_age=2559, priority=2,in_port=5 actions=drop<br>
cookie=0x0, duration=2570.721s, table=0, n_packets=12748, n_bytes=978934, idle_age=1, priority=1 actions=NORMAL<br>
root@mars:~# ovs-dpctl show<br>
system@ovs-system:<br>
lookups: hit:39891511 missed:7260493 lost:0<br>
flows: 11<br>
port 0: ovs-system (internal)<br>
port 1: br-int (internal)<br>
port 2: br-eth1 (internal)<br>
port 3: int-br-eth1<br>
port 4: phy-br-eth1<br>
port 5: eth1<br>
port 6: tap4385c710-be<br>
root@mars:~# <br>
<br>
<br>
</div>
http://www.csscorp.com/common/email-disclaimer.php
</body>
</html>