From owner-freebsd-questions@FreeBSD.ORG Mon Oct 23 21:53:01 2006 Return-Path: X-Original-To: freebsd-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 B99D616A40F for ; Mon, 23 Oct 2006 21:53:01 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A71343D45 for ; Mon, 23 Oct 2006 21:53:01 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1Gc7jA-000Bix-JC; Mon, 23 Oct 2006 15:53:00 -0600 In-Reply-To: <20061023214051.GA19427@math.jussieu.fr> References: <20061023210232.GJ9849@math.jussieu.fr> <20061023214051.GA19427@math.jussieu.fr> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-5-797069573; protocol="application/pkcs7-signature" Message-Id: <5F77160A-B0C1-4591-A7AE-99206864F9D8@shire.net> From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 23 Oct 2006 15:52:59 -0600 To: shih@math.jussieu.fr X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Questions list Subject: Re: two NIC and nfs 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: Mon, 23 Oct 2006 21:53:01 -0000 --Apple-Mail-5-797069573 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed On Oct 23, 2006, at 3:40 PM, Albert Shih wrote: > Le 23/10/2006 =E0 13:09:21-0800, Jeff Mohler a =E9crit >> Are nic1 and nic2 on the same network? >> >> >> >> Are client2 and nic2 on the same network? >> >> > > Yes all in same subnet, all connected on the same gigabits switch. The easiest thing is to set up a separate subnet for server nic 2 and =20= client nic 2, perhaps as an alias on the existing one. Use a private =20= netblock like 192.168.n to separate them out. I do this. I have a single nic in the client (but I have multiple =20 clients) and the nfs server has 4 nics. nic 1 is 192.168.1.x and nic =20= 2 is 192.168.2.x and nic 3 is 192.168.3.x and nic 4 is 192.168.4.x . I am actually running one of my clients with 1 nic with aliased =20 addresses talking to 2 separate nics on the server, mainly for =20 testing purposes to separate different share while I did some packet =20 sniffing to solve an unrelated problems. Chad > > and all nfs traffic is in UDP. > >>> Hi all >>> >>> I've two NIC on my server. >>> >>> Until now I just use one. I want use the second interface to =20 >>> increase >>> perfs. >>> >>> The server have only one purpose : nfsd. >>> >>> Suppose if I do >>> >>> nfs_nic_1 <---> client 1 >>> >>> nfs_nic_2 <---> client 2 >>> >>> well that's work but not... really because if incomming traffic from >>> client_2 pass through nic_2, all output traffic pass through nic_1. >>> >>> How can I make the all traffic between client_2 and my server =20 >>> pass through >>> nic_2 ? >>> > > Regards. > > JAS > -- > Albert SHIH > Universite de Paris 7 (Denis DIDEROT) > U.F.R. de Mathematiques. > 7 i=E8me =E9tage, plateau D, bureau 10 > Heure local/Local time: > Mon Oct 23 23:39:46 CEST 2006 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-=20 > unsubscribe@freebsd.org" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net --Apple-Mail-5-797069573--