From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 14:19:17 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 AB32D16A41F for ; Thu, 15 Sep 2005 14:19:17 +0000 (GMT) (envelope-from sysjo@hades.yoafrica.com) Received: from cortizone.yoafrica.com (cortizone.yoafrica.com [196.44.176.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 183EB43D48 for ; Thu, 15 Sep 2005 14:19:14 +0000 (GMT) (envelope-from sysjo@hades.yoafrica.com) Received: from hades.yoafrica.com ([196.44.177.50] ident=postfix) by cortizone.yoafrica.com with esmtp (Exim 4.51 (FreeBSD)) id 1EFuZv-000O5M-OW; Thu, 15 Sep 2005 14:19:08 +0000 Received: by hades.yoafrica.com (Postfix, from userid 1001) id 674D56AD5; Thu, 15 Sep 2005 16:19:04 +0200 (CAT) Date: Thu, 15 Sep 2005 16:19:04 +0200 From: John Oxley To: Jerry McAllister Message-ID: <20050915141904.GB52909@yoafrica.com> References: <008601c5b9f6$f3578620$6501a8c0@GRANT> <200509151331.j8FDVKCW008881@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509151331.j8FDVKCW008881@clunix.cl.msu.edu> User-Agent: Mutt/1.5.10i Cc: questions@freebsd.org Subject: Re: IPs , Netmasks and Broadcast. 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: Thu, 15 Sep 2005 14:19:17 -0000 On Thu, Sep 15, 2005 at 09:31:20AM -0400, Jerry McAllister wrote: > Anyway, all the aliases for any one NIC card must be 255.255.255.255. Not so. All aliases for any one NIC on the same network must be 0xffffffff. If you have an alias which is on another network, then the first alias on that network must use that networks netmask and then all the other aliases on the same network use 0xffffffff. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html But when you have two different networks on one NIC, I think you may have to do some routing (I'm lucky, I just do the routing on the Cisco switches that all our servers are plugged into :). Have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html Also google for or dual homed or something like that. I can't remember exactly what you have to do because I haven't done it in so long. -John