Re: [LARTC] HTB and TC on MAC addresses

2003-06-12 Thread David Boreham
I've searched the archive for a solution where I want to limit/shape WLAN users. I only know's their MAC, because they get their IP from dhcp. Get their IP addresses from arp. ___ LARTC mailing list / [EMAIL PROTECTED]

Re: [LARTC] HTB and TC on MAC addresses

2003-06-12 Thread Martin A. Brown
Joachim, (Beautiful name, by the way) : I've searched the archive for a solution where I want to limit/shape : WLAN users. I only know's their MAC, because they get their IP from : dhcp. : : Why not, just use negative offsets with U32 to access : the 14-byte eth frame header before

[LARTC] htb problem

2003-06-12 Thread Ratel
Hi, I have some interesting problem with htb , I set up root class and sub-classess: $TC qdisc add dev eth0 root handle 1: htb $TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit $TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit $TC class add

Re: [LARTC] htb problem

2003-06-12 Thread Esteban
do you have two nics? the 2megas internet is eth0 right? so you are tc'ing packets going out of interface eth0. paquets are comming from eth1 for example? in such case you coutlf -t mangle -I PREROUTING -i eth1 -j MARK --set-mark {1|2|4|} ?? so packets going from internal (eth1) going out

RE: [LARTC] htb problem

2003-06-12 Thread Morten Isaksen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stef Coene Sent: 12. juni 2003 21:35 To: Ratel; [EMAIL PROTECTED] Subject: Re: [LARTC] htb problem adequate lines from firewall script : [...] # ftp $IPTABLES -A FORWARD -p tcp -s 0/0 -d 0/0

RE: [LARTC] prio error

2003-06-12 Thread Cain, Joseph
Thanks Stef. I'm a little confused now as to whether we have all of the needed files. We are running Redhat 8.0 includes the iproute-2.4.7-5 package. We complied the kernal with all of the QoS switches enabled. I cannot determine if Redhat 8.0 includes the required iproute2+tc package. By

Re: [LARTC] prio error

2003-06-12 Thread Stef Coene
On Thursday 12 June 2003 22:11, Cain, Joseph wrote: Thanks Stef. I'm a little confused now as to whether we have all of the needed files. We are running Redhat 8.0 includes the iproute-2.4.7-5 package. We complied the kernal with all of the QoS switches enabled. I cannot determine if Redhat

Re: [LARTC] htb problem

2003-06-12 Thread Stef Coene
On Thursday 12 June 2003 22:04, Morten Isaksen wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stef Coene Sent: 12. juni 2003 21:35 To: Ratel; [EMAIL PROTECTED] Subject: Re: [LARTC] htb problem adequate lines from firewall script :

Re: [LARTC] htb problem

2003-06-12 Thread Stef Coene
On Thursday 12 June 2003 21:46, Esteban wrote: Stef! please explain me this: When i use traffic shaper, i apply the root to the innterface i want to controll the packets that are leaving right? Yes. The sum of classes should not be greater than the root one. Supossing i have 2 nics. One

[LARTC] RIP v1 Compatibility Mode

2003-06-12 Thread Mukesh Kumar
Hi All, Can someone clarify the meaning of RIP v1 Compatibility mode. Specifically my question is ..in case I configure an interface in this mode , the RFC states that RIP v2 packets will be sent in Broadcast mode, however if that is the case any RIP v1 router which receives the RTEs will

[LARTC] Re: can't get cbq to traffic shape

2003-06-12 Thread trevorwarren
Trevor Warren writes: Hello Stef, Thanks a million for the information but things still dont work. Am sending you the modified tc script that i worked on. This in essence has 2 filters for the incoming and outgoing packets to 192.168.*.*. Each location has a 3 server setup.