Skip to contentSkip to conversation

exclude internal network from wondershaper

LARTC Johan Lindqvist 2 participants 2 messages Oct 24, 2004

lore
Share & tools
lore
#0 lore raw

I'm having a network inside of a dsl modem and I'm using wondershaper on the computers to be able to surf while bulk downloading. The problem is that also the internal traffic is shaped, which means the internal network is at 200kb/s, instead of 100Mb/s. Is there a way to exclude the internal adresses from the wondershaper rules, or is there any other good way to solve this?

/Johan

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

#1 lore raw

Am Sunday 24 October 2004 20:48 schrieb Johan Lindqvist:

Quoted 2 lines

Is there a way to exclude the internal adresses from the wondershaper rules, or is there any other good way to solve this?

The basic idea is to have a class structure like this:

1:1 HTB 100mbit (LAN device class)
|
\--- 1:10 Whatever kbit (Internet class)

|    |
|    \--- ... whatever classes you want for your internet traffic go here
|

\--- 1:20 (100mbit-Whatever kbit) (LAN traffic class)

I don't use wondershaper, but I modified the script once to do this. No guarantee that it will work at all, though:
http://www.metamorpher.de/files/wshaper-over-lan.htb

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