Date: Sun, 1 Mar 1998 16:39:02 +1000 From: "Eddie Irvine" <eirvine@tpgi.com.au> To: <questions@FreeBSD.ORG> Subject: Setting up an IP route between two ethernet cards. Message-ID: <01bd44dc$b9369d60$a21a1acb@gretchen>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bd44dc$b9369d60$a21a1acb>