Re: [pox-dev] Create ICMP packets in POX

2015-02-28 Thread Murphy McCauley
Use Wireshark to examine the destination host's interface. Do you see the packet? Is it as you expect it? -- Murphy On Feb 28, 2015, at 11:06 AM, Sandesh Shrestha sande...@ualberta.ca wrote: Thank you very much for pointing that out Murphy. However, I am still not able to get the response

Re: [pox-dev] Create ICMP packets in POX

2015-02-28 Thread Sandesh Shrestha
Thank you very much for pointing that out Murphy. However, I am still not able to get the response ping. Please share if you have any idea. Thanks, Sandesh Shrestha On Fri, Feb 27, 2015 at 8:39 PM, Murphy McCauley murphy.mccau...@gmail.com wrote: Jumping in with a quick comment below... On

Re: [pox-dev] Create ICMP packets in POX

2015-02-28 Thread Lucas Brasilino
Hi Sandesh, I used arbitrary source mac address and source ip. The destination ip and destination mac address is the values of the mininet host connected in port 1 of the switch. If mininet's destination host is connected to the same switch of your source host or it is connected to other

Re: [pox-dev] Create ICMP packets in POX

2015-02-28 Thread Sandesh Shrestha
Hello All, I got it. Thanks for your support. I got arp request in POX which is enough for my need. I just had to calculate the round trip time. Thanks, Sandesh Shrestha On Sat, Feb 28, 2015 at 6:26 PM, Lucas Brasilino lr...@cin.ufpe.br wrote: Hi Sandesh, I used arbitrary source mac

Re: [pox-dev] Create ICMP packets in POX

2015-02-27 Thread Murphy McCauley
Jumping in with a quick comment below... On Feb 27, 2015, at 11:15 AM, Sandesh Shrestha sande...@ualberta.ca wrote: Hey Lucas, Thanks for the help. I was able to send icmp packets to mininet host using the code below. I used arbitrary source mac address and source ip. The destination ip

Re: [pox-dev] Create ICMP packets in POX

2015-02-27 Thread Sandesh Shrestha
Hey Lucas, Thanks for the help. I was able to send icmp packets to mininet host using the code below. I used arbitrary source mac address and source ip. The destination ip and destination mac address is the values of the mininet host connected in port 1 of the switch. However I was not able to

Re: [pox-dev] Create ICMP packets in POX

2015-02-26 Thread Lucas Brasilino
Hi Sadesh, I think you can construct a ICMP request as below. I did use python interactively just as example. The ethernet packet object 'eth' must be sent by using openflow's ofp_packet_out() (method) message along with ofp_action_output() (method) action to inform switch which output port the