* [LARTC] wonder shaper quick question
@ 2003-03-01 17:16 Miguel Cavazos
2003-03-01 23:34 ` Martin A. Brown
0 siblings, 1 reply; 2+ messages in thread
From: Miguel Cavazos @ 2003-03-01 17:16 UTC (permalink / raw)
To: lartc
hello i just got wshaper1.1 and it was really nice and fast the way it
limit the banwidth but now i have a question is there a way that i can
set my eth0 to have 160kbits for everyone except me and my boss?
and i would like not to limit my boss or myself do i have to put another
nic or is there a way to get excluded? or is there a way to set lile
192.168.0.5 gets 140 kbits while 192.168.0.8 get 180kbits
thanx all and hello
Miguel Cavazos
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] wonder shaper quick question
2003-03-01 17:16 [LARTC] wonder shaper quick question Miguel Cavazos
@ 2003-03-01 23:34 ` Martin A. Brown
0 siblings, 0 replies; 2+ messages in thread
From: Martin A. Brown @ 2003-03-01 23:34 UTC (permalink / raw)
To: lartc
Miguel,
Take a look at the script, and you'll see that class 1:10 has the highest
priority. Simply add a "tc filter" command which selects your src IP and
drops it into this class.
You could also select flowid 0: for no cap on your outbound bandwidth (if
you are using HTB):
MIGUEL\x192.168.0.5
tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 \
match ip src $MIGUEL flowid 0:
BOSS\x192.168.0.8
tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 \
match ip src $BOSS flowid 0:
If you poke around in the script, you'll see how easy it is to modify the
script.
You could easily adapt this script to have two leaf classes off the root
qdisc....but if you are going to do so, you'll want to read up on the
LARTC site and docum.org.
Good luck,
-Martin
: hello i just got wshaper1.1 and it was really nice and fast the way it
: limit the banwidth but now i have a question is there a way that i can
: set my eth0 to have 160kbits for everyone except me and my boss?
:
: and i would like not to limit my boss or myself do i have to put another
: nic or is there a way to get excluded? or is there a way to set lile
: 192.168.0.5 gets 140 kbits while 192.168.0.8 get 180kbits
:
:
: thanx all and hello
:
: Miguel Cavazos
:
: _______________________________________________
: LARTC mailing list / LARTC@mailman.ds9a.nl
: http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
:
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-01 23:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-01 17:16 [LARTC] wonder shaper quick question Miguel Cavazos
2003-03-01 23:34 ` Martin A. Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.