Hi,

Thanks for your answer.


I also want to know if I use the command 'ping' and generate a ICMP packet,
how to get IP address from this packet?
Is there any method in Ryu API? I did not find it.





------------------ Original ------------------
From:  "Marcos";<marcosab...@inf.ufg.br>;
Send time: Friday, Mar 9, 2018 12:12 PM
To: "Zhang Yifan"<zhang*****@qq.com>; 
Cc: "ryu-devel"<ryu-devel@lists.sourceforge.net>; 
Subject:  Re: [Ryu-devel] How to obtain  ip address of hosts



Hello,


 You should to gerenerated traffic in hosts, so you can capture packets and 
extract IP address.
 On Mar 9, 2018, at 1:06 AM, Zhang Yifan <zhangyifa...@qq.com> wrote: Hi,


I use Ryu 4.23 and  Mininet 2.3.0d1 (OVS version is 2.5.2) test SDN 
applications.


My Ryu controller connect to OpenFlow Switches, and some hosts connect to these 
Switches.


I want to know how can I get the ip address of the hosts?


Thanks,
YF


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
------------------------------------------------------------------------------
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