2000-12-01 09:41:11

by Dries van Oosten

[permalink] [raw]
Subject: 2.4 routing problem

Can someone point me to how routing is done in the 2.4 kernel?
My net-tools don't work anymore (specifically route fails to produce the
routing table). I look around a bit in the kernel sources and notice
things have changed. What kind of options are there now to influence the
routing table?

Groeten,
Dries
p.s. I also noticed that the rtable struct in include/route.h has an extra
element squeezed in (inet_peer has been added). The version of route.h is
however the same as that of the 2.2.16 kernel. I would say that this
change justifies mentioning. How strict is the versioning of files in the
kernel sources?


2000-12-01 09:48:53

by Dax Kelson

[permalink] [raw]
Subject: Re: 2.4 routing problem

Dries van Oosten said once upon a time (Fri, 1 Dec 2000):

> Can someone point me to how routing is done in the 2.4 kernel?
> My net-tools don't work anymore (specifically route fails to produce the
> routing table). I look around a bit in the kernel sources and notice
> things have changed. What kind of options are there now to influence the
> routing table?

My net-tools v1.56 that comes with Red Hat 7 works fine.

If you want to take full advantage of all the networking features, you
need to use iproute2.

ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.2.4-now-ss??????.tar.gz

Dax Kelson
Guru Labs

2000-12-01 09:52:53

by Dries van Oosten

[permalink] [raw]
Subject: Re: 2.4 routing problem

On Fri, 1 Dec 2000, Dax Kelson wrote:

> Dries van Oosten said once upon a time (Fri, 1 Dec 2000):
>
> > Can someone point me to how routing is done in the 2.4 kernel?
> > My net-tools don't work anymore (specifically route fails to produce the
> > routing table). I look around a bit in the kernel sources and notice
> > things have changed. What kind of options are there now to influence the
> > routing table?
>
> My net-tools v1.56 that comes with Red Hat 7 works fine.
>
> If you want to take full advantage of all the networking features, you
> need to use iproute2.
>
> ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.2.4-now-ss??????.tar.gz

I downloaded and compiled them and they don't work as well.
What am I missing here?

Groeten,
Dries


2000-12-01 15:12:42

by Chris Friesen

[permalink] [raw]
Subject: Re: 2.4 routing problem

Dries van Oosten wrote:
>
> On Fri, 1 Dec 2000, Dax Kelson wrote:

> > If you want to take full advantage of all the networking features, you
> > need to use iproute2.
> >
> > ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.2.4-now-ss??????.tar.gz
>
> I downloaded and compiled them and they don't work as well.
> What am I missing here?

Try recompiling the kernel with "advanced routing" "policy routing" and
"netlink" turned on.

--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: [email protected]