[LARTC] rp-l2tp routing

2003-07-31 Thread Rob Verduijn
Hi there, I've set up a gateway machine with rp-l2tpd (this one: http://sourceforge.net/projects/rp-l2tp/) For some reason my isp choose for l2tp. My gateway has two cards eth0 (local network 172.16.0.0) eth1 (local network between my gateway and cablemodem 10.0.0.0) ppp0 is set up over eth1 towa

Re: [LARTC] shaping incoming with ingress

2003-07-31 Thread Stef Coene
On Thursday 31 July 2003 12:00, Rio Martin. wrote: > On Thursday 31 July 2003 16:46, you wrote: > > If I understand correctly, you have 1 router with 2 nics. So you shape > > incoming traffic on nic1 by shaping outgoing traffic on nic2. This is > > fine for your setup, but if you 3 nic's and you

Re: [LARTC] How to limit forwarding rate of a device

2003-07-31 Thread Stef Coene
On Thursday 31 July 2003 04:36, anzp wrote: > lartc > > Both NIC of my Linux Computer are 100M. I want to limit it to 1M. I > used the following script: > #/bin/sh > > DEV="dev eth0" > echo $DEV > TC="/usr/src/redhat/SOURCES/iproute2-2.4.7src/iproute2/tc/tc" >

Re: [LARTC] shaping incoming with ingress

2003-07-31 Thread Rio Martin.
On Thursday 31 July 2003 16:46, you wrote: > If I understand correctly, you have 1 router with 2 nics. So you shape > incoming traffic on nic1 by shaping outgoing traffic on nic2. This is fine > for your setup, but if you 3 nic's and you are running some services on the > router, you will have a

Re: [LARTC] shaping incoming with ingress

2003-07-31 Thread Stef Coene
On Thursday 31 July 2003 05:55, Rio Martin. wrote: > On Thursday 31 July 2003 10:00, Martin A. Brown wrote: > > Well(you'll love this) the reason everyone is saying "you can't shape > > incoming traffic" is because you can't shape incoming traffic (without > > IMQ). > > Well, i shape incoming t

Re: [LARTC] shaping incoming with ingress

2003-07-31 Thread Stef Coene
On Thursday 31 July 2003 05:00, Martin A. Brown wrote: > Good questions Damion, > > : I've noticed as of late, everyone saying 'you can't shape incoming > : traffic' but the best solution is to use the imq device. > > Well(you'll love this) the reason everyone is saying "you can't shape > inc

[LARTC] How to limit forwarding rate of a device

2003-07-31 Thread anzp
lartc, Hello,everyone. Both NIC of my Linux Computer are 100M. I want to limit it to 1M. I used the following script: #/bin/sh DEV="dev eth0" echo $DEV TC="/usr/src/redhat/SOURCES/iproute2-2.4.7src/iproute2/tc/tc" $TC qdisc add $DEV handle 1:0 root ds

[LARTC] How to limit forwarding rate of a device

2003-07-31 Thread anzp
lartc Both NIC of my Linux Computer are 100M. I want to limit it to 1M. I used the following script: #/bin/sh DEV="dev eth0" echo $DEV TC="/usr/src/redhat/SOURCES/iproute2-2.4.7src/iproute2/tc/tc" $TC qdisc add $DEV handle 1:0 root dsmark indices 64 set_tc