[ILUG] IP aliases in different subnets

Wesley Darlington wesley at yelsew.com
Fri Jan 21 13:31:23 GMT 2000


Hi,

On Fri, Jan 21, 2000 at 01:06:08PM +0000, Dave Wilson wrote:
> It's possible to use ifconfig to have an ethernet interface listen to
> multiple IP addresses in the same subnet.
> 
> Is it possible to have the same interface listen to addresses on a
> different subnet, *and* each with their own default gateway?

As I understand it, there exists no concept of a network card having
a default gateway - the idea being that the *computer* has a default
gateway.

There exists an experimental kernel option, `IP: equal cost multipath',
CONFIG_IP_ROUTE_MULTIPATH, which allows for multiple default gateways. 
I don't know how it behaves when a route or router starts to misbehave,
but I'd be realling interested in hearing how you get on with it if you
go that route. (Groan. :-)

Wesley.




More information about the ILUG mailing list