Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We can also use the -n flag to tell tcpdump to not resolve the host domain names and just give us the raw IP addresses instead. I find this mode of operation easier to follow.

ovs-vsctl

 

 We can create a switch using the open source Open vSwitch (OVS) project. It comes with many command line utilities, one of which is ovs-vctl (OVS virtual switch control). To add a virtual switch:

Image Added

Any interface shown in ifconfig can be added as a port to a previously created OVS virtual switch. To add a port to a virtual switch:

Image Added

To undo any of the above OVS operations, replace "add" in the command with "del", e.g. "add-br" becomes "del-br" and "add-port" becomes "del-port". There are many other OVS commands we won't discuss here (or yet, rather) that follow the same convention.

Lastly, to view all running switch configurations:

Image Added