From owner-freebsd-questions Sat May 23 03:33:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04940 for freebsd-questions-outgoing; Sat, 23 May 1998 03:33:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04903 for ; Sat, 23 May 1998 03:33:50 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id KAA19956; Sat, 23 May 1998 10:33:48 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id MAA10124; Sat, 23 May 1998 12:33:41 +0200 (MET DST) Message-ID: <19980523123340.02145@follo.net> Date: Sat, 23 May 1998 12:33:40 +0200 From: Eivind Eklund To: FreeBSD Questions , Brandon Lockhart Subject: Re: VHost question (generalization) References: <3566593C.38CFCAA0@san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <3566593C.38CFCAA0@san.rr.com>; from Studded on Fri, May 22, 1998 at 10:06:04PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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