LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-26-2007, 04:51 PM   #1
williamboh
LQ Newbie
 
Registered: Jan 2007
Distribution: Debian Sarge Testing
Posts: 1

Rep: Reputation: 0
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
 
  


Reply

Tags
linux, networking


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables kernel 2.6.16.19 pljvaldez Linux - Kernel 7 06-17-2006 01:12 PM
Iptables and Kernel 2.2. thekillerbean Linux - Networking 2 02-26-2006 04:24 PM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
IPTABLES 1.2.9 on Kernel 2.6.1 kemplej Linux - Security 6 01-16-2004 08:03 AM
iptables and kernel 2.6.0 dingding66 Mandriva 4 12-23-2003 09:56 PM


All times are GMT -5. The time now is 01:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration