Re: [LARTC] IMQ / how to put incoming traffic to the gateway and tothe LAN in 2 different classes ?

2003-06-05 Thread schmurtz
[EMAIL PROTECTED] writes: Hi again I'm not sure I made myself clear. Before using IMQ I was using ingress on ppp0 and egress on eth0 to police incoming traffic to the LAN. Now i'm using IMQ. I would like to do something like that: iptables -t mangle -A PREROUTING -j IMQ -i ppp0 iptables -t man

[LARTC] (no subject)

2003-06-05 Thread Alejandro Sager
Hello. Hera i´m with my problem, until now unfinished. Everything is simple if the interfaces to INET are in the same linux. My i raise is: the interfaces to INET are in different linux. The first subject is to cross the routes for the the packages leave by default to its INET, opposite case,

[LARTC] CBQ bounded problem

2003-06-05 Thread Zealous
Dear friends, I have 1 mbps line connected to linux server. from linux server i have masqueraded some clients. I want to use only 200 kbps. I have attached the script. But on this script the traffic goes up to 350 kbps. how can i bound the bandwidth to 200 kbps. it should not exceed more than tha

[LARTC] Is it possible Services classes to become parent classes of otherservice classes in CBQ?

2003-06-05 Thread Srikanth
Hi, In CBQ BW sharing, Let's say, suppose i'm assigning 100 Kbps for HTTP service as parent class (without any user/IP address). Can i allocate any other services like SMTP, FTP services (without users/IP addresses) as child classes of that? Is it possible? It's silly question, but let me know

Re: [LARTC] cbq bounded problem

2003-06-05 Thread Stef Coene
On Thursday 05 June 2003 06:35, Zealous wrote: > Dear all, > > I have 1 mbps line to internet. > > Our linux server is connected to router of 1mb > > Linux server gets 1mb bandwidth. > > I have done SOURCE MASQUERADING on linux. > > I have attached a cbq bandwidth script. I want to allow the traffi

[LARTC] cbq bounded problem

2003-06-05 Thread Zealous
Dear all,   I have 1 mbps line to internet.   Our linux server is connected to router of 1mb   Linux server gets 1mb bandwidth.   I have done SOURCE MASQUERADING on linux.   I have attached a cbq bandwidth script. I want to allow the traffic to restrict to 200Kbps. it should not exceed beyon

Re: [LARTC] HTB Question...

2003-06-05 Thread Stef Coene
I deleted some parts of your previous mail. > tc filter add dev eth1 parent 1:1 protocol ip handle 10 fw classid 1:10 > iptables -A FORWARD -i eth0 -t mangle -s 192.168.193.10 -j MARK --set- > Chain FORWARD (policy ACCEPT 109K packets, 79M bytes) > pkts bytes target prot opt in out s

[LARTC] HTB Question...

2003-06-05 Thread TeraHz
htb script: #!/bin/bash tc qdisc del dev eth1 root handle 1: tc qdisc add dev eth1 root handle 1: htb default 12 tc class add dev eth1 parent 1: classid 1:1 htb rate 48kbps ceil 48kbps tc class add dev eth1 parent 1:1 classid 1:10 htb rate 4kbps ceil 48kbps tc class add dev eth1 parent 1:1 classid

[LARTC] best place to tap all packets?

2003-06-05 Thread Amit Kucheria
Hi all, I am cross-posting to Linux-net and LARTC lists since it concerns both lists. I wish to capture *all* packets flowing through a Linux system in order to act upon it (delay, drop, inject additional packets). For incoming packets, I need to simply record some accounting/control/state in

[LARTC] Dynamic nat with iproute2 and kernel 2.4.18

2003-06-05 Thread Danny Patel
I have one issue that I am hoping you can help me with. After thoroughly researching this issue I can't seem to find any solution to the following situation in our school lab setup: The server is Gateway/Firewall/DHCP server IPTables ver: 1.2.6a Kernel: 2.4.18 (Red Hat) Cable Modem (with DHCP fo

Re: [LARTC] Problems with TC

2003-06-05 Thread Stef Coene
On Wednesday 04 June 2003 17:51, Lars Goldschlager wrote: > Greetings all... I write because i've been battlign a > problem with tc for two days and I can't find a > solution or a response to the failure... Basically I > am trying to shape marked packages since I have a NAT > and I discovered of co

Re: [LARTC] QUANTUM value

2003-06-05 Thread Stef Coene
On Wednesday 04 June 2003 16:53, Rio Martin. wrote: > Stef and all, > I got error sometimes, dmesg results like this: > > HTB: quantum of class 10011 is small. Consider r2q change.<4>HTB: quantum > of class 10012 is small. Consider r2q change.<4>HTB: quantum of class > 10013 is small. Consider r2q

Re: [LARTC] What is the use of "prio" in filters?

2003-06-05 Thread Stef Coene
On Wednesday 04 June 2003 07:54, Stoilis Giannis wrote: > Hello, > I am trying to create a QoS configuration for the company I work for. I > have a question that is not answered anywhere... > What is the usage of the "prio" command in filters? I can understand "prio" > in classes, but why every con

Re: [LARTC] HTB default 12 ?

2003-06-05 Thread Stef Coene
On Wednesday 04 June 2003 00:46, TeraHz wrote: > I've found that when the value in: tc qdisc add dev eth1 root handle 1: > default 12 -> is 12 some of the packets are massing through class 1:12 > and other through 1:1 > if this value is 25 for example in the tc -s -d class show dev eth1 > there are

[LARTC] IMQ / how to put incoming traffic to the gateway and to the LAN in2 different classes ?

2003-06-05 Thread schmurtz
Hi, My setup is: LAN --(eth0)-- GW/FW --(ppp0)-- Internet How to distinguish incoming traffic to the gateway from the traffic to the LAN ? I'm using 'iptables -t mangle -A PREROUTING -j IMQ -i ppp0' to send incoming traffic to imq0 Now I would like to put incoming traffic to the gateway and i

[LARTC] Problems with TC

2003-06-05 Thread Lars Goldschlager
Greetings all... I write because i've been battlign a problem with tc for two days and I can't find a solution or a response to the failure... Basically I am trying to shape marked packages since I have a NAT and I discovered of course that I couldn't shape based on ip with the NAT in place, for th

Re: [LARTC] etherchannel/port group/bonding plus vlan works well

2003-06-05 Thread William L. Thomson Jr.
Ryan, That's one way. On Tue, 2003-06-03 at 01:18, [EMAIL PROTECTED] wrote: > Computer is dell powerdge 350 with 2 > intel 82559 10/100 nic running stock 2.4.20. I tried both the eepro100 > and the e100 drivers for the nics, both work 802.1q and bonding are modules. > Switch is cisco 2

[LARTC] QUANTUM value

2003-06-05 Thread Rio Martin.
Stef and all, I got error sometimes, dmesg results like this: HTB: quantum of class 10011 is small. Consider r2q change.<4>HTB: quantum of class 10012 is small. Consider r2q change.<4>HTB: quantum of class 10013 is small. Consider r2q change.<4>HTB: quantum of class 10014 is small. Consider r2q ch