To give your some more information. When I set match.dl_type = 0x0806 (ethertype ARP), the POX controller returns the following error message
ERROR:openflow.of_01:[00-1c-73-2b-f6-a6 2] OpenFlow Error: [00-1c-73-2b-f6-a6 2] Error: header: [00-1c-73-2b-f6-a6 2] Error: version: 1 [00-1c-73-2b-f6-a6 2] Error: type: 1 (OFPT_ERROR) [00-1c-73-2b-f6-a6 2] Error: length: 12 [00-1c-73-2b-f6-a6 2] Error: xid: 12 [00-1c-73-2b-f6-a6 2] Error: type: OFPET_FLOW_MOD_FAILED (3) [00-1c-73-2b-f6-a6 2] Error: code: OFPFMFC_UNSUPPORTED (5) Actually, I found that all other values for dl_type will return this error message. Only dl_type = 0x800 (IPv4) works and no error message returns. I am wondering whether the wildcard is not set correctly in the POX code. - Hui On Thu, Sep 12, 2013 at 11:52 PM, Hui Kang <[email protected]> wrote: > Hi, > I have some problem about setting the wildcard for dl_type. > Basically I want to install a very simple rule on my Arista 7050s swtich. > The rule is that "all traffic from interface 1 should be forwarded out to > interface 5" > So my match code is > > msg.match.in_port = 1 > msg.match.dl_type = None > msg.actions.append(of.ofp_action_output(port = 5)) > > No matter whether I explicitly set dl_type = None or not, the rule > installed on the switch has "Ethernet type: IPv4". As a result, the ARP > packets can not matched against this rule. > > However, in the command line mode of the switch, I can set the Ethernet > type correctly. > > is there any wrong with POX? Thanks. > > - Hui >
