Date: Mon, 4 May 1998 15:21:29 -0700 (PDT) From: Gary Kline <kline@thought.org> To: freebsd-questions@FreeBSD.ORG (FreeBSD Mailing List) Subject: Some notes on networking two FBSD platforms with NE2000 clones Message-ID: <199805042221.PAA01289@tao.thought.org>
next in thread | raw e-mail | index | archive | help
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 <NE2000 PCI Ethernet (ProLAN)> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805042221.PAA01289>