Re: Kernel Routing sequence
From: Henrik Nordstrom
Date: Thu Aug 11 2005 - 09:13:23 EST
On Wed, 10 Aug 2005, Al Boldi wrote:
But: ip route list match 10.0.1.2/8 reveals:
10.0.0.0/8 dev eth0 proto kernel scope link src 10.0.0.1
Is it possible to instruct the kernel to use the dest-mask instead of
just letting it assume /32 ?
What do you want exactly?
ip route list match 10.0.1.2/8
is equivalent to
ip route list match 10.0.0.0/8
as you have specified that only the highmost 8 bits are relevant in the
To change your routing use "ip route add/del".
To include the source address in your routing decisions see "ip rule
add/remove" and the Linux Advanced Routing howto.
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