Thanks for your kindly reply.
After I saw your email, I suddenly understood that L3 switch (router) don't 
need to have an IP address on each interface, they just need to know which 
out-interface and corresponding MAC addr to transmit the packets to. Because 
the 'traceroute' command will print the IP address of all L3 switch along the 
path, I mistakenly thought each interface need to have an IP.
What I am doing now is trying to obtain the topology and subnet information of 
a SDN network. As for the subnet, I mean a L3 switch and all hosts that using 
it as gateway. For example, 5 hosts from 179.0.0.10-179.0.0.14 are connected to 
a L3 switch, that switch have an interface with IP 179.0.0.1, which is the 
gateway of that 5 hosts. I want to find all subnets in a SDN network.


lichen
 From: Flavio JuniorDate: 2014-12-23 20:34To: Chen LiCC: ryu-develSubject: Re: 
[Ryu-devel] A question about obtain IP address of vSwitchI may be wrong.
But as of my understanding there's no such thing (necessarily) as a L3 address 
of a interface in the Openflow Architecture.
A L3 address means the router would answer ARP requests for that IP, and match 
on those fields.
It would also use that information to construct its routing table and figure 
out the next hop for incoming packets. As I understand, that means you need to 
put that information in your view of the network somehow.
Would you tell me what you are trying to do?
Flavio Castro

On Tue, Dec 23, 2014 at 4:57 AM, Chen Li <[email protected]> wrote:
Hello there, I am a newbie to OpenFlow and Ryu, I am trying to write a tool to 
display the topology of a SDN netowork.  Now I already knew how to get the 
topology information, but how can I get the IP address of all interfaces of a 
L3 vSwitch? I have referred to OpenFlow specification and Ryu documentation, 
but can’t find it anywhere, It would be great if someone can help me with that. 
Many thanks : )


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to