Changes between Version 12 and Version 13 of HowTo/ConfigureOVSStaticRouteMirroringNoController


Ignore:
Timestamp:
06/21/17 15:55:21 (7 years ago)
Author:
joshua.fasching@raytheon.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ConfigureOVSStaticRouteMirroringNoController

    v12 v13  
    2121Later in the howto we will discuss how to setup the OVS switch to allow
    2222for 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.
    23 This could be used for network monitoring setups.
     23These setups could be used for network monitoring.
    2424
    2525== Setting up the static IP traffic ==
     
    6666
    6767Initially the OVS switch is setup to act like an L2 learning switch. We want to disable this behavior
    68 except for specific IP addresses
     68except for specific IP addresses.
     69
     70From ovs
    6971{{{
    7072sudo ovs-ofctl del-flows br0
     
    8991
    9092First we will add rules to allow the OVS switch to behave like a normal switch for IP traffic between
    91 the two hosts
     93the two hosts.
     94
     95From ovs
    9296{{{
    9397sudo ovs-ofctl add-flow br0 priority=500,ip,nw_src=10.10.1.1,nw_dst=10.10.1.2,actions=normal
     
    9599}}}
    96100ARP traffic will also need to be able to flow in order for the routes to each host to be learned.
     101
     102From ovs
    97103{{{
    98104sudo ovs-ofctl add-flow br0 "priority=500,arp,nw_dst=10.10.1.1 actions=normal"
     
    122128
    123129For example if we want ports 1 and 2 to be monitored by port 3, the following flows need to be added.
     130
     131From ovs
    124132{{{
    125133ovs-ofctl add-flow br0 in_port=1,actions=normal,output:3
     
    131139
    132140It is possible to setup mirroring without ever adding any flows to the OpenFlow database. It can be done independently of setting up the static IP flows. This is done with a single command to ovs-vsctl.
     141
     142From ovs
    133143{{{
    134144ovs-vsctl -- set Bridge br0 mirrors=@m \