...______ ______ _____  _____ ____ _  __ __ _ 
../ ____// __  // __ / / ___//_  /\ \/ // ///.
./____ // /_/ // __ < / /__   / /_ \  //   /..
/_____//_____//_____//____/  /___/ /_//_/\_\...

1. Utworzenie bridge br0.

brctl addbr br0

2. Sprawdzenie czy bridge został dodany.

ip addr

3. Dodanie interfejsów do bridge.

brctl addif br0 eth0 eth1

4. Utworzenia bridge na stałe poprzez dopisanie do pliku /etc/network/interfaces. Adresacja dynamiczna

auto br0
iface br0 inet dhcp
bridge_ports eth0 eth1

5. Bridge w /etc/network/interfaces. Adresacja statyczna

auto br0
iface br0 inet static
address 192.168.12.1
netmask 255.255.255.0
bridge_ports eth0 eth1

6. Włączenie ip forward poprzez usunięcie komentarza z pliku /etc/sysctl.conf

net.ipv4.ip_forward=1