Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 14:48:10 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        Nikos Vassiliadis <nvass@teledomenet.gr>
Cc:        freebsd-net@freebsd.org
Subject:   Re: using loopback address as primary address
Message-ID:  <20060724134810.GA4511@uk.tiscali.com>
In-Reply-To: <200607241238.57205.nvass@teledomenet.gr>
References:  <200607241238.57205.nvass@teledomenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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)

(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

(3) use source NAT with pf etc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060724134810.GA4511>