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.

Hope that helps.

-- Murphy

On Jul 19, 2013, at 3:39 PM, Silvia Fichera wrote:

> Hello,
> I am having trouble sending packets from l3_learning controller to host.
> 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:
> http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/2012-October/000281.html
> 
> Although I have no traffic too.
> I guess the problem is that I am missing something like
> 
>  self.connection.send(msg)
> 
> but I don't have any datapath connection with any switch since I want to 
> start the communication from the controller.
> Is there an easier way to send these udp packets?
> 
> thanks
> 
> -- 
> Silvia Fichera

Reply via email to