This group is locked. No changes can be made to the group while it is locked.
Date
1 - 4 of 4
ADD A FLOW ENTRY
Michal Polkorab
When switch processes packets, it compares them against installed flows. If there is no matching flow, then the table-miss flow entry occurs (if it is installed). If the table-miss flow entry is not installed, the packet is dropped (according to OF specification).
When you want every packet to be routed to some node, you have to install table-miss flow entry (and possibly delete all other flows - in case the received packet would match one of them).
In order to install the table-miss flow entry you have to use priority = 0, and no Ethernet type specified in your match. Output Action
should stay the same.
Michal From: Alessandro Pellegrini <pellegrini.alessandro@...>
Sent: 22 May 2014 12:05 To: Michal Polkoráb; openflowjava-dev@... Cc: openflowjava-dev-bounces@...; openflowplugin-dev@... Subject: RE: [openflowjava-dev] ADD A FLOW ENTRY I downloaded the latest version about one week ago like the installion guide suggests.
https://wiki.opendaylight.org/view/OpenDaylight_Controller:Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI
I used the gui interface Wireshark: H1: -ARP request and ARP reply between h1 and GW1 -TCP from H1 to Proxy
H2: -ARP request and ARP reply between h2 and GW2 H3 -ARP request and ARP reply between h3 and GW3
So, i thought to find the same TCP packet in h2, but nothing. Do you need anything else?
Regards, Alessandro.
From: michal.polkorab@... To: pellegrini.alessandro@...; openflowjava-dev@... CC: openflowjava-dev-bounces@...; openflowplugin-dev@... Subject: RE: [openflowjava-dev] ADD A FLOW ENTRY Date: Thu, 22 May 2014 09:23:43 +0000
Hi Alessandro,
could you provide more details ? For example what distribution are you using ? What is the date of your distribution ? How do you add your flow - osgi, rest or gui ? What about flowMod messages from the wireshark - are they present ? are they correct ? Regards Michal Polkorab From: Alessandro Pellegrini <pellegrini.alessandro@...>
Sent: 22 May 2014 11:01 To: openflowjava-dev@... Cc: openflowjava-dev-bounces@...; openflowplugin-dev@... Subject: [openflowjava-dev] ADD A FLOW ENTRY Hi everybody.
I'm trying to do a simple thing with the controller, but it doesn't works. Configuration: 1 switch with 3 hosts:
h1->IP: 10.10.1.1/24, gw1->10.10.1.254/24
h2->IP: 10.10.2.1/24, gw2->10.10.2.254/24
h3->IP: 10.10.3.1/24, gw3->10.10.3.254/24
Using the simple forwarding everything is ok.
Now I'd like to redirect all the traffic from Port 1 (h1) to Port 2 (h2), so I added a flow entry:
Input Port:1
Ethernet Type: 0x800
Priority: 500
Add Output Port: 2 I choosed Priority = 500 because from the troubleshooting i saw that the Simple Forwarding Priority is 1.
The problem is that it doesn't works!
I saw that directly from wireshark doing a tcp request from h1 ("e.g. www.google.com")
Why? Thanks, Alessandro. MichalPolkoráb Software Developer Mlynské Nivy 56 / 821 05 Bratislava / Slovakia +421 918 378 907 / michal.polkorab@... reception: +421 2 206 65 111 / www.pantheon.sk
MichalPolkoráb Software Developer Mlynské Nivy 56 / 821 05 Bratislava / Slovakia +421 918 378 907 / michal.polkorab@... reception: +421 2 206 65 111 / www.pantheon.sk |
|
SirPilgrims
I downloaded the latest version about one week ago like the installion guide suggests. https://wiki.opendaylight.org/view/OpenDaylight_Controller:Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI I used the gui interface Wireshark: H1: -ARP request and ARP reply between h1 and GW1 -TCP from H1 to Proxy H2: -ARP request and ARP reply between h2 and GW2 H3 -ARP request and ARP reply between h3 and GW3 So, i thought to find the same TCP packet in h2, but nothing. Do you need anything else? Regards, Alessandro. From: michal.polkorab@... To: pellegrini.alessandro@...; openflowjava-dev@... CC: openflowjava-dev-bounces@...; openflowplugin-dev@... Subject: RE: [openflowjava-dev] ADD A FLOW ENTRY Date: Thu, 22 May 2014 09:23:43 +0000
Hi Alessandro,
could you provide more details ? For example what distribution are you using ? What is the date of your distribution ? How do you add your flow - osgi, rest or gui ? What about flowMod messages from the wireshark - are they present ? are they correct ? Regards Michal Polkorab From: Alessandro Pellegrini <pellegrini.alessandro@...>
Sent: 22 May 2014 11:01 To: openflowjava-dev@... Cc: openflowjava-dev-bounces@...; openflowplugin-dev@... Subject: [openflowjava-dev] ADD A FLOW ENTRY Hi everybody.
I'm trying to do a simple thing with the controller, but it doesn't works. Configuration: 1 switch with 3 hosts:
h1->IP: 10.10.1.1/24, gw1->10.10.1.254/24
h2->IP: 10.10.2.1/24, gw2->10.10.2.254/24
h3->IP: 10.10.3.1/24, gw3->10.10.3.254/24
Using the simple forwarding everything is ok.
Now I'd like to redirect all the traffic from Port 1 (h1) to Port 2 (h2), so I added a flow entry:
Input Port:1
Ethernet Type: 0x800
Priority: 500
Add Output Port: 2 I choosed Priority = 500 because from the troubleshooting i saw that the Simple Forwarding Priority is 1.
The problem is that it doesn't works!
I saw that directly from wireshark doing a tcp request from h1 ("e.g. www.google.com")
Why? Thanks, Alessandro. MichalPolkoráb Software Developer Mlynské Nivy 56 / 821 05 Bratislava / Slovakia +421 918 378 907 / michal.polkorab@... reception: +421 2 206 65 111 / www.pantheon.sk |
|
Michal Polkorab
Hi Alessandro,
could you provide more details ? For example what distribution are you using ? What is the date of your distribution ? How do you add your flow - osgi, rest or gui ? What about flowMod messages from the wireshark - are they present ? are they correct ?
Regards Michal Polkorab From: Alessandro Pellegrini <pellegrini.alessandro@...>
Sent: 22 May 2014 11:01 To: openflowjava-dev@... Cc: openflowjava-dev-bounces@...; openflowplugin-dev@... Subject: [openflowjava-dev] ADD A FLOW ENTRY Hi everybody.
I'm trying to do a simple thing with the controller, but it doesn't works. Configuration: 1 switch with 3 hosts:
h1->IP: 10.10.1.1/24, gw1->10.10.1.254/24
h2->IP: 10.10.2.1/24, gw2->10.10.2.254/24
h3->IP: 10.10.3.1/24, gw3->10.10.3.254/24
Using the simple forwarding everything is ok.
Now I'd like to redirect all the traffic from Port 1 (h1) to Port 2 (h2), so I added a flow entry:
Input Port:1
Ethernet Type: 0x800
Priority: 500
Add Output Port: 2 I choosed Priority = 500 because from the troubleshooting i saw that the Simple Forwarding Priority is 1.
The problem is that it doesn't works!
I saw that directly from wireshark doing a tcp request from h1 ("e.g. www.google.com")
Why? Thanks, Alessandro. MichalPolkoráb Software Developer Mlynské Nivy 56 / 821 05 Bratislava / Slovakia +421 918 378 907 / michal.polkorab@... reception: +421 2 206 65 111 / www.pantheon.sk |
|
SirPilgrims
Hi everybody.
I'm trying to do a simple thing with the controller, but it doesn't works. Configuration: 1 switch with 3 hosts: h1->IP: 10.10.1.1/24, gw1->10.10.1.254/24 h2->IP: 10.10.2.1/24, gw2->10.10.2.254/24 h3->IP: 10.10.3.1/24, gw3->10.10.3.254/24 Using the simple forwarding everything is ok. Now I'd like to redirect all the traffic from Port 1 (h1) to Port 2 (h2), so I added a flow entry: Input Port:1 Ethernet Type: 0x800 Priority: 500 Add Output Port: 2 I choosed Priority = 500 because from the troubleshooting i saw that the Simple Forwarding Priority is 1. The problem is that it doesn't works! I saw that directly from wireshark doing a tcp request from h1 ("e.g. www.google.com") Why? Thanks, Alessandro. |
|