Linux : How to create a bridge interface on RHEL/CentOS

By | January 4, 2013

A bridge interface is actually a virtual interface handled by a config file on your Linux system. Creating a bridge is quite simple, just follow those steps and you’re all set!

1. Create the bridge interface configuration file :

Add the the following parameters :

2. Configure the physical interface member of the bridge with those values :

As you can see, there is no IP address on the physical interface because they belong to the bridge. For the gateway and netmask, simply add the same as you are using on the bridge interface.