Thanks a lot.
I have solved this problem!
------------------ Original ------------------
From: "Iwase Yusuke";<iwase.yusu...@gmail.com>;
Send time: Tuesday, Mar 13, 2018 10:19 AM
To: "Zhang Yifan"<zhangyifa...@qq.com>;
Cc: "ryu-devel"<ryu-devel@lists.sourceforge.net>;
"15622383059"<15622383...@163.com>;
Subject: Re: [Ryu-devel] How to obtain ip address of hosts
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.
>
>
> ------------------ Original ------------------
> *From: * "??????";<15622383...@163.com <mailto: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
> <mailto:ryu-devel@lists.sourceforge.net>>; "Marcos"<marcosab...@inf.ufg.br
> <mailto: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
> <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: * "Marcos";<marcosab...@inf.ufg.br
> <mailto: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
> <mailto: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
> <mailto: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://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
------------------------------------------------------------------------------
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