This is an old revision of the document!


Bridging Basics

Keep in mind that we will NOT be responsible for any damages caused by the following the guides and information given in ANY of our articles.
The information provided should always be assumed as possibly flawed, and thus one should always think and adapt the information to their own requirements before implementing anything into their production environment.

Full disclaimer

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.

Debian/Ubuntu:
There is only one step to the installation:

apt-get update; apt-get upgrade -y; apt-get install bridge-utils

Debian/Ubuntu:

  1. Edit your interface configuration file:
    nano /etc/network/interfaces
  2. 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>