##linux switch/bridge konfigurace v /etc/network/interfaces pro pouziti s ISC DHCP3 serverem
#lo
auto lo
iface lo inet loopback
# switch/bridge
allow-hotplug eth0
iface eth0 inet manual
pre-up /sbin/ifconfig eth0 up
pre-down /sbin/ifconfig eth0 down
allow-hotplug eth1
iface eth1 inet manual
pre-up /sbin/ifconfig eth1 up
pre-down /sbin/ifconfig eth1 down
# definice pro vsechny sitovky, ktere maji byt soucasti switche/bridge
allow-hotplug eth28
iface eth28 inet manual
pre-up /sbin/ifconfig eth28 up
pre-down /sbin/ifconfig eth28 down
# lan
auto br0
iface br0 inet static
bridge_ports eth0 eth1 ... eth28
network 192.168.1.0
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255