<div dir="ltr"><br><div>  A few issues here.</div><div><br></div><div>1. Are you trying to run without a controller?</div><div><br></div><div>2. Is the <span style="font-family:arial,sans-serif;font-size:13px">dpctl</span><span style="font-family:arial,sans-serif;font-size:13px"> succeeding for you?  Each switch will have its own </span><span style="font-family:arial,sans-serif;font-size:13px">dpctl</span><span style="font-family:arial,sans-serif;font-size:13px"> port number.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Greg</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 2:54 AM, Hamid Tahaei <span dir="ltr"><<a href="mailto:tahaei.hamid@gmail.com" target="_blank">tahaei.hamid@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p class="MsoNormal">Hello all</p>

<p class="MsoNormal">Would you plz help. I am very new in mininet</p>

<p class="MsoNormal">I have this topology in mininet. However, when I add some
flows in flow table the host h1 and h2 cannot ping each other, though there is
no error when adding dpctl add-flow.</p>

<p class="MsoNormal">Can anyone help please????</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">sudo mn --topo=linear,3 --mac --switch ovsk
--controller=remote</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">mininet>
net</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">c0</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s1 lo:  s1-eth1:h1-eth0 s1-eth2:s2-eth2</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s2 lo:  s2-eth1:h2-eth0 s2-eth2:s1-eth2
s2-eth3:s3-eth2</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s3 lo:  s3-eth1:h3-eth0 s3-eth2:s2-eth3</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">h1
h1-eth0:s1-eth1</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">h2
h2-eth0:s2-eth1</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">h3
h3-eth0:s3-eth1</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s1 dpctl
add-flow tcp:<a href="http://127.0.0.1:6634" target="_blank">127.0.0.1:6634</a> in_port=1,actions=output:2</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s1 dpctl
add-flow tcp:<a href="http://127.0.0.1:6634" target="_blank">127.0.0.1:6634</a> in_port=2,actions=output:1</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s2 dpctl
add-flow tcp:<a href="http://127.0.0.1:6634" target="_blank">127.0.0.1:6634</a> in_port=1,actions=output:2</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s2 dpctl
add-flow tcp:<a href="http://127.0.0.1:6634" target="_blank">127.0.0.1:6634</a> in_port=2,actions=output:1</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s3 dpctl
add-flow tcp:<a href="http://127.0.0.1:6634" target="_blank">127.0.0.1:6634</a> in_port=1,actions=output:2</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">s3 dpctl
add-flow tcp:<a href="http://127.0.0.1:6634" target="_blank">127.0.0.1:6634</a> in_port=2,actions=output:1</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">mininet>
pingall</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">*** Ping:
testing ping reachability</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">h1 -> X X</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">h2 -> X X</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">h3 -> X X</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt">*** Results:
100% dropped (6/6 lost)</p></div>
<br>_______________________________________________<br>
mininet-discuss mailing list<br>
<a href="mailto:mininet-discuss@lists.stanford.edu">mininet-discuss@lists.stanford.edu</a><br>
<a href="https://mailman.stanford.edu/mailman/listinfo/mininet-discuss" target="_blank">https://mailman.stanford.edu/mailman/listinfo/mininet-discuss</a><br>
<br></blockquote></div><br></div>