Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 1996 21:19:37 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Nick Liu <nickliu@netcom.com>
Cc:        questions@freebsd.org
Subject:   Re: UTP to UTP Networking
Message-ID:  <Pine.BSI.3.94.960827211859.339X-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.3.89.9608271248.A4766-0100000@netcom15>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <otherhost>' 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960827211859.339X-100000>