Subject: network setup problems
To: None <netbsd-help@netbsd.org>
From: Philip Brodd <philip-brodd@uiowa.edu>
List: netbsd-help
Date: 07/08/1999 12:34:21
I just installed NetBSD/mac68k 1.4 on a Macintosh Quadra 700, and I'm
having a lot of trouble getting the networking to work correctly.  I've
tried following the instructions at both of these sites linked from the
NetBSD/mac68k home page:

	http://rfhs8012.fh-regensburg.de/~feyrer/NetBSD/NWF/nwf_toc.html
and
	http://www.macbsd.com/macbsd/howto/


The farthest I've been able to get is the ability to telnet into the
machine from a computer that is on the same hub.  This other machine (a Mac
running Mac OS) is also the only place I am able to ping from the bsd
machine.  Following the instructions in the first document above, I issued
these commands:

# ifconfig sn0 inet 128.255.53.143 netmask 255.255.252.0 broadcast
128.255.55.255
# route add default 128.255.52.1

After doing this, the only machine I can ping is the hub-mate at
128.255.52.126.  Other machines on that subnet give a message "Host is
down", and trying machines on other subnets gives me "No route to host".

Here are the outputs of 'ifconfig sn0' and 'netstat -nr':

$ /sbin/ifconfig sn0
sn0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 128.255.53.143 netmask 0xfffffc00 broadcast 128.255.55.255


$ netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface
default            128.255.52.1       UGS         1      933      -  sn0
127.0.0.1          127.0.0.1          UH          1       86      -  lo0
128.255.52/22      link#1             UC          0        0      -  sn0
128.255.52.1       link#1             UHRL        1        0      -  sn0
128.255.52.126     00:05:02:2c:a3:1c  UHL         1      155      -  sn0

XNS:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface

ISO:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface

X.25:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface

AppleTalk:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface


Have I left out any important information?  I issued these commands right
after booting for the first time, by the way.  All I had done prior to this
was change /etc/rc.conf so that it would let me boot into multi-user mode.
Thanks

Phil