On Fri, 01 Jun 2018 23:53:48 +0900,
Soliman Awad Alshra´a Abdullah TU Ilmenau wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; iso-8859-1 (quoted-printable)>]
> Dears,
> 
> I need to send ping packet with different ip and mac address for the same 
> host repeatedly.
> 
> I use :
> ip, mac = generate_mac()
> H1.setIP(ip)
> H1.setMAC(mac)
> Print H1.cmd('ifconfig')
> 
> I see that host has a new address. But when the controller receive it as 
> packet-In, it shows the original src address.
> 
> Is there any different way to do it ?

You can use a raw socket and prepare an ethernet and IP header by
yourself.

--
IWAMOTO Toshihiro

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to