Subject: Re: Multiple default routes through different network interfaces?
To: Alicia da Conceicao <alicia@cyberstation.ca>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 10/23/2001 21:16:24
On Mon, Oct 22, 2001 at 03:29:04PM -0400, Alicia da Conceicao wrote:
> Sorry to bother everyone again, but I was wondering if it is possible
> for a single NetBSD server to have multiple defaults routes on different
> network interfaces, that each have their own separate gateways?
> 
> I have a PC running NetBSD-1.52, with two interfaces, each connected to
> a different ISP, and each with unique static IP number from the ISP's
> distinct network.  Neither ISP knows about the other, and neither ISP is
> willing to change their routers to route traffic for the other ISP's
> network.  The NetBSD-1.52 server has a kernel compiled with the GATEWAY
> option for packet forwarding.

I think you can do this with ipf, and the fastroute keyword.
I'm not sure you can do round-robin with this, though ...

--
Manuel Bouyer <bouyer@antioche.eu.org>
--