From owner-freebsd-questions Thu Feb 1 14:59: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail4.sdc1.sfba.home.com (femail4.sdc1.sfba.home.com [24.0.95.84]) by hub.freebsd.org (Postfix) with ESMTP id 3056937B491 for ; Thu, 1 Feb 2001 14:58:42 -0800 (PST) Received: from home.com ([24.177.141.133]) by femail4.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010201225631.FLOF403.femail4.sdc1.sfba.home.com@home.com>; Thu, 1 Feb 2001 14:56:31 -0800 Message-ID: <3A79EA21.72B20264@home.com> Date: Thu, 01 Feb 2001 14:58:41 -0800 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.5.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: so@server.i-clue.de Cc: questions@FreeBSD.ORG Subject: Re: How to configure static routes? References: <3A79DCAB.F47DB7C5@i-clue.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christoph Sold wrote: > > Hi Folks, > > I want to setup a small server network like this: > Server Net +----------+ Client Net > 192.168.111.1 .--+ ed0 ed1 +--- 192.168.222.1 > | | Server A | > | +----------+ > | > | +----------+ > 192.168.111.2 ^--+ ed0 ed1 +--- 192.168.222.2 > | Server B | > +----------+ > > Server A mounts B via NFS and vice versa. Traffic between these two > machines should be routed through the 192.168.111.0/24 net, all other > traffic should be routed into the .222. How to make these two machines > talk to each other on their separate net? It has nothing to do with routes, all you have to do is declare in /etc/hosts (both computers) 192.168.111.1 server-a 192.168.111.2 server-b then in /etc/exports (server b) should be something like: /path/to/export -maproot=root -alldirs 192.168.111.1 and in /etc/exports (server a) should be something like: /path/to/export -maproot=root -alldirs 192.168.111.2 On both servers Kill -HUP and finally mount the disks on server-b looks like mount server-a:/usr /myusr suerte raymundo > > Thanks for your assitance > -Christoph Sold > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message