OpenvSwitch

From Sb
Jump to: navigation, search

OpenFlow Main Page

OpenvSwitch main page: http://openvswitch.org


Start OpenVSwitch and connect to a NOX controller:

Firstly, verify that the openvswitch kernel module is loaded and the bridge kernel module is not:

  • lsmod

If it is not loaded then use this command:

  • insmod ./datapath/linux-2.6/openvswitch_mod.ko

If the bride is loaded:

  • rmmod bridge, then load the openvswitch module

Then:

  • ./utilities/ovs-dpctl add-dp <switch_name>
  • ./utilities/ovs-dpctl add-if <switch_name> <interface0> <interface1> (Interfaces what you want to assign to the switch)
  • ./utilities/ovs-openflowd --datapath-id=<16 hexadecimal digits and may not be all-zero> <switch_name> tcp:<nox_controller_ip_addr>

More details:

Personal tools