<div dir="ltr">> <span style="font-family:arial,sans-serif;font-size:13px"> In which case, there's no way to send except via a datapath or a host which actually is.</span><div>Can you clarify this sentence?</div><div>
<br></div><div>Am I following the right way to send packets from the controller to hosts through switches, so using my network, or do I miss something?</div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/20 Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">If I'm understanding correctly, the problem is that the controller isn't necessarily *on* the data network. In Mininet, for example, it is often the case that the controller and the datapaths are linked essentially by a separate management network, and this is not an unusual case in the real world either. In which case, there's no way to send except via a datapath or a host which actually is.<div>
<br></div><div>Hope that helps.</div><span class=""><font color="#888888"><div><br></div><div>-- Murphy</div></font></span><div><div class="h5"><div><br><div><div><div>On Jul 19, 2013, at 3:39 PM, Silvia Fichera wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div><div>Hello,<br>I am having trouble sending packets from l3_learning controller to host.<br></div>I would like to send UDP packets but if I try to use normal socket from controller I see no traffic (I minotired it with wireshark on all switches) unless I send to itself (127.0.0.1). I was also trying to make a switch sending the controller generated packet in this way:<br>
<a href="http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/2012-October/000281.html" target="_blank">http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/2012-October/000281.html</a><br><br></div>Although I have no traffic too.<br>
I guess the problem is that I am missing something like<br><br> self.connection.send(msg)<br clear="all"><div><div><div><div><br></div><div>but I don't have any datapath connection with any switch since I want to start the communication from the controller.<br>
</div><div>Is there an easier way to send these udp packets?<br><br></div><div>thanks<br></div><div><br></div><div>-- <br>Silvia Fichera</div></div></div></div></div>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Silvia Fichera
</div></div></div>