Hi all,

I am trying to make a simple ryu program which redirects the packets.

I have three hosts(h1, h2, h3) and one ryu controller, and openwrt switch. 

If I ping from h1 to h2, the following happens:
     1. h1 sends broadcast packets to all hosts looking for h2's mac address. 
(the packet is about "who has h2")
     2. controller changes h2 into h3 in the broadcast packet (the packet is 
changed into "who has h3")
     3. h3 sends ARP reply message to h1 (the packet is about "h3 is here"). 
     4. Controller changes the source mac and ip addresses in the packet so 
that the packet looks like from h2 
          (the packet is about "h2 is there").
     5. h1 believes the packet is sent from h2 and starts to send ICMP request 
to h2.
     6. controller send the packet to h3.
 
For these, the program keeps all mac addresses and ip addresses for all hosts.

This program works perfectly in Mininet. But it does not work for the real 
testbed. The switch and controller does not show errors.
The ping says destination host is not reachable. I checked the input, output 
packets in controller and those seemed to be ok.

I think the reason is that the controller can manipulate the packet, but it 
cannot create one to make believe by host.
And the reason that the program works in Mininet is because the hosts are 
virtual and created by me.
Because mac addresses and ip address for real machines are different from those 
in mininet, I made changes, but I don't think that is the problem.

Can anybody tell me what my problem is?
Thank you in advance.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to