[LARTC] Brouting on two NICS + 1 virtual NIC

William Bohannan WBohannan at spidersat.com.gh
Tue May 15 18:21:31 CEST 2007


Currently have a bridge working, would now like to add a third virtual
nic so the machine can do nat as well to local users, however after a
crazy amount of ready cant seem to get my head around it.  Please help.
Have a working bridge below (etc/network/interfaces and eth0 is the
internet side interface so a virtual interface like eth1:0 would be nice
:)

auto lo
iface lo inet loopback
auto br0
iface br0 inet static
	address 193.220.59.77
	netmask 255.255.255.128
	network 193.220.59.0
	broadcast 193.220.59.127
	gateway 193.220.59.126

pre-up /sbin/ip link set eth0 up
pre-up /sbin/ip link set eth1 up
pre-up /usr/sbin/brctl addbr br0
pre-up /usr/sbin/brctl addif br0 eth0
pre-up /usr/sbin/brctl addif br0 eth1

Kind Regards
William 



More information about the LARTC mailing list