<div dir="ltr">You just ned make simple code revision to work with INCM packets work in your case. As Murphy suggested, current module is TCP_balancer. Why not try iperf in mininet?<div><br></div><div style>Weiyang</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-10 5:09 GMT-07:00 shads s <span dir="ltr"><<a href="mailto:shasi0625@gmail.com" target="_blank">shasi0625@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hello<br><br><br></div><div>How do I execute it with only TCP? <br><br></div><div>When i give  h1 ping h2 in Mininet without the remote POX controller it executes and gives the following output.<br><br>

mn<br>*** Creating network<br>*** Adding controller<br>*** Adding hosts:<br>h1 h2 <br>*** Adding switches:<br>s1 <br>*** Adding links:<br>(h1, s1) (h2, s1) <br>*** Configuring hosts<br>h1 h2 <br>*** Starting controller<br>

*** Starting 1 switches<br>s1 <br>*** Starting CLI:<br>mininet> h1 ping h2<br>PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.<br>64 bytes from <a href="http://10.0.0.2" target="_blank">10.0.0.2</a>: icmp_seq=1 ttl=64 time=2.71 ms<br>
64 bytes from <a href="http://10.0.0.2" target="_blank">10.0.0.2</a>: icmp_seq=2 ttl=64 time=0.202 ms<br>
<br></div><div>But when I run with POX controller why doesn't it ping?<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 10, 2014 at 12:57 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@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 style="word-wrap:break-word">I think the answer to this is hinted at in a comment in ip_loadbalancer.  As shipped, it really only works with TCP.  I think it'd be easy enough to make it work with ICMP, but... why bother?  Maybe it should be named tcp_loadbalancer.<span><font color="#888888"><div>

<br></div></font></span><div><span><font color="#888888">-- Murphy</font></span><div><div><br><div><br><div><div>On Apr 10, 2014, at 12:14 AM, shads s <<a href="mailto:shasi0625@gmail.com" target="_blank">shasi0625@gmail.com</a>> wrote:</div>

<br><blockquote type="cite"><div dir="ltr"><div>Hello All,<br><br></div><div>I have tried to execute misc.ip_loadbalancer example along with mininet. But I am not able to ping between hosts. When
 i do a tcpdump -i s1-eth1 -n i can see only ARP request packets going 
to the servers but no reply packets coming back to the clients. I dont know what is the error. Kindly advise.<br><br><b>Following is the output of POX:<br>---------------------------------------------<br></b>./pox.py misc.ip_loadbalancer --ip=10.1.2.3 --servers=10.0.0.5,10.0.0.6,10.0.0.7,10.0.0.8<br>


POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.<br>INFO:core:POX 0.2.0 (carp) is up.<br>INFO:openflow.of_01:[00-00-00-00-00-01 1] connected<br>INFO:iplb:IP Load Balancer Ready.<br>INFO:iplb:Load Balancing on [00-00-00-00-00-01 1]<br>


INFO:iplb.00-00-00-00-00-01:Server 10.0.0.5 up<br>INFO:iplb.00-00-00-00-00-01:Server 10.0.0.6 up<br>INFO:iplb.00-00-00-00-00-01:Server 10.0.0.7 up<br>INFO:iplb.00-00-00-00-00-01:Server 10.0.0.8 up<br><br><br></div><div><b>Mininet Network details:</b><br>


<b>-----------------------------------</b><br>mininet> net<br>h1 h1-eth0:s1-eth1<br>h2 h2-eth0:s1-eth2<br>h3 h3-eth0:s1-eth3<br>h4 h4-eth0:s1-eth4<br>h5 h5-eth0:s1-eth5<br>h6 h6-eth0:s1-eth6<br>h7 h7-eth0:s1-eth7<br>h8 h8-eth0:s1-eth8<br>


s1 lo:  s1-eth1:h1-eth0 s1-eth2:h2-eth0 s1-eth3:h3-eth0 s1-eth4:h4-eth0 s1-eth5:h5-eth0 s1-eth6:h6-eth0 s1-eth7:h7-eth0 s1-eth8:h8-eth0<br>c0<br><br></div><div><b>TCPDUMP logs:<br>------------------------<br></b></div><div>


# tcpdump -i s1-eth1 -n<br>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>listening on s1-eth1, link-type EN10MB (Ethernet), capture size 65535 bytes<br>12:24:31.983329 IP 10.0.0.1 > <a href="http://10.0.0.5/" target="_blank">10.0.0.5</a>: ICMP echo request, id 6952, seq 8, length 64<br>


12:24:32.983326 IP 10.0.0.1 > <a href="http://10.0.0.5/" target="_blank">10.0.0.5</a>: ICMP echo request, id 6952, seq 9, length 64<br>12:24:33.056225 ARP, Request who-has 10.0.0.7 (Broadcast) tell 10.1.2.3, length 28<br>

12:24:33.983326 IP 10.0.0.1 > <a href="http://10.0.0.5/" target="_blank">10.0.0.5</a>: ICMP echo request, id 6952, seq 10, length 64<br>
12:24:34.350903 ARP, Request who-has 10.0.0.8 (Broadcast) tell 10.1.2.3, length 28<br><br></div><div>Thanks<br>Sharadhi</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 10, 2014 at 11:05 AM, Weiyang Mo <span dir="ltr"><<a href="mailto:moweiyang1988@gmail.com" target="_blank">moweiyang1988@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">Hi,<div><br></div><div>You may refer to <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:16px;line-height:1.5625">misc.ip_loadbalancer in pox folder.</span></div>


<div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:16px;line-height:1.5625"><br>
</span></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:16px;line-height:1.5625">Weiyang</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-09 22:29 GMT-07:00 shads s <span dir="ltr"><<a href="mailto:shasi0625@gmail.com" target="_blank">shasi0625@gmail.com</a>></span>:<div>


<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello all<br><br></div>I am new to networking and SDN.<br></div>Although I have tried few examples in mininet using POX controller, I need guidance in executing a simple Loadbalancer.<br>




</div>Hoping to get some solution<br><br></div>Thanks<br></div>Sharadhi<br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>