Re: [LARTC] bridging and shaping

2002-09-25 Thread Stef Coene
On Wednesday 25 September 2002 07:59, Rohan Almeida wrote: Hi List, I've truly sorry if this question has been tried on this LIST, but i'm quite desperate now! I'm currently using a linux box doing proxy-arp, with same IP on both interfaces. kernel 2.4.18 with htb and iproute2 patch

Re: [LARTC] An example of prio qdisc please...

2002-09-25 Thread Emmanuel Lacour
On Wed, Sep 25, 2002 at 09:28:28AM +0200, Soulfly wrote: tc qdisc add dev eth0 root handle 1: prio bands 5 priomap 2 3 2 2 3 3 3 3 1 1 1 1 2 2 2 2 tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10 tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10 tc qdisc add dev eth0

Re: [LARTC] An example of prio qdisc please...

2002-09-25 Thread Rohan Almeida
Soulfly [EMAIL PROTECTED] thus wrote: tc qdisc add dev eth0 root handle 1: prio bands 5 priomap 2 3 2 2 3 3 3 3 1 1 1 1 2 2 2 2 tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10 tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10 tc qdisc add dev eth0 parent 1:3 handle 30:

Re: [LARTC] An example of prio qdisc please...

2002-09-25 Thread Soulfly
I'm happy to help! I just want to make sure you've know the basics so you don't fall into pitholes. Examples is one of the best sources of information. Oh I didn't look up the number for your protocol, so exchange the 'XX' with this. - Original Message - From: Emmanuel Lacour [EMAIL

Re: [LARTC] An example of prio qdisc please...

2002-09-25 Thread Soulfly
Soulfly [EMAIL PROTECTED] thus wrote: tc qdisc add dev eth0 root handle 1: prio bands 5 priomap 2 3 2 2 3 3 3 3 1 1 1 1 2 2 2 2 tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10 tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10 tc qdisc add dev eth0 parent 1:3 handle

Re: [LARTC] bridging and shaping

2002-09-25 Thread Julio E. Gonzalez P.
Stef Coene wrote: On Wednesday 25 September 2002 07:59, Rohan Almeida wrote: Hi List, I've truly sorry if this question has been tried on this LIST, but i'm quite desperate now! I'm currently using a linux box doing proxy-arp, with same IP on both interfaces. kernel 2.4.18 with htb and

[LARTC] [tcng8y] make test errors again :)

2002-09-25 Thread raptor
mandrake2.4.19mdk - sorry that i'm not able to be more helpfull :) And just sending make test reports == TCNG host syntax: bare name with host prefix: PASSED TCNG host syntax: bare name with host prefix (obsolete): PASSED TCNG host

Re: [LARTC] An example of prio qdisc please...

2002-09-25 Thread Tobias Geiger
correct me if im wrong, but couldn't u achieve the same goal only with htb? i mean by creating a leave-level with classes rate=1bps, ceil=maxbw, prio 0-6 and attaching sfq/pfifo as leave-qdiscs to these classes? s.th. like: tc qdisc root handle 1:0 htb tc class parent 1:0 handle 1:1 rate

[LARTC] pfifo_fast dosnt work?

2002-09-25 Thread Thomas Kirk
Hep Trying to get pfifo to work. Setup : |--|---eth1 (192.168.10.0/24) eth0---| GW |---eth2 (192.168.11.0/24) |--|---eth3 (192.168.12.0/24) read all documentation : http://lartc.org/howto/lartc.cookbook.interactive-prio.html here is my TOS mangling rulse in iptables :

[LARTC] get a route from within c code

2002-09-25 Thread Andreani Luca
I woluld like to know if there is a way to know the route to a destination without asking it via console (ip route get) but from within c code. One possible way is to make system(ip route gat xxx.xxx.xxx.xxx), redirect to a file and then read the file. Is there a simpler and more efficient way?

Re: [LARTC] pfifo_fast dosnt work?

2002-09-25 Thread Tobias Geiger
hi, just like Steve said in the previous mail, prioband is ok but it doesn't make sure that your bandwith is consumed by one service (even if it's in a lower class than interactive stuff) because it doesn't reserve bandwidth for its priomaps. to achieve what u want i suggest using htb (see

[LARTC] Routing and Shaping using RedHat7.3

2002-09-25 Thread John Cushnie
Hi all, I'm running RH7.3 plus errata. I've read through the HowTo and I had something like this configuration working on RH7.1, but it looks like the interface to IP and ROUTE has changed considerably since then. I'm trying to set up a simple router configuration to route between

Re: [LARTC] GRE tunnel wierdness

2002-09-25 Thread Steve M Bibayoff
David Lamparter [EMAIL PROTECTED] wrote: I don't know where this ping effect comes from, east: # ip tunnel add netb mode gre remote a.b.c.e local f.g.h.i ttl 255 # ip link set netb up # ip addr add 192.168.0.254/32 peer 192.168.1.0/24 dev netb west: # ip tunnel add neta mode gre

Re: [LARTC] GRE tunnel wierdness

2002-09-25 Thread David Lamparter
Steve M Bibayoff schrieb: Tried both of these, am still seeing this weird ping affect. If no traffic travels over the tunnel for a while (5 minutes) I can't get from .0/24 neta(east) to .1/24 netb(west) till after I send some traffic from west to east first. Once I do that, everything else

Re: [LARTC] GRE tunnel wierdness

2002-09-25 Thread Steve M Bibayoff
David Lamparter [EMAIL PROTECTED] wrote: Do you have NAT / mangling / etc. running somewhere? The connection tracking timeout is 500 s afaik, maybe GRE is NATed on one of your gateways? A possible explanation would be that east does SNAT on GRE packets or west does DNAT on GRE ... so

[LARTC] simple question

2002-09-25 Thread Jason C. Leach
hi, So I have the following: ROUTER 10.0.0.254 | 10.0.0.3(eth0) MY_DEBIAN_RTR 209.52.x.126(eth1) | LAN (the 209.52.x.64/26 subnet) I need to route the 209.52.x.64 subnet through MY_DEBIAN_RTR and on to the telephone company router. I'd probably like 209.52.x to have it's own table (if that