From owner-freebsd-questions@FreeBSD.ORG Thu Sep 27 11:58:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22FFD16A418 for ; Thu, 27 Sep 2007 11:58:34 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 73B4413C45A for ; Thu, 27 Sep 2007 11:58:33 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id l8RBwUuR089142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Sep 2007 18:58:31 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.6/8.12.11) id l8RBwUDb085614; Thu, 27 Sep 2007 18:58:30 +0700 (ICT) Date: Thu, 27 Sep 2007 18:58:30 +0700 (ICT) Message-Id: <200709271158.l8RBwUDb085614@banyan.cs.ait.ac.th> From: Olivier Nicole To: emorras@s21sec.com In-reply-to: <20070927112954.4F9E295959@s21sec.com> (message from Eduardo Morras on Thu, 27 Sep 2007 13:30:24 +0200) References: <20070927112954.4F9E295959@s21sec.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: Binding application to one ethernet interface 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, 27 Sep 2007 11:58:34 -0000 Hi, > I have a server with apache that serves pages to an intranet. Now > we want to add another server application (cvs and pgsql) to another > intranet. Of course we can buy a new server to do that, but i want to > know if i can add a new ethernet card to the current server and force > apache to serve to one intranet and cvs/pgsql to the other intranet. Yes, you can have several ethernet cards, each with an IP in a different subnet. You can run every application on what subnet(s) you decide, but the exact way to bind one application to one or more IP is depending on the application itself. > I think that by default, freebsd will balance the charge between > both cards, is it true?? No that is not true. If you have both card in the same subnet, I am not sure what would happen, but I beleive no load balancing. Bests, Olivier