From owner-freebsd-stable Tue Nov 14 8: 0:27 2000 Delivered-To: freebsd-stable@freebsd.org Received: from yertle.kciLink.com (yertle.kciLink.com [208.184.13.195]) by hub.freebsd.org (Postfix) with ESMTP id E165437B4C5; Tue, 14 Nov 2000 08:00:21 -0800 (PST) Received: from onceler.kciLink.com (onceler.kciLink.com [208.184.13.196]) by yertle.kciLink.com (Postfix) with ESMTP id 0A39A2E44B; Tue, 14 Nov 2000 11:00:21 -0500 (EST) Received: (from khera@localhost) by onceler.kciLink.com (8.11.1/8.11.1) id eAEG0KJ02662; Tue, 14 Nov 2000 11:00:20 -0500 (EST) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14865.24980.904791.44288@onceler.kciLink.com> Date: Tue, 14 Nov 2000 11:00:20 -0500 To: freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: source IP address In-Reply-To: <200011140259.eAE2xDZ43286@earth.backplane.com> References: <200011132148.OAA09159@freeway.dcfinc.com> <200011140259.eAE2xDZ43286@earth.backplane.com> X-Mailer: VM 6.80 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "MD" == Matt Dillon writes: MD> If the outgoing interface has aliases, it is believed that the MD> IP address will be the primary IP address of the interface. MD> However, there have been problems with this in the past and I am MD> not sure if they were completely fixed. MD> Some programs, such as ping and traceroute, allow you to bind MD> to a specific source IP address. Most programs don't, though. Quite a few programs let you do it: telnet, bind, postfix, lyris, to name a few. Curiously, I had bind running bound to an alias interface for legacy purposes for a while. For kicks one day, I turned on log_in_vain for udp, and was getting *lots* of udp packets to the primary address. I had to tell bind to just go ahead and listen on all interfaces, yet still use only the alias for outbound messages. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message