Bridge
aptitude install bridge-utils ebtables
brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 brctl stp br0 on
Esimerkki
/etc/network/interfaces:
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
allow-hotplug eth1
iface eth0 inet static
iface eth1 inet static
auto br0
# bridge
iface br0 inet static
address 192.168.0.1
netmask 255.255.255.0
bridge_ports eth0 eth1
bridge_stp on
/etc/sysctl.conf Lisää tai muokkaa rivi muotoon
net.ipv4.conf.default.forwarding=1