Not able to ping between hosts for RYU controller network

344 views
Skip to first unread message

goutham krishna Teja

unread,
Nov 19, 2015, 3:52:22 PM11/19/15
to GENI Users



Hello,

I created a simple switch network with ryu controller as below











when i try to ping from the host h1 to host h2. As first request h1 sends arp request to h2 is not successful and no response from h2 therefore h1 keep on sending arp to reach h2.  I have used the simple_learning_13.py script from Ryu package example.

PFA for screen shot of my terminals.

I tried the above in mininet simulator, it worked well.

can anyone help me out?

Thanks,
Goutham

ryu_sdn

Vicraj Thomas

unread,
Nov 19, 2015, 4:50:31 PM11/19/15
to geni-...@googlegroups.com
Hi Goutham,

Have you verified:
1. You can ping from the switch VM to the controller VM
2. The switch has connected to the controller?

< Vic


On 11/19/15 2:52 PM, goutham krishna Teja wrote:
>
>
> Hello,
>
> I created a simple switch network with ryu controller as below
>
> <https://lh3.googleusercontent.com/-fdj-ZRRbl0A/Vk4xKMnMmDI/AAAAAAAAAc4/eU5Iy-XOCIs/s1600/Screenshot%2Bfrom%2B2015-11-19%2B14%253A28%253A49.png>
>
>
>
>
>
>
>
>
>
>
>
> when i try to ping from the host h1 to host h2. As first request h1
> sends arp request to h2 is not successful and no response from h2
> therefore h1 keep on sending arp to reach h2. I have used the
> simple_learning_13.py script from Ryu package example.
>
> PFA for screen shot of my terminals.
>
> I tried the above in mininet simulator, it worked well.
>
> can anyone help me out?
>
> Thanks,
> Goutham
>
> --
> GENI Users is a community supported mailing list, so please help by
> responding to questions you know the answer to.
>
> If this is your first time posting a question to this list, please
> review
> http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
> ---
> You received this message because you are subscribed to the Google
> Groups "GENI Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geni-users+...@googlegroups.com
> <mailto:geni-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

nriga

unread,
Nov 19, 2015, 7:24:41 PM11/19/15
to GENI Users
Hi Goutham, 

Can you please double check that your hosts are on the same subnet (just do ifconfig)? If they are on different subnets and you are running a simple l2_learning module, then your packets will not get to your destination (no one is doing routing between your subnets). 

Best, 
Niky
Reply all
Reply to author
Forward
0 new messages