Re: [LARTC] How many (htb) tc classes and qdiscs are too many?

2005-06-03 Thread Szymon Miotk
Spencer wrote: We have a Linux box that is acting as the gateway to the internet for about 400 people, typically there are not more then 50 of them using the internet at any given time. We would like to provide different levels of access to different users. For example 128kbps to some users

[LARTC] how can I monitor a (dumb) switch ?

2005-06-03 Thread Radu CUGUT
Hello there, Can anyone help me with a problem i have I have an ethernet LAN, made over dumb fast-ethernet switches (10/100mbit) without management, so there is no IP for the switches. What I want, if possible, is to find out if a switch is down or not. It's like with routers... if you

Re: [LARTC] how can I monitor a (dumb) switch ?

2005-06-03 Thread cristian_dimache
Hi, Radu You simply cannot monitor a switch that is uncapable of monitoring. It is as easy as that. Nevertheless, you can fake the monitoring part by arping to the users connected directly to that switch. Arping, because is a layer2 app, goes beyond (or better yet, beneath) any firewall. If a

Re: [LARTC] How many (htb) tc classes and qdiscs are too many?

2005-06-03 Thread Paweł Staszewski
Hello I have 4000 users and i use hfsc for shaping them. Each class has own qdisc(esfq) tc -s -d qdisc show dev vlan0891 | grep qdisc | wc -l 4355 tc -s -d qdisc show dev eth2 | grep qdisc | wc -l 4355 I use hashing filters. System is: P4 3.2GHz (HT enabled) 2GB RAM 2xIntel gigabit (Napi

Re: [LARTC] How many (htb) tc classes and qdiscs are too many?

2005-06-03 Thread Andy Furniss
Konrad wrote: We have an error talking to the kernel loops: 684 filters: 4788 classes: 2052 What's wrong? I need more filters :/ I have 2.6.11.11 kernel with new iproute2, u32 match mark support and IMQ (AB)... Everyone can make theoretically 0x (65535) classes and qdiscs on one

Re: [LARTC] how can I monitor a (dumb) switch ?

2005-06-03 Thread Dmytro O. Redchuk
On Fri, Jun 03, 2005 at 11:24:13AM +0300, Radu CUGUT wrote: Hello there, Can anyone help me with a problem i have I have an ethernet LAN, made over dumb fast-ethernet switches (10/100mbit) without management, so there is no IP for the switches. What I want, if possible, is to find

Re: [LARTC] how can I monitor a (dumb) switch ?

2005-06-03 Thread Jay Vosburgh
Dmytro O. Redchuk [EMAIL PROTECTED] wrote: On Fri, Jun 03, 2005 at 11:24:13AM +0300, Radu CUGUT wrote: I have an ethernet LAN, made over dumb fast-ethernet switches (10/100mbit) without management, so there is no IP for the switches. What I want, if possible, is to find out if a switch is

Re: [LARTC] How many (htb) tc classes and qdiscs are too many?

2005-06-03 Thread Konrad
I found thing which causes this problem. tc filter add dev imq1 protocol ip parent 2:0 pref 4 u32 match ip src ... match ip dst ... flowid 2:$q If parent is 2:0 then I can make many filers But if I use 2:x (other class, x is diffrent that root number) I'll have only limited number of

[LARTC] Re: LARTC Digest, Vol 4, Issue 9

2005-06-03 Thread Radu CUGUT
Daniel Lopes wrote: Ping a client you surely know should be connected to the switch. ARP will take the part to find out the hardware address so the packet can be delivered. If the switch is on it should find a hardware address and ARP should put it in your ARP cache. It´s independet from ICMP

Re: [LARTC] Re: LARTC Digest, Vol 4, Issue 9

2005-06-03 Thread Daniel Lopes
Radu CUGUT schrieb: Daniel Lopes wrote: Ping a client you surely know should be connected to the switch. ARP will take the part to find out the hardware address so the packet can be delivered. If the switch is on it should find a hardware address and ARP should put it in your ARP cache. It´s