Re: Kernel Routing sequence

From: Al Boldi
Date: Fri Aug 12 2005 - 00:39:43 EST


Henrik Nordstrom wrote:
> On Wed, 10 Aug 2005, Al Boldi wrote:
> > Is it possible to instruct the kernel to use the dest-mask
> > instead of just letting it assume /32 ?
>
> What do you want exactly?
>

ping from 10.0.2.1/8 to 10.0.0.1 should route out to 10.0.0.0/8 and
not to 10.0.1.0/24 even if the route lists before 10.0.0.0/8!

> To include the source address in your routing decisions see "ip
> rule add/remove" and the Linux Advanced Routing howto.

Is there a way to do it w/o iptables?

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html