Subject: Re: sharing a cable connection
To: None <netbsd-help@netbsd.org>
From: Louis <razbitum@yahoo.com>
List: netbsd-help
Date: 07/26/2001 03:54:45
I get a diffrent result on sparky (the sparc running
NetBSD at 192.168.0.3).

sparky: {2} ping www.yahoo.com
ping: Cannot resolve "www.yahoo.com" (Host name lookup
failure)

for the config files :

sparky# cat /etc/hosts
[SNIP]
::1                     localhost
127.0.0.1               localhost
192.168.0.1             equinoxe
192.168.0.2             alis
192.168.0.3             sparky
[SNIP]

sparky# cat /etc/mygate
equinoxe

the thing is I m not sure what I should have in 
the /etc/resolv.conf file

If I try to ping my ISP's DNS from sparky, I get a
'ping: sendto: No route to host'

sparky# route show
Routing tables

Internet:
Destination      Gateway            Flags 
loopback         127.0.0.1          UG     
localhost        127.0.0.1          UH     
192.168.0.0      link#1             U      
equinoxe         xx:xx:xx:xx:xx:xx  UH

Internet6:
[SNIP]

I left /etc/nsswitch unchanged if that matters

TIA

Louis.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/