Re: [LARTC] simple question

2002-09-25 Thread LIEVEN
As you can confirm in your own draw that you shown us, you have different nets . You need : 1.- A static route to ROUTER 10.0.0.254 from de LAN 209 or 2.- Configure some routing protocols like RIP with Zebra suite. These configurations tipe are the same as Cisco routers, for any configura

[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 i

[LARTC] Help: Multiple internet connections

2002-09-25 Thread David H. Lynch Jr.
I have been trying to get a router/firewall with a DSL and 6 fixed IP's and a Faster Cable modem with a semi-fixed IP up and running for a long, long time. Mostly things work, and I have read the http://lartc.org/howto/lartc.rpdb.multiple-links.html#AEN261 pages and implemented them.

Re: [LARTC] pfifo_fast dosnt work?

2002-09-25 Thread Thomas Kirk
On Wed, Sep 25, 2002 at 06:18:44PM +0200, Tobias Geiger wrote: > 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 bandwidt

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 .

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 el

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 mod

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 previ

[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 subnets

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

2002-09-25 Thread Stef Coene
On Wednesday 25 September 2002 16:13, Tobias Geiger wrote: > 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? Yes and it's ev

Re: [LARTC] bridging and shaping

2002-09-25 Thread Stef Coene
> I want to put very clear this idea, because I am interested in this too! > If I want to put a Linux machine with bridge and HTB shaping, and only > that (NO firewall, no iptables, no nothing, only bridge and HTB for > shaping). > Do I need to patch the kernel with anything other that the HTB pat

Re: [LARTC] get a route from within c code

2002-09-25 Thread David Boreham
> 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 effi

[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?

[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 iptab

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 tc cl

[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] 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.1

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

2002-09-25 Thread Stef Coene
On Wednesday 25 September 2002 11:39, Rohan Almeida wrote: > "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

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 pa

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 P

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 hand

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 p

Re: [LARTC] HTB

2002-09-25 Thread Stef Coene
On Tuesday 24 September 2002 17:14, Rimas wrote: > Hi again, > > Sorry it was my mistake, I have mised <. > And I got a few error messages : > > patching file net/sched/Config.in > patching file net/sched/Makefile > patching file net/sched/sch_htb.c > patching file include/linux/pkt_sched.h > patc

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 patc

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

2002-09-25 Thread Soulfly
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: sfq perturb 10 tc qdisc add dev eth0 parent 1: