[LARTC] what's the meaning of this "struct qdisc_rate_table"

2002-05-15 Thread Huang Xin Gang
LARTC£¬hello£¡ As title, and I want to know its member's purpose: struct tc_ratespec { unsigned char cell_log; unsigned char __reserved; unsigned short feature; short addend; unsigned short mpu; __

[LARTC] GRE tunnel question

2002-05-15 Thread Vikas B. Wadhwani
Hi, I have set up GRE tunnels accoding to the LARTC document but its not working. I have 3 routers connected in the form of a ring. They have interfaces as follows: Mars: 172.16.0.2, 172.16.1.1 Mercury: 172.16.0.1, 172.16.2.2 Pluto: 172.16.2.1, 172.16.1.2 Mars can reach 0.0 and 1.0 networks bu

[LARTC] iptables marked packets and TC

2002-05-15 Thread Chris Ellsworth
I have been trying to shape the traffice on a bridge i have iptables succesfully marking packes but have not been able to get TC to read the marked packets from Iptables and filter them into CBQ my current config is as follows tcclass_add="tc class add dev brint_ext parent 1: classid" tc

[LARTC] New server in place!

2002-05-15 Thread bert hubert
As you can see on http://outpost.ds9a.nl, the new server has arrived. It is a very nice IBM x135 1U eServer. Many thanks to my friend Dave Aaldering (http://www.puddingonline.com/~dave/) of Hubris (http://www.hubris.nl) for helping to quickly procure a great server for a great price. We fully exp

Re: [LARTC] iproute + mark question

2002-05-15 Thread Jason A. Pattie
Thanks for the response. Ciprian Niculescu wrote: > steps: > - mark pachets to port 80 comming from the internal interface > - put them in a different routing table > - put the default in the new table where do you want to go > >> It seems that 'iptables -t mangle -A OUTPUT -p tcp --dport 80 -j

Re: [LARTC] iproute + mark question

2002-05-15 Thread Ciprian Niculescu
i did my work, my problem was that are diferences between HOWTO and realyty. so let's see your problem Jason A. Pattie wrote: > > We have almost the same scenario except we need to use tcp instead of > udp and we want to direct all port 80 traffic from the internal network > out our new cabl

Re: [LARTC] iproute + mark question

2002-05-15 Thread Jason A. Pattie
Ciprian Niculescu wrote: > i want to mark the pachets generated localy, and route them differently We have almost the same scenario except we need to use tcp instead of udp and we want to direct all port 80 traffic from the internal network out our new cable modem instead of using the older (

[LARTC] problems with htb3.3-020512 and 2.4.18+freeswan

2002-05-15 Thread Segree, Gareth
I just compiled your htb3.3-020512.tar.gz I am running kernel 2.4.18 with freeswan patched in. iproute2-2.4.7-now-ss010824.tar.gz freeswan 1.97 I did the following cd /usr/src/linux patch -p1 < /tmp/htb/htb3_2.4.17.diff rebuilt the kernel that went fine. cd /tmp/iproute2 pathc -p1

Re: [LARTC] htb_change sfq_change

2002-05-15 Thread Martin Devera
> > :) You can drop & recreate it safely. User will > > not see it. The change function for SFQ will be > > probably considered "redundant" by other kernel > > developers because of it. > > But you loose counters! This is bad IMHO. That's good point ! So that go ahead and implement it for SFQ :)

Re: [LARTC] htb_change sfq_change

2002-05-15 Thread Michael T. Babcock
On Wed, May 15, 2002 at 02:24:54PM +0300, Catalin BOIE wrote: > On Tue, 14 May 2002, Martin Devera wrote: > But you loose counters! This is bad IMHO. If you know when you're dropping it, the counter loss is not relevant; resetting to zero is easy to compensate for, and rrdtool (for example) has

Re: [LARTC] htb_change sfq_change

2002-05-15 Thread Catalin BOIE
On Tue, 14 May 2002, Martin Devera wrote: > Date: Tue, 14 May 2002 14:15:36 +0200 (CEST) > From: Martin Devera <[EMAIL PROTECTED]> > To: Catalin BOIE <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [LARTC] htb_change sfq_change > > :) You can drop & recreate it safely. User will > not

Re: [LARTC] 2 questions

2002-05-15 Thread Sebastian 'spax' Pape
hi Jose, > 1)How can i create a qdisc with a MAC adress (not host)? try to mark those packets with netfilter $IPTABLES ... -m mac --mac-source ... > 2)How can i make a Transparent (squid)Proxy on my Linux-(Bridge+Traffic > control). I use 2 (1 in + 1 out) interfaces in promiscue mode. They have

[LARTC] what's the meaning of this "struct qdisc_rate_table"

2002-05-15 Thread Huang Xin Gang
LARTC£¬hello£¡ As title, and I want to know its member's purpose: struct tc_ratespec { unsigned char cell_log; unsigned char __reserved; unsigned short feature; short addend; unsigned short mpu; __

Re: [LARTC] VPN add bandwidth management

2002-05-15 Thread Stef Coene
On Wednesday 15 May 2002 06:05, hanhbnetfilter wrote: > Dear sir > I just want to use "tc" to control the bandwidth of > VPN.But i use iptables and "mark" to discribe the > data, > so i want to know this way would be some influnce . If you mark the VPN tunnel packets and put them in a seperated cl