Yep, that all works.

Also I've now found a solution to my original problem... looking more closely 
at the Wireshark traces, I found the devices were copying the L2 frames from 
one port to another (no MAC field changes), not routing the L3 packets from one 
interface to another. 

I'm getting confused by this hybrid switch/router device !! Its ports have IP 
addresses on different subnets, it responds to Pings and ARPs on its 
interfaces, yet it forwards like a switch. 

Thanks for the input.
Tim

Date: Thu, 27 Jun 2013 17:45:03 -0700
Subject: Re: [openflow-discuss] Pantou on WRT54GL not matching flows
From: yiann...@stanford.edu
To: timba...@hotmail.co.uk
CC: openflow-discuss@lists.stanford.edu

As a starter try simple flows : "in_port=A, out_port=B", 
"in_port=B,out_port=A", so that you don't have to worry about ARPs. Try this 
for your single-switch setup, and two-switches.
Make sure there is no controller connected, otherwise there might be conflicts 
between your flows and what the controller tries to do. 
Regards,Y.


On Thu, Jun 27, 2013 at 3:54 AM, Tim Bauge <timba...@hotmail.co.uk> wrote:




Hi Yiannis, and thanks for the reply.
 
With only one switch, I can ping between hosts on different ports/subnets 
without having any static flows (I believe that is because I have the learning 
switch and forwarding modules enabled in the controller, which is desirable in 
my case because I don't want to have to handle ARPs etc, I just want to focus 
on controlling the routing decisions). 


But if I push down static flows (match on packet destination subnet address and 
send to the correct port) I see matches for those flows when I ping. I also see 
packet in / packet out messages to the controller, but these are for ARP 
messages.


Thanks,
Tim




Date: Wed, 26 Jun 2013 10:04:47 -0700
Subject: Re: [openflow-discuss] Pantou on WRT54GL not matching flows
From: yiann...@stanford.edu

To: timba...@hotmail.co.uk
CC: openflow-discuss@lists.stanford.edu


Hi Tim,
Can you try with a single switch first, pinging two hosts attached in two 
ports? Do you see the stats being updated? If not, do you see packet-ins in 
your controller?


Regards,Y.

On Wed, Jun 26, 2013 at 3:51 AM, Tim Bauge <timba...@hotmail.co.uk> wrote:





Hi all,
I've got a couple of Linksys WRT54GL Openflow enabled switches (Pantou on 
OpenWRT). The controller is Floodlight with learning switch and forwarding 
enabled  When I push down simple static flows to the switches, I find that the 
switches do not enforce them. So with the topology subnet1-S1-S2-subnet2, S1 
has a rule dest=subnet2;action=send_to_s2 and S2 a rule 
dest-subnet1;action=send_to_s1, then I can't ping between hosts on subnet1 and 
subnet2. I can see the flow descriptions on the switches using the dpctrl 
dump-flows command, so I know the switches have got the rules. But the 
statistics on the switches show there are no matches for the flows despite the 
pings.


My main question is a sanity check: am I right in thinking this should work ? 
do these symptoms point to something obvious ?
Many thanks,
Tim
                                          

_______________________________________________

openflow-discuss mailing list

openflow-discuss@lists.stanford.edu

https://mailman.stanford.edu/mailman/listinfo/openflow-discuss




                                          

                                          
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to