Subject: Re: Ethernet hint(s) please
To: T. Sean (Theo) Schulze <71410.25@compuserve.com>
From: Dave Huang <khym@bga.com>
List: port-mac68k
Date: 11/27/1997 06:00:56
On Thu, 27 Nov 1997, T. Sean (Theo) Schulze wrote:
> the FAQs, etc. cover how to select a router address for the setup, so I 
> chose the IP address of the IIci, 192.168.0.1.  Is this the problem?

Probably a problem, but not the problem :) I'm prettysure setting a
machine's default gateway to itself doesn't actually accomplish
anything...

> #Note: The /etc/hosts file included with 1.3_alpha lists internal IP 
> addresses from RFC 1918.  What isn't clear to me is that they are in two 
> columns.  Is the first column the IP addresses and the second column 
> netmasks?  If yes, do I need to use the netmask shown after the IP 
> address?  Does the IP address assignment I've made here follow the 
> guidance from the hosts file?

Those are the address ranges... i.e. 10.0.0.0 through 10.255.255.255 are
internal, as are 172.16.0.0 through 172.31.255.255, and 192.168.0.0
through 192.168.255.255.  Your hosts file looks fine :)

> /etc/resolv.conf
> 
> lookup file bind
> nameserver 192.168.0.1 compuserve.com
> domain nuthole.de
> search nuthole.de
>                                        
> #Note: I put in compuserve.com because Rob Windsor's page lists the IP 
> address for his provider.  I don't have compuserve's IP address, so I 
> used the name instead.  That's probably wrong, but could it be the source 
> of my problem?  Also, going through O'Reilly's _TCP/IP Network 
> Administration I see that the resolv.conf there has as its first entry 
> "nameserver 127.0.0.1".

You can't use a name as the nameserver address, since you'd need a way to
look up that nameserver's aderss :) (well, maybe it works if you put the
name in /etc/hosts, but I doubt it...) If you're running named,
'nameserver 127.0.0.1' is all you need, since named will query whoever it
needs to. And if you're not running named, don't list your own machine as
a nameserver (no 127.0.0.1, and no 192.168.0.1 either). But that's not
your problem either...

> /etc/hostname.ae0
>
> inet hussar.nuthole.de 255.255.255.0
> 
> #Note:Henry Hotz's and Rob Windsor's guidance on netmask is different.  
> Rob says you have to use the netmask in hex.  Henry's diagram shows it as 
> 255.255.255.0.
> 
> Do I need to configure a /etc/ifconfig.ae0 if I have a /etc/hostname.ae0?

Now this is your problem... NetBSD 1.3alpha don't use hostname.* files
anymore; you must create an /etc/ifconfig.whatever file. In your case,
/etc/ifconfig.ae0.

Put the following line in it:
inet hussar.nuthole.de netmask 0xffffff00

(And you can use a dotted decimal netmask too... either works)

Hope this helps!
--
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++