From owner-freebsd-questions Sat Feb 28 22:36:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA27984 for freebsd-questions-outgoing; Sat, 28 Feb 1998 22:36:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from random.tpgi.com.au (random.tpgi.com.au [203.12.160.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA27897 for ; Sat, 28 Feb 1998 22:36:14 -0800 (PST) (envelope-from eirvine@tpgi.com.au) Received: (from smtpd@localhost) by random.tpgi.com.au (8.8.4/8.8.6) id RAA21403 for ; Sun, 1 Mar 1998 17:36:08 +1100 (EST) Received: from tar-ppp-162.tpgi.com.au(203.26.26.162), claiming to be "gretchen" via SMTP by random.tpgi.com.au, id smtpdAAAa005EI; Sun Mar 1 17:36:04 1998 From: "Eddie Irvine" To: Subject: Setting up an IP route between two ethernet cards. Date: Sun, 1 Mar 1998 16:39:02 +1000 Message-ID: <01bd44dc$b9369d60$a21a1acb@gretchen> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, FreeBSD is running so spendidly well that I am connecting another roomfull of Macs to it. ( FBSD runs apache, squid, telnet, and connects to the internet via modem and ppp. Netatalk is going as well.) This means I will then have two networks hanging off the one FBSD machine. Each network gets its own ethernet card on FBSD. Thinking only about IP for the moment (appletalk later): The original room had addresses: 192.168.1.1 - 192.168.1.254 The new room will have addresses: 192.168.2.1 - 192.168.2.254 The FBSD box, will have addresses 192.168.1.1 and 192.168.2.1. This is OK, isn't it? Obviously I will have to add an ifconfig for the new card in rc.conf as 192.168.2.1 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? And the easy way I do it is with "route", yes? No doubt it is simple, but I can't make head or tail of the "route" man page. "route add " is as far as I get. Help! Thanks in advance. Eddie. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message