Glad you got it working. -- Murphy
On Mar 7, 2013, at 7:46 AM, senthil arumugam wrote: > Murphy > > A typo error. Now it works > > Sorry to bother you for my silly mistake.. > > Thanks a lot > > -Senthil > From: Murphy McCauley <[email protected]> > To: senthil arumugam <[email protected]> > Cc: "[email protected]" <[email protected]> > Sent: Thursday, March 7, 2013 2:03 AM > Subject: Re: [pox-dev] POX: Problem in installing a flow entry > > On Mar 6, 2013, at 11:31 PM, senthil arumugam wrote: >> msg = of.ofp_flow_mod() >> msg.flags = of.OFPFF_CHECK_OVERLAP >> >> msg.command = of.OFPFC_ADD >> msg.match.nw_src = IPAddr(vn_context["src_ip"]) >> # msg.match.nw_src = IPAddr("192.167.10.10") >> # msg.match.nw_dst = IPAddr("192.167.20.10") >> msg.match.nw_dst = IPAddr(vn_context["dst_ip"]) >> msg.match.nw_proto = vn_context["proto"] >> msg.match.tp_dst = vn_context["tcp_dst"] >> >> msg.actions.append(of.ofp_action_output(port = of.OFPP_NORMAL)) > > Your first problem is that you need to specify dl_type = 0x0800 if you want > to match IP addresses and TCP/UDP ports. > > -- Murphy > >
