Skip to contentSkip to conversation

NEWBIE to LARTC

LARTC hare ram 4 participants 8 messages Nov 27, 2002 – Nov 28, 2002

lore
Share & tools
lore

hare ram

author
#0 lore raw

Hi all

iam new to LARTC, i have some sample setup to be setup to my home based network

i have setup like this

i have internet bandwidth of 128kbps ( may later 256kbps)
and i have 100 users running in the network, average will be 20-30 connection will be online

iam using redhat 7.3 and trying to upgrade to 8.0 ( later) and iam running iptables with transparent cache with Squid. with 2 NIC cards

now iam looking solution is like this

128kbps to be shared by all the online users equally
if any users increase, the bandwidth will automatically share with all users if the user decrease also bandwidth should automatically loadbalance done.

and i want to priority traffic is http, yahoo, msn, chat, ping, traceroute, ssh lease priority is any downloads. and uploads.

any one give me sample scripts

iam confused what to use,
i seen document, it say CBQ, HTB SFQ

iam really confused, can some one clarify me what to use to achieve the above setup

thanks
hare

author
#1 lore raw

any answer for this

thanks
hare
----- Original Message -----
From: hare ram
To: [email protected]
Sent: Wednesday, November 27, 2002 2:06 PM
Subject: [LARTC] NEWBIE to LARTC

Hi all

iam new to LARTC, i have some sample setup to be setup to my home based network

i have setup like this

i have internet bandwidth of 128kbps ( may later 256kbps)
and i have 100 users running in the network, average will be 20-30 connection will be online

iam using redhat 7.3 and trying to upgrade to 8.0 ( later) and iam running iptables with transparent cache with Squid. with 2 NIC cards

now iam looking solution is like this

128kbps to be shared by all the online users equally
if any users increase, the bandwidth will automatically share with all users if the user decrease also bandwidth should automatically loadbalance done.

and i want to priority traffic is http, yahoo, msn, chat, ping, traceroute, ssh lease priority is any downloads. and uploads.

any one give me sample scripts

iam confused what to use,
i seen document, it say CBQ, HTB SFQ

iam really confused, can some one clarify me what to use to achieve the above setup

thanks
hare

#2 lore raw
In reply to hare ram

Hare,

: iam new to LARTC, i have some sample setup to be setup to my home

Start reading! Seriously, there's a great deal to understand about traffic control...some links below will serve as starting points. There are some "drop-in" scripts you can use

: and iam running iptables with transparent cache with Squid.
: with 2 NIC cards

Read in the archives about Squid and TC:

http://www.google.com/search?q=site%3Amailman.ds9a.nl+squid

 :   now iam looking solution is like this
 :   128kbps to be shared by all the online users equally
 :   if any users increase, the bandwidth will automatically share with all users
 :   if the user decrease also bandwidth should automatically loadbalance done.

You'll need to read up on general LARTC topics and roll your own solution, although you should be able to use Stef Coene's scripts.

http://lartc.org/

: and i want to priority traffic is http, yahoo, msn, chat, ping,
: traceroute, ssh lease priority is any downloads. and uploads. : any one give me sample scripts

See http://www.docum.org/ for scripts and other help. You will also find the wondershaper script at the http://lartc.org/ website.

: iam using redhat 7.3 and trying to upgrade to 8.0 ( later)
: iam confused what to use, i seen document, it say CBQ, HTB SFQ

Compile kernel 2.4.20 with support for HTB. It's very well supported on this list, and can do everything you need to do.

-Martin

Signature · 6 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#3 lore raw
In reply to hare ram

Hi

thanks for the help
i have just installed Redhat 8.0
when i see make manuconfig

its show HTB already as a module
still i need to add any patches

where can i find "Stef Coene's scripts"

thanks
hare
----- Original Message -----
From: "Martin A. Brown" <[email protected]>
To: "hare ram" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, November 27, 2002 9:33 PM
Subject: Re: [LARTC] NEWBIE to LARTC

Quoted 11 lines

Hare,

: iam new to LARTC, i have some sample setup to be setup to my home

Start reading! Seriously, there's a great deal to understand about traffic control...some links below will serve as starting points. There are some "drop-in" scripts you can use

: and iam running iptables with transparent cache with Squid.
: with 2 NIC cards

Quoted 7 lines

Read in the archives about Squid and TC:

http://www.google.com/search?q=site%3Amailman.ds9a.nl+squid

 :   now iam looking solution is like this
 :   128kbps to be shared by all the online users equally
 :   if any users increase, the bandwidth will automatically share with

all users

Quoted 1 line

: if the user decrease also bandwidth should automatically loadbalance

done.

Quoted 21 lines

You'll need to read up on general LARTC topics and roll your own solution, although you should be able to use Stef Coene's scripts.

http://lartc.org/

: and i want to priority traffic is http, yahoo, msn, chat, ping,
: traceroute, ssh lease priority is any downloads. and uploads. : any one give me sample scripts

See http://www.docum.org/ for scripts and other help. You will also find the wondershaper script at the http://lartc.org/ website.

: iam using redhat 7.3 and trying to upgrade to 8.0 ( later)
: iam confused what to use, i seen document, it say CBQ, HTB SFQ

Compile kernel 2.4.20 with support for HTB. It's very well supported on this list, and can do everything you need to do.

-Martin

Quoted 8 lines

--
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

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

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

#4 lore raw
In reply to hare ram

i think this bandwith is too little for 20-30 online user , and to manage download traffic u need to loose from this.
simple filter out useless traffic such ping from users and thats all.

Quoted 44 lines · hare ram

any answer for this

thanks
hare

----- Original Message -----
*From:* hare ram <mailto:[email protected]> *To:* [email protected] <mailto:[email protected]> *Sent:* Wednesday, November 27, 2002 2:06 PM *Subject:* [LARTC] NEWBIE to LARTC

Hi all

iam new to LARTC, i have some sample setup to be setup to my home based network

i have setup like this

i have internet bandwidth of 128kbps ( may later 256kbps) and i have 100 users running in the network, average will be 20-30 connection will be online

iam using redhat 7.3 and trying to upgrade to 8.0 ( later) and iam running iptables with transparent cache with Squid. with 2 NIC cards

now iam looking solution is like this

128kbps to be shared by all the online users equally
if any users increase, the bandwidth will automatically share with all users
if the user decrease also bandwidth should automatically loadbalance done.

and i want to priority traffic is http, yahoo, msn, chat, ping, traceroute, ssh
lease priority is any downloads. and uploads.

any one give me sample scripts

iam confused what to use,
i seen document, it say CBQ, HTB SFQ

Quoted 9 lines

iam really confused, can some one clarify me what to use to achieve the above setup

thanks
hare

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

#5 lore raw
In reply to hare ram
Quoted 8 lines · hare ram

Hi

thanks for the help
i have just installed Redhat 8.0 when i see make manuconfig

its show HTB already as a module still i need to add any patches

The kernel has the needed htb support, but the tc command doesn't. So you have to download the iproute2 source, patch if for htb and compile it. Or you can download the binary fro the htb homepage.

Quoted 1 line

where can i find "Stef Coene's scripts"

On my site :)
www.docum.org
Go to the test pages and you find some scripts.

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/
#7 lore raw
In reply to hare ram
Quoted 7 lines · hare ram

Hi all

iam doing Some R & D with TC
i have excuted lot of commands

how do i reset to default
so i can do fresh

Delete the root qdisc :
/qos/bin/tc qdisc del dev eth0 root

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/