Bandwidth limiting on Linux gateway

Bandwidth limiting on Linux gateway

Post by Tobi » Mon, 18 Nov 2002 22:18:31



Hi!

I've a Linux box as gateway/router to the the internet, on the inside
network I have 4 computers with IP: 192.168.1.1 - 192.168.1.4
Is it possible to limit the bandwith between the Internet and the
computers on my network. Example:
192.168.1.1 = 200 kb/s download.
192.168.1.2 = The rest

Regards
Tobias

 
 
 

Bandwidth limiting on Linux gateway

Post by CrayzeeWul » Tue, 19 Nov 2002 06:43:55



> Hi!

> I've a Linux box as gateway/router to the the internet, on the inside
> network I have 4 computers with IP: 192.168.1.1 - 192.168.1.4
> Is it possible to limit the bandwith between the Internet and the
> computers on my network. Example:
> 192.168.1.1 = 200 kb/s download.
> 192.168.1.2 = The rest

Please do not multipost. Your question is being answered in another
newsgroup you posted to.

--
CrayzeeWulf

 
 
 

Bandwidth limiting on Linux gateway

Post by John Beardmor » Tue, 19 Nov 2002 09:29:47





>> Hi!

>> I've a Linux box as gateway/router to the the internet, on the inside
>> network I have 4 computers with IP: 192.168.1.1 - 192.168.1.4
>> Is it possible to limit the bandwith between the Internet and the
>> computers on my network. Example:
>> 192.168.1.1 = 200 kb/s download.
>> 192.168.1.2 = The rest
>Please do not multipost. Your question is being answered in another
>newsgroup you posted to.

:)   Yes, and because the answer isn't being multi posted  ( cross
posted ? ),  I'm not getting to read it.  A shame -  I'd have been
interested.

Cheers, J/.
--
John Beardmore

 
 
 

Bandwidth limiting on Linux gateway

Post by fast » Tue, 19 Nov 2002 11:13:00






>>> Hi!

>>> I've a Linux box as gateway/router to the the internet, on the inside
>>> network I have 4 computers with IP: 192.168.1.1 - 192.168.1.4
>>> Is it possible to limit the bandwith between the Internet and the
>>> computers on my network. Example:
>>> 192.168.1.1 = 200 kb/s download.
>>> 192.168.1.2 = The rest

>>Please do not multipost. Your question is being answered in another
>>newsgroup you posted to.

> :)   Yes, and because the answer isn't being multi posted  ( cross
> posted ? ),  I'm not getting to read it.  A shame -  I'd have been
> interested.

> Cheers, J/.

#!/bin/sh

tc qdisc add dev eth0 root tbf rate 207Kbit buffer 5Kb/8 limit 10Kb

modify to suit your needs
--
Microsoft is not the answer, it is the question. The answer is NO!!!

 
 
 

Bandwidth limiting on Linux gateway

Post by Tobi » Sat, 23 Nov 2002 03:19:50







> >>> Hi!

> >>> I've a Linux box as gateway/router to the the internet, on the inside
> >>> network I have 4 computers with IP: 192.168.1.1 - 192.168.1.4
> >>> Is it possible to limit the bandwith between the Internet and the
> >>> computers on my network. Example:
> >>> 192.168.1.1 = 200 kb/s download.
> >>> 192.168.1.2 = The rest

> >>Please do not multipost. Your question is being answered in another
> >>newsgroup you posted to.

> > :)   Yes, and because the answer isn't being multi posted  ( cross
> > posted ? ),  I'm not getting to read it.  A shame -  I'd have been
> > interested.

> > Cheers, J/.
> #!/bin/sh

> tc qdisc add dev eth0 root tbf rate 207Kbit buffer 5Kb/8 limit 10Kb

> modify to suit your needs

Thanx for your reply!
But how do I apply this to a specific IP on my internal net.

Regards
Tobias

 
 
 

Bandwidth limiting on Linux gateway

Post by fast » Sat, 23 Nov 2002 05:28:40









>> >>> Hi!

>> >>> I've a Linux box as gateway/router to the the internet, on the inside
>> >>> network I have 4 computers with IP: 192.168.1.1 - 192.168.1.4
>> >>> Is it possible to limit the bandwith between the Internet and the
>> >>> computers on my network. Example:
>> >>> 192.168.1.1 = 200 kb/s download.
>> >>> 192.168.1.2 = The rest

>> >>Please do not multipost. Your question is being answered in another
>> >>newsgroup you posted to.

>> > :)   Yes, and because the answer isn't being multi posted  ( cross
>> > posted ? ),  I'm not getting to read it.  A shame -  I'd have been
>> > interested.

>> > Cheers, J/.
>> #!/bin/sh

>> tc qdisc add dev eth0 root tbf rate 207Kbit buffer 5Kb/8 limit 10Kb

>> modify to suit your needs

> Thanx for your reply!
> But how do I apply this to a specific IP on my internal net.

> Regards
> Tobias

Apply it to the interface
--
Microsoft is not the answer, it is the question. The answer is NO!!!