You may need to read the files inside .../ryu/ryu/app.

At 2018-03-09 14:34:52, "Zhang Yifan" <zhangyifa...@qq.com> wrote:

Hi,


Yeah, I can get the IP using Mininet. But I want the Ryu controller learn the 
ip/mac adderss of hosts.




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


Hi,

I think you might need to have a look at the walkthrough on mininet.org. It 
might help you a lot.

At 2018-03-09 14:06:27, "Zhang Yifan" <zhangyifa...@qq.com> wrote:

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




??????????|30??????????????????????????????????????????????????????29.9????>    
------------------------------------------------------------------------------
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