Subject: Re: What's wrong with this setup?
To: Richard Rauch <rauch@rice.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 12/03/2001 13:07:53
On Mon, 3 Dec 2001, Richard Rauch wrote:
> Rather than drop ~$80 or so on a router, I thought that I'd get acheap
> second NIC for an old computer and have it manage my DSL modem for me.
Sounds like a good idea.
> The system seems to configure the card okay, and (perhaps a bit foolishly)
> I upgraded the OS to 1.5.2 (from a 1.5_ALPHA), wiping its old config.
>
> Now I've got some problems with the new system:
>
> (a) It doesn't seem to consult /etc/hosts anymore. Instead, when it
> has to resolve a name, it just bails out with a lookup failure.
> What might I have done (or failed to do) to cause this?
I think this problem is actually related to your next problem. (Unless you
have configured your nsswitch.conf(5) different from the defaults.)
> (b) If I use the IP number directly, I get messages about no route
> to host. I assume that this isn't simply because of the extra
> network interface.
Show us your networking (clip out irrelevant info):
ifconfig -aA
netstat -rn -f inet
Jeremy C. Reed
http://www.reedmedia.net/