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:
- With the appropriate credentials, SSH into the Compute node.
- Use the
ovs-appctl fdb/show
command to view the MAC addresses learned by the Open vSwitch instance:ovs-appctl fdb/show br-int
- For a Linux bridge-based deployment, follow the recipe Viewing virtual interface information on the Compute node in Chapter 2, Using Open vSwitch for VLAN-Based Networks to find the bridge name for the virtual Network. Use the
brctl showmacs
...