Subject: Re: Networking problem
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-help
Date: 08/16/2006 15:17:02
In article <1155701623.3693.31.camel@susie.fugax.com>,
Isaac Wagner-Muns  <fubar22@gmail.com> wrote:
>On Wed, 2006-08-16 at 03:01 +0000, Christos Zoulas wrote:
>> In article <1155696092.3693.14.camel@susie.fugax.com>,
>> Isaac Wagner-Muns  <fubar22@gmail.com> wrote:
>> >I am running NetBSD 3.0.1 on a Sun Ultra 5. I've configured the Ethernet
>> >interface properly and can talk to all the hosts on my subnet. I do have
>> >a default_route set in rc.conf. However, when i try to ping a host
>> >outside of my subnet, the system says, 'no route to host.' All other
>> >machines on my subnet can talk to the outside host with no trouble. Any
>> >ideas?
>> >
>> >Thanks,
>> >Enrico Fermi
>> 
>> What does netstat -rn say?
>> 
>> christos
>> 
>
>Netstat -rn says the following about the routing tables:
>
>Destination	Gateway			Flags  Ref  Use    Mtu Interface
>192.168.2/24    Link#1                  UC     1    0       -   hme0
>192.168.2.150   00:06:5b:47:f3:df       UHLc   0    16707   -   hme0
>
>
>nothing was in there about the defualt router being 192.168.2.1, though

Try:

route add default ip.address.of.your.gateway

christos