Changes between Version 17 and Version 18 of HowTo/ConfigureOVSStaticRouteMirroringNoController
- Timestamp:
- 07/06/17 14:34:25 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/ConfigureOVSStaticRouteMirroringNoController
v17 v18 14 14 15 15 16 First we will establish rules for allowing IP traffic to flow between host1 and host2. Later in the howto we will discuss how to setup the OVS switch to allow for host3 to observe the traffic between host1 and host2 using OpenFlow table rules. An alternative method using the Mirror feature of the OVS switch is also presented if only mirroring is required. These setups maybe be used for network monitoring.16 First we will establish rules for allowing IP traffic to flow between host1 and host2. Later in the howto we will discuss how to setup the OVS switch to allow for host3 to observe the traffic between host1 and host2 using !OpenFlow table rules. An alternative method using the Mirror feature of the OVS switch is also presented if only mirroring is required. These setups maybe be used for network monitoring. 17 17 18 18 == Setting up the static IP traffic == … … 118 118 119 119 == Setting up mirroring behavior == 120 There are two possible ways in which port mirroring can be setup using an OVS switch. The first method presented uses OpenFlow table rules. An alternative method is presented that does not useOpenFlow at all.120 There are two possible ways in which port mirroring can be setup using an OVS switch. The first method presented uses !OpenFlow table rules. An alternative method is presented that does not use !OpenFlow at all. 121 121 === Setting up mirroring of traffic from host1 and host2 to host3 (using ovs-ofctl) === 122 Mirroring can be setup by adding flows to the OpenFlow table that take for {{{in_port}}} the port we want monitored, and by specifying the output port in which we want122 Mirroring can be setup by adding flows to the !OpenFlow table that take for {{{in_port}}} the port we want monitored, and by specifying the output port in which we want 123 123 the monitoring traffic to be sent to. This is done using {{{actions=output:#.}}} 124 124 … … 137 137 === Setting up mirroring of traffic from host1 and host2 to host3 (using ovs-vctl) === 138 138 139 It is possible to setup mirroring without ever adding any flows to the OpenFlow table. It can be done independently of setting up the static IP flows. This is done with a single command to ovs-vsctl.139 It is possible to setup mirroring without ever adding any flows to the !OpenFlow table. It can be done independently of setting up the static IP flows. This is done with a single command to ovs-vsctl. 140 140 141 141 From ovs