Changes between Version 3 and Version 4 of HowTo/ConfigureOVSStaticRouteMirroringNoController


Ignore:
Timestamp:
06/19/17 10:51:25 (7 years ago)
Author:
joshua.fasching@raytheon.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ConfigureOVSStaticRouteMirroringNoController

    v3 v4  
    1717
    1818== Setting up the static IP traffic ==
    19 
    20 Use ssh to login to the ovs node.
    21 
    22 Use this text to setup the switch
    23 http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowRyu/DesignSetup/ 2a. Configure the Software Switch (OVS Window)
    24 
    25 We want our switch to act without a seperate controller thus setting it to operate as standalone.
    26 
     19=== Configure OVS Switch ===
     20 i. Login to the OVS host
     21 ii. Create an Ethernet bridge that will act as our software switch:
    2722{{{
     23sudo ovs-vsctl add-br br0
     24}}}
     25 iii. Prepare the interfaces to be added as ports to the OVS switch
     26   * Your OVS bridge will be a Layer 2 switch and your ports do not need IP addresses. Before we remove them let's keep some information
     27     * Run  {{{ ifconfig }}}
     28     * Write down the interface names that correspond to the connections to your hosts. The correspondence is
     29       * Interface with IP ''10.10.1.11'' to host1  - ethX
     30       * Interface with IP ''10.10.1.12'' to host2 - ethY
     31       *  Interface with IP ''10.10.1.13'' to host3 - ethZ
     32    * Remove the IP from your data interfaces. [[BR]]
     33     [[Image(GENIExperimenter/Tutorials/Graphics:warning-icon-hi.png, 2%)]]  Be careful '''not to bring down eth0'''. This is the control interface, if you bring that interface down you ''' won't be able to login''' to your host. For all interfaces other than `eth0` and ` l0` (your interface names may vary) run :
     34    {{{
     35sudo ifconfig ethX 0 
     36sudo ifconfig ethY 0
     37sudo ifconfig ethZ 0
     38  }}}
     39 iv. Add all the data interfaces to your switch (bridge). [[BR]]
     40  [[Image(GENIExperimenter/Tutorials/Graphics:warning-icon-hi.png, 2%)]]  Be careful ''' not to add interface eth0'''. This is the control interface. The other three interfaces are your data interfaces. (Use the same interfaces as you used in the previous step.)
     41 {{{
     42 sudo  ovs-vsctl add-port br0 ethX
     43 sudo  ovs-vsctl add-port br0 ethY
     44 sudo  ovs-vsctl add-port br0 ethZ
     45}}}
     46 v. Verify the three ports configured run:
     47  {{{
     48sudo ovs-vsctl list-ports br0
     49}}}
     50 vi. We want our switch to act without a seperate controller thus setting it to operate as standalone.
     51  {{{
    2852sudo ovs-vsctl set-fail-mode br0 standalone
    2953}}}
    30 
    31 Trust but verify. You can verify your OVS settings by issuing the following:
    32 
    33 {{{
     54 vii. Trust but verify. You can verify your OVS settings by issuing the following:
     55  {{{
    3456sudo ovs-vsctl show
    3557}}}
    36 == Testing the connectivity between host1, host2 and host3 ==
     58=== Testing the connectivity between host1, host2 and host3 ===
    3759
    3860Initially the OVSwitch is setup to act like an L2 learning switch. We want to disable this behavior