From owner-freebsd-questions Tue Aug 27 21:19:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA24950 for questions-outgoing; Tue, 27 Aug 1996 21:19:32 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts10-line11.uoregon.edu [128.223.150.109]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA24945 for ; Tue, 27 Aug 1996 21:19:30 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id VAA00604; Tue, 27 Aug 1996 21:19:37 -0700 (PDT) Date: Tue, 27 Aug 1996 21:19:37 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Nick Liu cc: questions@freebsd.org Subject: Re: UTP to UTP Networking In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 27 Aug 1996, Nick Liu wrote: > I bought the crossover RJ45 cables and I have two PCs with FreeBSD 2.1.5. I > want to set up one NIC to use: 192.168.253.9 and the other 192.168.253.10. > Here's what I plan to do: > > On Machine A. (192.168.253.1) > ---------------------------------------------------------------------- > ifconfig ed0 192.168.253.9 broadcast 192.168.253.10 netmask 0xff000000 > route add 192.168.253.10 192.168.253.9 > > On Machine B. (192.168.253.5) > ---------------------------------------------------------------------- > ifconfig ed0 192.168.253.10 broadcast 192.168.253.9 netmask 0xff000000 > route add 192.168.253.9 192.168.253.10 > > > Both PCs are not going out to Internet. Would the above statements work? > Thanks for your input. Looks OK to me. I'd perhaps use 'route add default ' just to be sure. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major