Subject: RE: How to add two gateways ? - NetBSD 1.5.3a/i386
To: 'Brady Owens' <brady@fastglass.net>
From: CRESTIN Frederic <fcrestin@lexsi.com>
List: netbsd-help
Date: 11/22/2001 18:06:19
Sorry, I should have said that I have 5 NICs in the same machine, three of
them having local IP addresses, and two having public IP addresses. One of
these last two ones already has a gateway.

	Frederic CRESTIN

-----Message d'origine-----
De : netbsd-help-owner@netbsd.org
[mailto:netbsd-help-owner@netbsd.org]De la part de Brady Owens
Envoye : samedi 24 novembre 2001 23:35
A : CRESTIN Frederic; 'netbsd-help@netbsd.org'
Objet : Re: How to add two gateways ? - NetBSD 1.5.3a/i386


You will have to have another NIC for that other gateway I do believe.

cYa
Brady

> Hi everyone !
> 
> On a NetBSD 1.5.3a/i386, I'd like know if it's possible to add two
> gateways, and if yes, how ?
> 
> I must explain why two gateways:
> 
>  - one will be the *default* gateway, to come out on Internet
> 
>  - second one has an public IP address too. But it will not be used to
> come out, just to come in (mail server for example). In this case,
> problem is that when a request comes in on this network interface,
> answer goes out on the first interface, which is the default gateway.
> I'd like that answers use same interfaces as requests.
> 
> How to resolve such a problem ?
> 
> Note: I use too IPFilter, that I know well. It it can help...
> 
> Thanks in advance for your help !
> 
>  Frederic CRESTIN
>