Subject: Re: Routing with NAT
To: Diego Linke - GAMK <linke@calnet.com.br>
From: Randy Beaudreault <maccult@pacbell.net>
List: netbsd-help
Date: 09/03/2002 13:56:58
>Hi,
>
>I have two NICs:
>1) On sip0 222.222.222.222 (default gateway 222.222.222.1)
>2) On sip1 111.111.111.111 (default gateway 111.111.111.1)
>
>And i have one LAN conection (sip2):
>sip2 IP: 192.168.0.1
>sip2 alias IP: 192.168.1.1
>
>I need of traffic 192.168.0.X out via NIC 1 (222.222.222.222 nexthop 
>222.222.222.1) (NAT), and traffic 192.168.1.X out via NIC 2 
>(111.111.111.111 nexthop 111.111.111.1) (NAT).
>
>The problem is, only NIC the default gateway works fine!
>
>Any idea ?
>
>Thanks

What are your ipf.conf and ipnat.conf?
-- 
Randy

OS X - UNIX for the rest of us
NetBSD - Catch the Power!