Changes between Version 29 and Version 30 of HowTo/ConfigureOVSStaticRouteMirroringNoController


Ignore:
Timestamp:
07/12/17 17:45:55 (5 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ConfigureOVSStaticRouteMirroringNoController

    v29 v30  
    55This page demonstrates how to set up static IP traffic flows between two hosts connected to an OVS switch without running a separate !OpenFlow controller and by using custom !OpenFlow table rules. 
    66
    7 The following RSpec is used: [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OVSRyu/openflowovs-all-xen.rspec.xml]
     7The following RSpec is used: [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OVSSwitch/openVSwitch-all-xen.xml]
    88
    9 This RSpec requests a network topology with 3 nodes (host1, host2, host3) connected to an OVS switch (OVS). The figure below details the connections.
     9This RSpec requests a network topology with 3 nodes (host1, host2, host3) connected to an OVS switch (OVS). The OVS node uses a `Custom Image` that will auto-configure a bridge for the 3 connections to the hosts. If you are interested in finding out how this is done see the  [http://groups.geni.net/geni/wiki/HowTo/SetupOVSSwitch How to setup OVS] page.
     10
     11The figure below details the connections.
    1012
    1113{{{
     
    2224
    2325 i. Login to the OVS host
    24  ii. Download the script [https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh geniovs.sh] to create an OVS bridge and add all the dataplane interfaces to the bridge:
    25   {{{
    26   wget https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh
    27   bash ./geniovs.sh
    28   }}}
    29  iii. We want our switch to act without a separate controller thus setting it to operate as standalone.
     26 ii. We want our switch to act without a separate controller thus setting it to operate as standalone.
    3027  {{{
    3128  sudo ovs-vsctl set-fail-mode br0 standalone
    3229  }}}
    33  iv. Verify all OVS settings and that the dataplane ports have been assigned to bridge by issuing the following:
     30 iii. Verify all OVS settings and that the dataplane ports have been assigned to bridge by issuing the following:
    3431  {{{
    3532  sudo ovs-vsctl show
     
    127124              -- --id=@m create Mirror name=mymirror select-dst-port=@ethX,@ethY select-src-port=@ethX,@ethY output-port=@ethZ
    128125}}}
    129 A file '' '''/tmp/InterfacesInfo''' '' was created on the OVS switch that includes all interface information before the IP was shutdown. From the file /tmp/InterfacesInfo  determine ethX and ethY are the names of the interfaces connected to host1 and host2 on the OVS node. The interface
     126A file '' '''/local/InterfacesInfo''' '' was created on the OVS switch that includes all interface information before the IP was shutdown. From the file /local/InterfacesInfo  determine ethX and ethY are the names of the interfaces connected to host1 and host2 on the OVS node. The interface
    130127ethZ is the interface on the OVS switch that connects to host3.
    131128