Subject: Routing with NAT
To: None <netbsd-help@netbsd.org>
From: Diego Linke - GAMK <linke@calnet.com.br>
List: netbsd-help
Date: 09/03/2002 09:34:23
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

-- 
Atenciosamente,
--
[ Diego Linke - GAMK ]
System/Network Administrator
Curitiba - Parana - Brazil
E-Mail: gamk@gamk.com.br
Web Site: http://www.gamk.com.br
Public Key: http://www.gamk.com.br/gamk.asc
Public Key (with photo_id): http://www.gamk.com.br/gamk_photo.asc
Phone Number: (+5541) 9967-3464