Subject: default route and private networks
To: None <tech-net@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-net
Date: 04/13/2005 19:14:05
Hi,
I have the following setup:
_______________ _________
--- public IP | NetBSD 3.0 box |10.1.1.1----10.1.1.2| Router|Internet-------
--------------- ---------
That is, the NetBSD box has a public IP, on a public IP network, but it's
not the network connecting it to the default router (its default route is
10.1.1.2).
This works mostly fine, exept that for outgoing connections from the NetBSD
box, the source address is 10.1.1.1.
Is there a way to force it to use the public IP for outgoing connections ?
I tried playing with the -ifa modifier to route, without results.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
NetBSD: 26 ans d'experience feront toujours la difference
--