From owner-freebsd-net@FreeBSD.ORG Tue Jul 25 07:03:10 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1851E16A4DE for ; Tue, 25 Jul 2006 07:03:10 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A9A043D46 for ; Tue, 25 Jul 2006 07:03:08 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k6P737EY014253; Tue, 25 Jul 2006 10:03:07 +0300 From: Nikos Vassiliadis To: freebsd-net@freebsd.org Date: Tue, 25 Jul 2006 10:01:15 +0300 User-Agent: KMail/1.9.1 References: <200607241238.57205.nvass@teledomenet.gr> <20060724134810.GA4511@uk.tiscali.com> In-Reply-To: <20060724134810.GA4511@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607251001.16102.nvass@teledomenet.gr> Cc: Brian Candler Subject: Re: using loopback address as primary address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 07:03:10 -0000 On Monday 24 July 2006 16:48, Brian Candler wrote: > On Mon, Jul 24, 2006 at 12:38:56PM +0300, Nikos Vassiliadis wrote: > > Can I somehow use lo1 address > > for connections initiated from Host_2? > > Options I know of: > > (1) the application which originates the connection can explicitly bind > to the lo1 address (see for example telnet -s and ping -S options) > I am looking for a "global just-works" sollution something like a routing/ip addressing scheme that will allow me to use individual (unrelated) IP addresses assigned to individual boxes on the same ethernet segment with a gateway to the internet > (2) the application can run in a jail(8) whose IP address is lo1, in which > case a 'bind to any' will bind to this address only > If that could happen without the jail part it would be fine...