Re: [PATCH] net/ipv4 for Source VIPA support, kernel BK Head
From: Paul Jakma
Date: Fri Sep 03 2004 - 12:01:59 EST
On Fri, 3 Sep 2004, Einar Lueck wrote:
I just set up the loopback interface via ZEBRA/OSPF as You
described it and checked via tcpdump the source IP address of the
related NFS packets. The kernel chooses the IP address of the NIC
he routes the packets over as the source IP address and not the
Source VIPA configured for loopback.
Ah, I didnt say adding an address to loopback would make everything
use it. Merely that loopback already exists as an interface to which
from which you can 'hang' your VIPA - no need for a new interface.
You could try:
ip route change default via <gateway> src <vipa>
Presuming the NFS clients are behind a gateway. If also onlink, you
need to modify the connected routes and change the src there too.
You are right, it would be one option to have a "bind to address"
in KNFSD.
It might even already exist.. who knows. ;)
But our idea was to implement a feature well known from other
operating systems like AIX to Linux because this feature is quite
popular and liked especially by large customers.
Right, but Linux can already do it. The configuration might not be
the same as AIX, but that's not a good reason.. if it were, you
should also be porting smit to Linux to satisfy your customers ;)
Linux can already do what you want I think. Just a matter of
configuring it.
We would win a facility allowing for a Source VIPA for all kinds of
servers not offering an explicit bind option. So: Due to the
feature port idea mentioned above.
Have you tried playing with ip route?
ip route <destination> ...... src <source address>
If we focus for a moment just on the NIC-fail-over issue (not
caring about layers, virtual IPs, etc.) then bonding offers the
desired failover with some restriction. This is the reason why I
mentioned it in this context.
Ah.
Again, thanks for Your suggestions and maybe we should continue our
discussion privately.
Sure.
Regards
Einar.
regards,
--
Paul Jakma paul@xxxxxxxx paul@xxxxxxxxx Key ID: 64A2FF6A
Fortune:
kernel panic: write-only-memory (/dev/wom0) capacity exceeded.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/