From owner-freebsd-questions Sun Aug 20 14: 7:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 8767037B424 for ; Sun, 20 Aug 2000 14:07:37 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 20 Aug 2000 14:06:22 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id OAA19235; Sun, 20 Aug 2000 14:07:12 -0700 (PDT) (envelope-from cjc) Date: Sun, 20 Aug 2000 14:07:12 -0700 From: "Crist J . Clark" To: Evren Yurtesen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: multiple IP address question Message-ID: <20000820140712.X28027@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from yurtesen@ispro.net.tr on Sun, Aug 20, 2000 at 10:22:06PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Aug 20, 2000 at 10:22:06PM +0300, Evren Yurtesen wrote: > I have multiple IP addresses in one ethernet card but it try to only > connect through the first IP address defined in the ethernet card but not > with the aliased one. > How can I have 2 IP addresses and use the second one also? (for example > with squid in different processes) When making outgoing connections, a process will default to using the "real" IP as opposed to the aliased one. For incoming connections, the address used on the incoming connection will obviously be the one used for outgoing. It is for the second case an alias comes in handy the most. In order to get an application to use one address or the other, the functionality has to be built in to the program. However, there is usually not that much to gain from this. More frequently, people want processes to listen on a specific address. -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message