Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 1995 16:23:16 -0500 (EST)
From:      kduling@gnu.ai.mit.edu
To:        freebsd-questions@FreeBSD.org
Subject:   NE2000 clone networking problems
Message-ID:  <9501212123.AA11216@spiff.gnu.ai.mit.edu>

next in thread | raw e-mail | index | archive | help
Help!

  I've done everything I can think of, but it still isn't working.  I bought
a pair of NE2000 clone ethernet cards and I can't get FreeBSD and Trumpet
Winsock to talk to each other.  They're made by GVC and are 16-bit ISA cards
with both T.P. and BNC connectors.  I'm using BNC.

  I know the cards work because the Windows for Workgroups network is
working perfectly.  I just can't get them to talk using TCP/IP.  This is
for FreeBSD 1.1.5.1, btw.

  I'm using the 192.168.250.* address set locally for testing.  And my
FreeBSD system is also using SLIP to get onto the internet.  That part works
perfectly.  I just can't get my local network working as it should.

  Also, I don't expect that machines on my local lan will be able to get
out over the network.  My dialup server only knows about scylla and expects
it to be on its subnet.  I want scylla to be able to talk on my local net
and out over the internet.

First, here's a list of addresses:

hydra (Dialup SLIP)	scylla (FreeBSD)	charybdis (Windows)
-------------------------------------------------------------------
192.54.81.8  <------->	192.54.81.21
			192.168.250.21 <----->	192.168.250.23


And, this is how I configure scylla when I try to start up the network:

ifconfig sl0 192.54.81.21 192.54.81.8
slattach -c -s 19200 /dev/cua01
ifconfig ed0 192.168.250.21 up bnc
#route add 192.168.250.23 192.168.250.21
route add default 192.54.81.8 -mtu 1500


Charybdis' configuration is a little different, since it's Trumpet Winsock.
But here are the particulars:

IP Address:	192.168.250.23
Netmask:	255.255.255.0
Gateway:	192.168.250.21
Nameserver:	192.168.250.21
Time Server:	192.168.250.21


An 'ifconfig ed0' will reveal:

ed0: flags=867<UP,BROADCAST,DEBUG,NOTRAILERS,RUNNING,SIMPLEX>
	inet 192.168.250.21 netmask ffffff00 broadcast 192.168.250.255


'netstat -rn' gives:

Routing tables
Destination      Gateway            Flags     Refs     Use  IfaceMTU    Rtt   
Netmasks:
(root node)
(0) 0000 ffff ff00                           
(root node)

Route Tree for Protocol Family inet:
(root node) =>
default          192.54.81.8        UG          3      671  sl0   1500 -     
127.0.0.1        127.0.0.1          UH          1        1  lo0 -      -     
192.54.81.8      192.54.81.21       UH          1        0  sl0 -      -     
192.54.81.21     127.0.0.1          UGH         0        0  lo0 -      -     
192.168.250      192.168.250.21     U           1       14  ed0 -      -     


And 'netstat -in' gives:

(root node)
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>0.0.e8.c5.af.c5              0     0        7     0     0
ed0   1500  192.168.250 192.168.250.21         0     0        7     0     0
lo0   65535 <Link>                          2049     0     2049     0     0
lo0   65535 127         127.0.0.1           2049     0     2049     0     0
sl0   296   <Link>                           579     0      679     0     0
sl0   296   192.54.81   192.54.81.21         579     0      679     0     0
sl1*  296   <Link>                             0     0        0     0     0


  Everyone I've talked to and has looked at this has said that it looks
right.  Regardless, each time I try to ping 192.168.250.23, I have a 100%
packet loss.  And, if I try to start up Xwindemo (a very nice demo of X
under Windows -- works wonderfully) I have ARP timeouts on the Trumpet
status window.  Debugging that, I see the following messages:

 572.2 1024->23 seq 00000000 SYN  wind 4096 opt 020405B4
Ether 00:00:E8:C3:29:6F->FF:FF:FF:FF:FF:FF
ARP 1 0001 0800 00:00:E8:C3:29:6F:192.168.250.23 ->00:00:00:00:00:00:192.168.250.21 
ARP timed out


Finally, scylla's kernel configuration file is:

#
# GENERICAH -- Generic machine with WD/AHx family disks
#
#	$Id: GENERICAH,v 1.36 1994/06/17 06:56:59 sean Exp $
#

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		GENERICAH
timezone	8 dst
maxusers	10
maxfdescs	2048			#Max file descriptors per process
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		ISOFS			#ISO File System
options		NFS			#Network File System
options		PCFS			#MSDOS File System
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"TCP_COMPAT_42"		#TCP/IP compatible with 4.2
options		XSERVER			#Xserver
options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
options		GATEWAY			#Host is a Gateway (forwards packets)
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		"NCONS=4"		#4 virtual consoles
options 	ALLOW_CONFLICT_IOADDR   #For PS/2 mouse.
config		"386bsd"	root on wd1 swap on wd1 dumps on wd1

controller	isa0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	scbus0

device		cd0     #Only need one of these, the code dynamically grows
device		mcd0	at isa? port 0x340 bio irq 11 vector mcdintr

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		psm0	at isa? port "IO_KBD" tty irq 12 vector psmintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device ed0 at isa? port 0x360 net irq 15 vector edintr

options		EXCLUDE_GUS
options		EXCLUDE_GUS_IODETECT
options		EXCLUDE_PAS
options		EXCLUDE_SB_EMULATION
options		EXCLUDE_PRO_MIDI
options         "ALLOW_CONFLICT_IRQ"

device snd2 at isa? port 0x220 irq 5 drq 1 vector sbintr
device snd6 at isa? port 0x220 irq 5 drq 5 vector sbintr
device snd1 at isa? port 0x388
device snd7 at isa? port 0x330

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
pseudo-device	pty	16
pseudo-device	speaker

pseudo-device	swappager
pseudo-device	vnodepager
pseudo-device	devpager




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501212123.AA11216>