From owner-freebsd-questions Mon May 4 15:24:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14768 for freebsd-questions-outgoing; Mon, 4 May 1998 15:24:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from tera.com (tera.tera.com [207.108.223.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14655 for ; Mon, 4 May 1998 15:23:26 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from uucp@localhost) by tera.com (8.8.7/8.7.3) with UUCP id PAA12151 for freebsd-questions@FreeBSD.ORG; Mon, 4 May 1998 15:22:36 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.8.5/8.7.3) id PAA01289 for freebsd-questions@FreeBSD.ORG; Mon, 4 May 1998 15:21:30 -0700 (PDT) From: Gary Kline Message-Id: <199805042221.PAA01289@tao.thought.org> Subject: Some notes on networking two FBSD platforms with NE2000 clones To: freebsd-questions@FreeBSD.ORG (FreeBSD Mailing List) Date: Mon, 4 May 1998 15:21:29 -0700 (PDT) Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I hope this is helpful to the group-- Networking with generic NE2000 cards, `Linksys' for example This outlines how I networked my two FreeBSD boxes using fairly inexpensive 10Mb/sec PCI NE2000 clone card. If you have similar hardware, these notes should be of some value. The entire network bought at my nearby Computer City, cost around $180, _not_ on sale. This was for two PCI NE2000-clone cards, a 5-port hub, and two CAT5 cables. The probe will probably recognize your network boards as ``ed2'' This was the case both on my P90 and 6x86 systems. On my P90 dmesg reports: ed2 rev 0 int a irq 10 on pci0:13 ed2: address 00:20:78:14:25:03, type NE2000 (16 bit) My centeral computer, tao, is linked to the net via ppp. My new 6x86 box, sage, was what I wanted to link to tao. --Note: Take Greg Lehey's advice to heart, and try your network set-up by typing if the `ifconfig' and `route' commands. To save keystrokes, you can exec a shell script on either machine. ifconfig ed2 inet 10.0.0.1 netmask 255.255.255.0 # tao ifconfig ed2 inet 10.0.0.2 netmask 255.255.255.0 # sage In both systems :: /etc/hosts: 10.0.0.1 tao.whatever.com tao 10.0.0.2 sage.whatever.com sage In both systems:: /etc/rc.conf: network_interfaces="lo0 ed2" # List of network interfaces ## On tao, in /etc/rc.conf ifconfig ed2 inet 10.0.0.1 netmask 255.255.255.0 # tao # # if you need this additional routing information, add: # static_routes="net" route_net="-net 10.0.0.1 10.0.0.2" ## On sage, in /etc/rc.conf ifconfig ed2 inet 10.0.0.2 netmask 255.255.255.0 # sage route add -net 10.0.0.2 10.0.0.1 The last line on my 6x86 platform is necessary because I have no router; no hardware that understands how the two systems talk to each other. Thanks gratefully acknowledged to Greg Lehey, Doug White, and several others in months gone by. gary kline -- Gary D. Kline kline@tao.thought.org Public service uNix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message