From owner-freebsd-questions Tue Aug 27 13:21:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA27459 for questions-outgoing; Tue, 27 Aug 1996 13:21:41 -0700 (PDT) Received: from horton.iaces.com ([204.147.87.98]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA27451 for ; Tue, 27 Aug 1996 13:21:36 -0700 (PDT) Received: (from proot@localhost) by horton.iaces.com (8.6.12/8.6.12) id PAA13113; Tue, 27 Aug 1996 15:20:34 -0500 From: "Paul T. Root" Message-Id: <199608272020.PAA13113@horton.iaces.com> Subject: Re: UTP to UTP Networking' To: nickliu@netcom.com (Nick Liu) Date: Tue, 27 Aug 1996 15:20:34 -0500 (CDT) Cc: questions@freebsd.org, nickliu@netcom.com In-Reply-To: from "Nick Liu" at Aug 27, 96 12:27:14 pm X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In a previous message, Nick Liu said: > > > > 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 Your netmasks don't match your broadcast, and your broadcast should actually go to a subnet not a node. I'd do something like ifconfig ed0 192.168.253.x broadcast 192.168.253.11 netmask 0xfffffffc Broadcast will be automatically set via the netmask. Paul. -- Paul T. Root E/Mail: proot@iaces.com 200 S. 5th St. Suite 1100 PAG: +1 (800) SKY-PAGE PIN: 537-7370 Minneapolis, MN 55402 WRK: +1 (612) 663-1979 NIC: PTR FAX: +1 (612) 663-8030