On Jan 28, 2013, at 6:44 AM, Julius Bachnick wrote:

> As I'm trying to implement a COntroller that does ProxyARP within a topology 
> with different VLANs I wonder how to correctly generate a ARP_Reply Frame 
> with VLAN Header, as the "next" and "payload" variables in the corresponding 
> POX modules confuse me a bit tbh.

I don't think you should use or think about next -- just use payload.

You also might check some of the existing POX examples -- l3_learning and 
arp_responder in particular may be useful to you.

You might also take a look in the FAQ of the POX manual for help on 
troubleshooting:
https://openflow.stanford.edu/display/ONL/POX+Wiki

> This is my code so far:
> ...
> But it does not work due to 
> 
> ERROR:openflow.of_01:[00-00-00-00-00-05 1] OpenFlow Error:
> [...]
> [00-00-00-00-00-05 1] Error: type: OFPET_BAD_ACTION (2)
> [00-00-00-00-00-05 1] Error: code: OFPBAC_BAD_LEN (1) 
> 
> Anyone any idea or suggestion?

I don't think you've actually pasted the most relevant section of your code.  
You should include the portion where you actually send the data.  Forced to 
guess, I would wager that you're calling connection.send() on the packed 
ethernet frame or something when you should be constructing an ofp_packet_out 
and sending that, as is done in the aforementioned examples.

-- Murphy

Reply via email to