From owner-freebsd-questions Sun Mar 1 03:26:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA00549 for freebsd-questions-outgoing; Sun, 1 Mar 1998 03:26:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA00543 for ; Sun, 1 Mar 1998 03:26:41 -0800 (PST) (envelope-from font@Jupiter.Mcs.Net) Received: from Jupiter.Mcs.Net (font@Jupiter.mcs.net [192.160.127.88]) by Kitten.mcs.com (8.8.7/8.8.2) with ESMTP id FAA27737; Sun, 1 Mar 1998 05:26:38 -0600 (CST) Received: from localhost (font@localhost) by Jupiter.Mcs.Net (8.8.7/8.8.2) with SMTP id FAA25029; Sun, 1 Mar 1998 05:26:37 -0600 (CST) Date: Sun, 1 Mar 1998 05:26:37 -0600 (CST) From: Font To: Eddie Irvine cc: questions@FreeBSD.ORG Subject: Re: Setting up an IP route between two ethernet cards. In-Reply-To: <01bd44dc$b9369d60$a21a1acb@gretchen> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 1 Mar 1998, Eddie Irvine wrote: > [adding new network of Macs to FreeBSD server] > The FBSD box, will have addresses 192.168.1.1 > and 192.168.2.1. > This is OK, isn't it? Yes. > Obviously I will have to add an ifconfig for the new card in > rc.conf as 192.168.2.1 Add the new card to network_interfaces and in ifconfig_devicename. > Now, I want machines in one room to be able to > talk TCP/IP to machines in the other room. This > means I have to configure FBSD to act as a > router. Yes? gateway_enable="YES" in rc.conf, and in the TCP/IP configuration of the clients, have the default router set to the FreeBSD box, 192.168.2.1 for your new room. It might actually be easier to do this using DHCP. The Macs I've set up interoperate very well with ISC dhcpd 1.0.0. > And the easy way I do it is with "route", yes? No need. If you do all of the above in rc.conf and in the client setup, you'll be home free, all will be taken care of on boot. A bug in my MUA causes news.announce.newusers font to be sent to beneficiaries and senders of UCE/SPAM. @ mcs.net Wishes are like dishes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message