Re: [pox-dev] Over-writing table entries

2014-12-19 Thread Murphy McCauley
Or you could do the IP addresses as long as you also set the dl_type to be IP. Any halfway recent version of POX will point out this mistake on the log with helpful information for fixing it. If your version of POX didn't do this or you didn't read the log, you should consider upgrading and con

Re: [pox-dev] Over-writing table entries

2014-12-18 Thread chaitanya tanwar
Thank you Murphy. Now its working. I have to mention the MAC addresses too. Best Regards. On Fri, Dec 19, 2014 at 8:39 AM, Murphy McCauley wrote: > > Did you read the third item in the FAQ? > > On Dec 18, 2014, at 8:14 AM, chaitanya tanwar > wrote: > > My overall aim is to divert the traffic >

Re: [pox-dev] Over-writing table entries

2014-12-18 Thread Murphy McCauley
Did you read the third item in the FAQ? On Dec 18, 2014, at 8:14 AM, chaitanya tanwar wrote: > My overall aim is to divert the traffic > > I want two rules to get installed. > 1. if src address is equal to 10.0.0.2 and destination address is equal to > 10.0.0.3, Then change the destination a

Re: [pox-dev] Over-writing table entries

2014-12-18 Thread chaitanya tanwar
My overall aim is to divert the traffic I want two rules to get installed. 1. if src address is equal to 10.0.0.2 and destination address is equal to 10.0.0.3, Then change the destination address to 30.0.0.2 and send it out of port 3. 2. If destination address is equal to 30.0.0.2 then send it ou

Re: [pox-dev] Over-writing table entries

2014-12-17 Thread Murphy McCauley
Please see the second, third, and final entries in the POX FAQ. I also think the second entry you're trying to install has problems (too many actions). -- Murphy On Dec 17, 2014, at 9:54 AM, chaitanya tanwar wrote: > Hi all, > > I am using the following code to insert flowtable entires in s

[pox-dev] Over-writing table entries

2014-12-17 Thread chaitanya tanwar
Hi all, I am using the following code to insert flowtable entires in switch. I want to fill two table entries but the following code is only putting the last one, may be overwriting the previously written. How to resolve this? from pox.core import core > import pox.openflow.libopenflow_01 as of >