From owner-freebsd-questions Thu May 27 21:29:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from area51.v-wave.com (area51.v-wave.com [24.108.26.39]) by hub.freebsd.org (Postfix) with SMTP id D474A14DA6 for ; Thu, 27 May 1999 21:29:27 -0700 (PDT) (envelope-from cwasser@v-wave.com) Received: (qmail 5561 invoked by uid 1001); 28 May 1999 04:31:41 -0000 From: cwasser@v-wave.com Date: Thu, 27 May 1999 22:31:40 -0600 (MDT) To: Brandon Fosdick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Crossover Ethernet In-Reply-To: <374E0508.C82BDA02@glue.umd.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 27 May 1999, Brandon Fosdick wrote: > I've been trying for two days now to get two 3.2-S boxes talking to each other > with a crossover cable. After searching the archives it sounds like its an easy > thing to do, for everybody else at least. Without trying to re-invent the wheel, I am doing what you're doing above, and here's what I did (if it'll help any, albeit 2nd machine is a different OS): "Server" P5-233MMX / 64MB (Soon to be Dual 550 Xeon/256MB) FreeBSD 3.2-STABLE XL0: set through DHCP XL1: ip: 192.168.1.1 net: 192.168.1.0 bcast: 192.168.1.255 netmask: 255.255.255.0 Route Info: u: inet 192.168.1.0; u: link ; RTM_GET: Report Metrics: len 136, pid: 0, seq 1, errno 0, flags: locks: inits: sockaddrs: 192.168.1.0 (0) 0 ffff ff route to: 192.168.1.0 destination: 192.168.1.0 mask: 255.255.255.0 interface: xl1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 -30870 locks: inits: sockaddrs: 192.168.1.0 255.255.255.0 xl1:0.60.97.5b.f8.79 area51 /* I knew the actual routing command for Linux but I used sysinstall to setup the routing, but here's the Linux equiv that I know works: route -add net 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 [device]) */ --- "Client" P5-200 / 64MB Windows98 NIC0: ip: 192.168.1.2 net: 192.168.1.0 bcast: 192.168.1.255 netmask: 255.255.255.0 gateway: 192.168.1.1 (DNS info filled in by hand) Running natd on the "server" for the clients inet access, local lan traffic works fine (and ofcourse masqueraded traffic) .. Hope my ramblings help some. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message