Subject: Re: Controlling Source IP address
To: None <netbsd-help@NetBSD.ORG>
From: Christoph Badura <bad@flatlin.ka.sub.org>
List: netbsd-help
Date: 09/12/1996 02:24:00
David Maxwell writes:
BTW, please keep your line shorter then 76 characters.
>As for binding, I can check the apache source to understand binding to
>incoming connections
>only for certain IPs, but my reading of the /usr/src/sys/netinet/ip_output.c
>source had me
>thinking that the outgoing source address will be set to the primary address
>for the
>interface.
If you don't bind a socket to a specific IP address, the primary
address of outgoing interface will be used. If you bind the socket to
a specific address, that address will be used.
--
Christoph Badura bad@flatlin.ka.sub.org
You don't need to quote my .signature. Everyone has seen it by now.
Besides, it doesn't add anything to the current thread.