Subject: Re: Forcing IP source address?
To: Monroe Williams <monroe@criticalpath.com>
From: None <itojun@iijlab.net>
List: tech-net
Date: 05/09/2002 16:25:37
>The IP address assigned to the same machine's internal interface is real and
>routable, and if I could convince outgoing connections to use it as a
>source, I think everything would work fine.
>
>Is there a way to do this on NetBSD-1.5.2?
>
>I've found a couple of discussions about potential solutions to similar
>problems in the mailing list archives, but I didn't see anything concrete.
use route(8), -ifa option to set rt_ifa member of struct rtentry.
it will affect source address seletion.
itojun