Re: [pox-dev] ARP request

2013-11-14 Thread Murphy McCauley
This is very likely because you're trying to send the same buffer more than once. Do you have multiple things listening to PacketIn events (in your own code, or perhaps you are running your code and another component like l2_learning)? If so, read the "Events With Multiple Listeners" section o

Re: [pox-dev] ARP request

2013-11-14 Thread Muhammad Furqan Gagan
Hy… The links were useful but still I am getting this same buffer error.. I tried to change buffer id to 0XFFF… but no luck in my controller I am creating separate object for every switch … I know this error might have some reason for this.. but now I cannot change my initial logic so any id

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] 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] 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] ARP request

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