Subject: Ethernet setup
To: None <netbsd-help@NetBSD.ORG>
From: Eric K. Miller <emiller@umcc.umcc.umich.edu>
List: netbsd-help
Date: 06/06/1997 10:12:10
Hi,

I'm trying to setup my Amiga 2000 with a cable modem attached (static IP).

I have a Mac also, and I can telnet, ftp, etc. to the Amiga with no problem,
but I haven't gotten the Amiga to talk to the cable modem properly.

IP Address:  198.109.165.183
Gateway:     198.109.165.161
Netmask:     255.255.255.224

The commands that I use to setup the Ethernet interface are:

ifconfig ae0 198.109.165.183 netmask 255.255.255.224
route add default 198.109.165.161

If I ping to anything, the transmit light blips on the Ethernet card, but
nothing seems to come back (as far as I can tell.  The receive light is
blipping from other traffic on the same network so I'm not sure if it is
a software issue or a hardware issue).  After a while, it claims
there is no route to the destination.

Using the Mac connected to the cable modem, with the three IPs above typed
into the TCP/IP control panel works perfect, so I know the cable modem works
as well.  All my tests between the Mac or Amiga and the cable modem have
been done using a twisted pair cable connected directly from the computer to
the cable modem (no hub).

I'm running 'routed -q -g' (though other combinations of options doesn't
seem to affect the problem).

'netstat -r -n' shows that my default route is 198.109.165.161 (I can't show
the exact output since I'm not near the machine).

Are the commands above the only things that need to be setup to configure an
Ethernet interface?  A PPP connection works fine under my NetBSD
configuration.  I noticed a file called '/etc/ethers' in one of the
man-pages, but it doesn't exist and I haven't found any explanation of what
this file is for.

Also, I've enabled the 'GATEWAY' option in the kernel config and recompiled.
It still doesn't work.  (I plan on using this machine as a firewall with two
Ethernet cards once I get the first one working)

I even tried to setup an entry in the '/etc/gateways' file and it claims it
setup a default route, but the same problem happens.

Any help would be greatly appreciated.  I'd love to get this thing up and
running! :)

Thanks!

Eric