Hi Clément,

Try use wireshark, in  packets' you can  see what's are pushed from controller.
If you use  OVS try this commands: ovs-vsctl list-br and  ovs-ofctl dump-flows 
br0 

I guess it can be problem with ARP.

Regards,
 Vilius.


-----Original Message-----
From: Clément Rault [mailto:[email protected]] 
Sent: Friday, December 5, 2014 11:58 AM
To: [email protected]
Subject: [Ryu-devel] Check if the rules are working/applied

Hi,

Is there a way that I could check if the rules that I pushed are being applied?

I have a really simple topology (the mininet config file is attached to the 
email) and I try to ping h2 from h1 but it seems that the rule that I pushed to 
h2 is not working :/.

Do you have an idea why it's not working? And how I could figure it out?

H1 --- S1 ---- S2 --- H2

------------------
mininet> h1 ip route
11.0.0.0/24 dev h1-eth0  proto kernel  scope link  src 11.0.0.1

mininet> h2 ip route
11.0.0.0/24 dev h2-eth0  proto kernel  scope link  src 11.0.0.2

mininet> h1 ping s1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.032 ms
--- 127.0.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt 
min/avg/max/mdev = 0.019/0.025/0.032/0.008 ms

mininet> h1 ping s2
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.032 ms
--- 127.0.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt 
min/avg/max/mdev = 0.023/0.027/0.032/0.006 ms

mininet> h1 ping h2
PING 11.0.0.2 (11.0.0.2) 56(84) bytes of data.
>From 11.0.0.1 icmp_seq=1 Destination Host Unreachable From 11.0.0.1 
>icmp_seq=2 Destination Host Unreachable From 11.0.0.1 icmp_seq=3 
>Destination Host Unreachable
--- 11.0.0.2 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3002ms

Thanks,

Best,
Clément


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to