Skip to contentSkip to conversation

Bridging & Shaping (Wondershaper)

LARTC Justin Morea 2 participants 2 messages Sep 17, 2002

lore
Share & tools
lore
#0 lore raw

I am rather new to all of this and I've got a few questions.

I have an ADSL connection with 5 static IPs.

Currently the DSL modem is connected directly to a switch, and all the computers to this switch.

I would like to place a Linux box inbetween the modem & the switch in order to do some traffic shaping.

If I understand what I've read so far, I need to place the 2 newtork cards in a bridged mode correct? This should be transparent to the users correct?

In bridged mode, what are my options for shaping? Can I just use the normal shaping tools/commands described in LARTC.org? Can I user WonderShaper?

Thanx
Snuffy2

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 11 lines · Justin Morea

I am rather new to all of this and I've got a few questions.

I have an ADSL connection with 5 static IPs.

Currently the DSL modem is connected directly to a switch, and all the computers to this switch.

I would like to place a Linux box inbetween the modem & the switch in order to do some traffic shaping.

Quoted 7 lines

If I understand what I've read so far, I need to place the 2 newtork cards in a bridged mode correct? This should be transparent to the users correct?

In bridged mode, what are my options for shaping? Can I just use the normal shaping tools/commands described in LARTC.org? Can I user WonderShaper?

Yes you can. However, iptables will not work on a bridge. So you have to use the u32 filter (there is a patch to get iptables working on a bridge). If you shape on a bridge, you can shape on both interfaces, so you don't need the ingress capabilities of the wondershaper. However, you introduce an extra NIC in the data path, so you also introduce extra (small) delays. One of the benefits of ingress shaping, is that it does not introduce extra delays, but it's not so powerfull as egress shaping.
Or you can replace the switch with a linux box with some quad-NIC's.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/