Date: Tue, 27 Aug 1996 15:20:34 -0500 (CDT) From: "Paul T. Root" <proot@horton.iaces.com> To: nickliu@netcom.com (Nick Liu) Cc: questions@freebsd.org, nickliu@netcom.com Subject: Re: UTP to UTP Networking' Message-ID: <199608272020.PAA13113@horton.iaces.com> In-Reply-To: <Pine.3.89.9608271248.A4766-0100000@netcom15> from "Nick Liu" at Aug 27, 96 12:27:14 pm
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608272020.PAA13113>