Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 1998 12:33:40 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, Brandon Lockhart <brandon@engulf.com>
Subject:   Re: VHost question (generalization)
Message-ID:  <19980523123340.02145@follo.net>
In-Reply-To: <3566593C.38CFCAA0@san.rr.com>; from Studded on Fri, May 22, 1998 at 10:06:04PM -0700
References:  <Pine.BSF.3.96.980522224054.10673A-100000@engulf.com> <3566593C.38CFCAA0@san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 22, 1998 at 10:06:04PM -0700, Studded wrote:
> Brandon Lockhart wrote:
> > 
> > Short and simple,
> >         How would I go about making two boxes one.  Basically, instead of
> > wasting two machines for two different irc daemons on two different hosts,
> > how would I go about taking two ip addresses, assigned to my ethernet
> > (ep0) (already done), and making one ip's port 6667 go to one ircd, and
> > the other's go to the other ircd.
> 
> 	First off, this question belongs on freebsd-questions, please follow up
> there if need be. Second, this is something you would have to in ircd,
> if your ircd has that feature. There is no way that I know of (and I'm
> 90% sure I'm right on this) to have freebsd differentiate between a port
> directed to one IP from a port being connected to via a different IP on
> the same machine.

That is quite wrong.  FreeBSD easily let you bind to different
addresses.  However, the 'normal' thing to do is bind to all
addresses, so if you want to have differentiation, you'll have to
specify and address (to bind(2), IIRC).

Eivind.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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