Re: [pox-dev] Getting counter values in POX controller

2015-02-28 Thread Murphy McCauley
Haha. What a coincidence. :) On Feb 28, 2015, at 4:10 PM, Sulabh Bista sul...@gmail.com wrote: Hey, A generic method would be: Requesting statistics from a switch (see: https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-ofp_stats_request-Requestingstatisticsfromswitches)

Re: [pox-dev] dec_ttl not working

2015-02-28 Thread Murphy McCauley
Have you tried looking at the table on the switch and verifying that you see the entry as you expect (e.g., including the decrement action)? The easiest way to do this is probably using ovs-ofctl. -- Murphy On Feb 28, 2015, at 12:28 PM, AMER amer7...@hotmail.com wrote: Hello, Dear I

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] Getting counter values in POX controller

2015-02-28 Thread Murphy McCauley
In OpenFlow, these values are known as statistics. Have you read the relevant sections of the OpenFlow specification and the POX manual? If not, I'd suggest reading the following sections in the POX manual: Statistics Events ofp_stats_request - Requesting statistics from switches Statistics

Re: [pox-dev] dec_ttl not working

2015-02-28 Thread AMER
However, I tried it with proactive mode, unfortunately noting decremented Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA From: amer7...@hotmail.com To: murphy.mccau...@gmail.com; pox-dev@lists.noxrepo.org Date: Sat, 28 Feb 2015 20:28:49 + Subject: [pox-dev] dec_ttl not working

Re: [pox-dev] Getting counter values in POX controller

2015-02-28 Thread Sulabh Bista
Hey, A generic method would be: 1. Requesting statistics from a switch (see: https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-ofp_stats_request-Requestingstatisticsfromswitches ) 2. Listening to statistics events (see:

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

[pox-dev] dec_ttl not working

2015-02-28 Thread AMER
Hello, Dear I am using mininet v 2.0 and OVS 1,10 I run wireshatk in the background to check the IP-TTL value, however it isn't decremented I have used the following commands in riplpox to decrement the IP_TTL in reactive mode def install(self, port, packet, buf = None, idle_timeout = 0,

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] Getting counter values in POX controller

2015-02-28 Thread Sandesh Shrestha
Helllo Sulabh and Murphy, Thanks a lot for the link. I got it now. Thanks, Sandesh Shrestha On Sat, Feb 28, 2015 at 5:13 PM, Murphy McCauley murphy.mccau...@gmail.com wrote: Haha. What a coincidence. :) On Feb 28, 2015, at 4:10 PM, Sulabh Bista sul...@gmail.com wrote: Hey, A generic

Re: [pox-dev] dec_ttl not working

2015-02-28 Thread Amer
Thank you Murphy I dump the flow table of one of the switches, I found the dec_ttl there. I used the following command: sh ovs-ofctl dump-flows 0_0_1 Best regards, Sent from my iPhone On ٠١‏/٠٣‏/٢٠١٥, at ٣:٠٧ ص, Murphy McCauley murphy.mccau...@gmail.com wrote: Have you tried looking at the