|
Brouting and TC - Kernel 2.6.x, IPtables 1.3.5
currently have a bridge working with traffic control, and looking to add a third nic so the box can have nat as well...
brouter
-------
(eth0) - internet (bridged with eth1)
(eth1) - local network (bridged with eth0)
(eth2) - local network (natted from br0 or eth2?? unsure
- traffic control between all devices
can any one help in how to add the third nic to the system and still keep tc working, unsure as to nat of the br0 or off eth1? also if anyone knows where a tutorial on it is and have had a look around and there isnt much out there..
current rules to create bridge:
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
address 192.168.2.254
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.101
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
|