From owner-freebsd-questions@FreeBSD.ORG Sun Aug 28 19:38:16 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2990F16A41F for ; Sun, 28 Aug 2005 19:38:16 +0000 (GMT) (envelope-from bsilver@chrononomicon.com) Received: from trans-warp.net (hyperion.trans-warp.net [216.37.208.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9863F43D45 for ; Sun, 28 Aug 2005 19:38:15 +0000 (GMT) (envelope-from bsilver@chrononomicon.com) Received: from [127.0.0.1] (unverified [65.193.73.208]) by trans-warp.net (SurgeMail 2.2g3) with ESMTP id 21568976 for multiple; Sun, 28 Aug 2005 15:37:55 -0400 In-Reply-To: <20050828182819.GA2941@skytracker.ca> References: <20050828182819.GA2941@skytracker.ca> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Bart Silverstrim Date: Sun, 28 Aug 2005 15:38:08 -0400 To: David Banning X-Mailer: Apple Mail (2.622) X-Server: High Performance Mail Server - http://surgemail.com X-Authenticated-User: bsilver@chrononomicon.com Cc: questions@freebsd.org Subject: Re: running more than one server with one IP address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2005 19:38:16 -0000 On Aug 28, 2005, at 2:28 PM, David Banning wrote: > Is it possible to run more than one server(machine) with one IP > address? I have so many different server-applications running on my > machine I > would like to divide them up. > > Maybe using one machine email only, or use one for certain websites, > and another for other websites. This would also allow me to take-down > one machines for maintenance when necessary, or use one machine for > more troubleshooting. > > Wondering if someone could even direct me to the terminology that I am > looking for so I can google it. The only way I know of doing this is if you have one externally visible IP and you're trying to break up services among systems on the internal network. On your router, you'd use port forwarding to redirect individual ports to each machine inside your network; i.e., tell the router to forward port 25 to your SMTP server, port 80 to your internal web server, and port 22 to your internal SSH server whenever requests to those port hit IP WWW.XXX.YYY.ZZZ. I would suppose you'd google for information about NAT and port forwarding on routers. If you try this with an internal system, you're probably going to run into issues with ARP routing and collisions. You'd have to place your machines in their own VLAN and have one "internal IP" assigned to the interface and still use some kind of redirection to the VLAN servers...that's quite a bit of work for most setups, though. You might be better off messing with your internal DNS so people can just go to www.mynetwork.com or smtp.mynetwork.com and have your DNS server hand out the proper IP of your server(s).