O'Reilly logo

OpenStack Networking Cookbook by Chandan Dutta Chowdhury, Sriram Subramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Checking the MAC address table on a virtual switch

As the devices connected to the virtual Network start to communicate with each other, the virtual switch on the Compute node learns the MAC addresses of the network interfaces. In this recipe, we will learn how to view the MAC address table of a virtual switch on an OpenStack Compute node.

Getting ready

For this recipe, you will require the following information:

  • SSH-based login credentials for the Compute node

How to do it…

The following steps will show you how to check the MAC address table on the virtual switch:

  1. With the appropriate credentials, SSH into the Compute node.
  2. Use the ovs-appctl fdb/show command to view the MAC addresses learned by the Open vSwitch instance:
    ovs-appctl fdb/show br-int

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required