[LARTC] Scenario (I should learn to proof read!)

2003-10-07 Thread Paul Caritj
Uh, yeah...that word was supposed to be "this'. *blush* Sorry about that :)

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] Scenario

2003-10-07 Thread Paul Caritj
Gents,

I've been thinking about shit for awhile, but thought I might defer to 
the group: What is the best wat to establish per-user bandwidth 
throttles in an ISP-like environment using TC? I am going to have to 
support something like 4000 users and I get kernel panics if I create 
that many QDISCs :)

-Paul

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


RE: [LARTC] Scenario Issue

2003-04-03 Thread Mike
>>  What to do in future if you dont know the Ip Adress of Source
because of
>> DHCP Server?
>That's an other problem.  Maybe you can use the dhcp configuration so
each 
>time an ip-address is given to a pc, the tc scripts are updated.  And
you can 
>use the hardware address to identify the client who requested an ip.

Or use dhcpcd to bind IP's to MAC addresses.. You can do quasi-static
IP's that way.

An entry in /etc/dhcpcd.conf would look like this:

host  {
 hardware ethernet ;
 fixed-address ;
}

Mike.
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Scenario Issue

2003-04-03 Thread Stef Coene
On Thursday 03 April 2003 02:16, Osgaldo Suanzes wrote:
> Hi there, this is my first post, so please excuse me Im still new to this
> one,
>
> Problem description
>
> I have a linux router with 3 interfaces 1 goes to the internet 2MB
> Bandwidth, 2 Lan FastEthernet
> On the first Lan Interface I need to assign 1Meg of traffic to my 15 people
> on that Lan.
> So that if only 1 person is online can use the whole bandwidth, and if
> someones add it shares
> 50/50 of the Bandwith, a third person would 33/33/33  and so on.
You can use the esfq qdisc to do it automatically for you.  Or you can create 
15 classes.  I think the latter is better because you will have more control.

> On my Second Lan I need to assign 768 kb to 1 user (ip adress) and the rest
> 256 kb to 3 Users,
> Prioritizing ssh/telnet over www,smtp.
>  So far so good, this scenario Im still trying to setup  on Lan 1 with no
> success. If someone
> can help me out with some example scripts I would appreciate very much,
Maybe you can post the script or the commands you tried so far.

>  The problem arrives next month, where I will have different scenarios on
> each LAN during NightShifts.
> On Lan 1 There are going to be about 24 users prioritizing ssh/telnet
> traffic over the rest of
> possible traffics.  They are asking me to setup a DHCP Server on both Lans,
> How could I Shape or prioritize
> certain traffic to a users unknown Ip Address given by DHCP Sever? (using
> MAC Address maybe?but sometimes I
> wont have this info) other way?.
>
> Scenario:
>
>2 Meg
>Internet
>/ \
>   /   \
>  / \
>Lan1 Lan2
>  1Meg for \
>  15 users \
>   \
>  / \
> /   \
>/ \
>  768kb 256kb
> 1 User 3 users ssh/telnet prio
>
>  Whats easiest way to set up? Any example scripts?
I don't have examples that fit your needs, but I have some scripts on 
www.docum.org.  You have to translate the tree in a htb setup and that's easy 
to do.

>  What to do in future if you dont know the Ip Adress of Source because of
> DHCP Server?
That's an other problem.  Maybe you can use the dhcp configuration so each 
time an ip-address is given to a pc, the tc scripts are updated.  And you can 
use the hardware address to identify the client who requested an ip.

Stef

-- 

[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/


[LARTC] Scenario Issue

2003-04-02 Thread Osgaldo Suanzes
Hi there, this is my first post, so please excuse me Im still new to this
one,

Problem description

I have a linux router with 3 interfaces 1 goes to the internet 2MB
Bandwidth, 2 Lan FastEthernet
On the first Lan Interface I need to assign 1Meg of traffic to my 15 people
on that Lan.
So that if only 1 person is online can use the whole bandwidth, and if
someones add it shares
50/50 of the Bandwith, a third person would 33/33/33  and so on.
On my Second Lan I need to assign 768 kb to 1 user (ip adress) and the rest
256 kb to 3 Users,
Prioritizing ssh/telnet over www,smtp.
 So far so good, this scenario Im still trying to setup  on Lan 1 with no
success. If someone
can help me out with some example scripts I would appreciate very much,
 The problem arrives next month, where I will have different scenarios on
each LAN during NightShifts.
On Lan 1 There are going to be about 24 users prioritizing ssh/telnet
traffic over the rest of
possible traffics.  They are asking me to setup a DHCP Server on both Lans,
How could I Shape or prioritize
certain traffic to a users unknown Ip Address given by DHCP Sever? (using
MAC Address maybe?but sometimes I
wont have this info) other way?.


Scenario:

   2 Meg
   Internet
|
|
   / \
  /   \
 / \
   Lan1 Lan2
 1Meg for \
 15 users \
  \
 / \
/   \
   / \
 768kb 256kb
1 User 3 users ssh/telnet prio


 Whats easiest way to set up? Any example scripts?
 What to do in future if you dont know the Ip Adress of Source because of
DHCP Server?


  Thanks for your time

Osgaldo


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/