Hi Zhang and Thanks a lot ??????!
Excuse me for jumping in.
Please refer to the Ryu-Book for getting started.
For example, "Switching Hub" section describes how to get MAC address of hosts
on Ryu application. I guess you can also get IP address in the similar way.
http://osrg.github.io/ryu-book/en/html/switching_hub.html
Thanks,
Iwase
On 2018??03??09?? 15:49, ?????? wrote:
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.
------------------?0?2Original?0?2------------------
*From: *?0?2"??????";<15622383...@163.com <mailto:15622383...@163.com>>;
*Send time:*?0?2Friday, Mar 9, 2018 2:28 PM
*To:*?0?2"Zhang Yifan"<zhan********@qq.com>;
*Cc:*?0?2"ryu-devel"<ryu-devel@lists.sourceforge.net
<mailto:ryu-devel@lists.sourceforge.net>>; "Marcos"<marcosab...@inf.ufg.br
<mailto:marcosab...@inf.ufg.br>>;
*Subject: *?0?2Re: [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
<mailto: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: *?0?2"Marcos";<marcosab...@inf.ufg.br
<mailto:marcosab...@inf.ufg.br>>;
*Send time:*?0?2Friday, Mar 9, 2018 12:12 PM
*To:*?0?2"Zhang Yifan"<zhang*****@qq.com>;
*Cc:*?0?2"ryu-devel"<ryu-devel@lists.sourceforge.net
<mailto:ryu-devel@lists.sourceforge.net>>;
*Subject: *?0?2Re: [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
<mailto:zhangyifa...@qq.com>> wrote:
Hi,
I use Ryu 4.23 and ?0?2Mininet 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://Slashdot.org>!http://sdm.link/slashdot
--------------------------------------------------------------------------------
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
<mailto:Ryu-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ryu-devel
??????????|30??????????????????????????????????????????????????????29.9????>
<http://you.163.com/item/list?categoryId=1008000&subCategoryId=1008010&from=web_gg_mail_jiaobiao_2>
??????????|30??????????????????????????????????????????????????????29.9????>
<http://you.163.com/item/list?categoryId=1008000&subCategoryId=1008010&from=web_gg_mail_jiaobiao_2
>
------------------------------------------------------------------------------
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