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
Get OpenStack Networking Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.