This is an old revision of the document!
Bridging Basics
For certain cases one might wish to create bridged network interfaces.
A great example would be when hosting containerized environments and VMs.
To follow this example you are required to login as user root.
If you don't have the password of the root user you can use sudo instead.
Setup
Debian/Ubuntu:
There is only one step to the installation:
apt-get update; apt-get upgrade -y; apt-get install bridge-utils
Interface (Bridge) creation
Debian/Ubuntu:
- Edit your interface configuration file:
nano /etc/network/interfaces
- Append the configuration with the following:
auto bridge0 iface bridge0 inet static bridge_ports none bridge_fd 0 bridge_maxwait 0 address <Interface IP address, like 192.168.10.1> netmask <Subnet mask, like 255.255.255.0>