[pox-dev] Switch & Host Disconnect

2013-11-13 Thread Muhammad Furqan Gagan
Hello.. I want to clear all the data that my switches stored when they disconnect. is there any way to track disconnection of switches and host? Any idea? Thanks Muhammad

Re: [pox-dev] ARP request

2013-11-13 Thread Amer
Hello, You can use: 1. Broadcast something as following If match.dl_type = packet.ARP : match.src=Packet.src match.dst=packet.dst action = FLOOD 2. Set the ARP in each for each hosts using new version of mininet check this post in mininet archive https://mailman.stanford.edu/p

Re: [pox-dev] [mininet-discuss] host unreachable

2013-11-13 Thread David Mahler
https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-InvokingPOX you have to run pox with a component like "./pox.py samples.pretty_log forwarding.l2_learning" I'm assuming you didn't do that On Wed, Nov 13, 2013 at 10:42 AM, farshad tajedin wrote: > hi > when i run mininet by like

Re: [pox-dev] get_path info for two hosts

2013-11-13 Thread Murphy McCauley
I guess that depends on what "host" means to you. Recapping my previous message, l2_multi maintains: * mapping between ethernet addresses and Switches * paths between pairs of Switches So if "host" means "observed Ethernet address", then yes. If "host" means "IP address", then no, it can't do it

Re: [pox-dev] host unreachable

2013-11-13 Thread durga
Also, to add to what Sulabh advised, It would be nice if you can provide us with more info on what topology you have implemented. Apart from that, if you are using mininet vm , wireshark is inbuilt and you can fire it up, using ' sudo wireshark & 'that should help you see the packets and understan

Re: [pox-dev] get_path info for two hosts

2013-11-13 Thread Amer
Hello, Thank you I want to get the network path between two hosts. Is this possible in l2_multi. For switches what I should use, their names or what? Regards, On ١٣‏/١١‏/٢٠١٣, at ١٠:٥٦ م, Murphy McCauley wrote: > IP addresses don't mean anything to l2_multi. If they did, it'd be l3_multi. >

Re: [pox-dev] ARP request

2013-11-13 Thread Muhammad Furqan Gagan
After implementing my this ARP code in my controller I am recieving this error: ERROR:openflow.of_01:[00-00-00-00-00-03 4] OpenFlow Error: [00-00-00-00-00-03 4] Error: header: [00-00-00-00-00-03 4] Error: version: 1 [00-00-00-00-00-03 4] Error: type:1 (OFPT_ERROR) [00-00-00-00-00-03 4] Err

Re: [pox-dev] ARP request

2013-11-13 Thread Muhammad Furqan Gagan
I have implemented this code to handle ARP.. is it ok ? I am not sure about that.. need your comments please a= packet.find('arp') if a: if a.prototype == arp.PROTO_TYPE_IP: if a.hwtype == arp.HW_TYPE_ETHERNET: if a.protosrc != 0:

Re: [pox-dev] get_path info for two hosts

2013-11-13 Thread Murphy McCauley
IP addresses don't mean anything to l2_multi. If they did, it'd be l3_multi. :) l2_multi works on L2 (Ethernet) addresses. Even so, the path finding functions find paths between *switches*, not addresses. Specifically, they find paths between l2_multi's Switch objects (I think if you'd print

Re: [pox-dev] ARP request

2013-11-13 Thread Murphy McCauley
Durga is spot on, but I'll throw in another couple things you might look at: forwarding.l3_learning handles ARP proto.arp_helper attempts to make it easier to work with ARP (Oh, and misc.arp_responder has moved to proto.arp_responder in newer versions.) -- Murphy On Nov 13, 2013, at 2:06 AM, dur

Re: [pox-dev] Openflow 1.3

2013-11-13 Thread Murphy McCauley
Not quite. POX supports OpenFlow 1.0 with Nicira extensions. Lots of OpenFlow 1.3 features are derived from the Nicira extensions so there's lots of overlap in the featuresets, but the two aren't the same thing. If your switch supports Nicira extensions and the feature you need is available a

Re: [pox-dev] Offering contribution

2013-11-13 Thread Murphy McCauley
On Nov 13, 2013, at 10:44 AM, Felician Nemeth wrote: >>> This is what we can offer: >>> >>> * a (multicast) DNS responder similar to arp_responder.py >> >> Cool! I did some stuff with mDNS back in NOX, but off the top of my >> head, I don't think any ever made it to POX. I did have a POX-base

Re: [pox-dev] host unreachable

2013-11-13 Thread Sulabh Bista
You can start pox with layer 2 learning algorithm. Try this: ./pox.py forwarding.l2_learning On Wed, Nov 13, 2013 at 1:42 PM, farshad tajedin wrote: > hi > when i run mininet by like "sudo mn --controller remote" and run > ./pox.py and ping h2 from h1 i get destination host unreachable, while

[pox-dev] get_path info for two hosts

2013-11-13 Thread AMER
Hello, Pox.py forwarding.l2_multi openflow.discovery tree topology with no loops I want to get the path from source to destination using l2_multi, I tried with: src = "10.1.1.1" dst ="10.2.2.2" path_info = _get_raw_path(src, dst) print path_info but I have got None, while i can ping these two h

Re: [pox-dev] Offering contribution

2013-11-13 Thread Felician Nemeth
>> This is what we can offer: >> >> * a (multicast) DNS responder similar to arp_responder.py > > Cool! I did some stuff with mDNS back in NOX, but off the top of my > head, I don't think any ever made it to POX. I did have a POX-based > DNS server/interceptor, though. I think between my DNS se

[pox-dev] host unreachable

2013-11-13 Thread farshad tajedin
hi when i run mininet by like "sudo mn --controller remote" and run ./pox.py and ping h2 from h1 i get destination host unreachable, while before it dose ping. can any body help me? -- Best Regards Farshad Tajedin

Re: [pox-dev] ARP request

2013-11-13 Thread durga
hello, Seems pox supports packet type as arp, can be found here (pox / pox / lib / packet / *ar

[pox-dev] ARP request

2013-11-13 Thread Muhammad Furqan Gagan
Hello, Any one know how to handle ARP request in controller? Thanks Muhammad

[pox-dev] Openflow 1.3

2013-11-13 Thread Windhya Rankothge
Hi all, I have read the POX Nicira extension supports Openflow 1.3 and I would like to know how I can start the POX controller with my Openflow1.3 switch.. (I have upgraded my openflow switch to version 1.3) I have started POX controller in following way, but it is not working (switch refuses con