List Info

Thread: Networking problem




Networking problem
user name
2006-08-16 04:13:43
On Wed, 2006-08-16 at 03:01 +0000, Christos Zoulas wrote:
> In article <1155696092.3693.14.camelsusie.fugax.com>,
> Isaac Wagner-Muns  <fubar22gmail.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

Networking problem
user name
2006-08-16 04:29:49
Isaac Wagner-Muns wrote:
> On Wed, 2006-08-16 at 03:01 +0000, Christos Zoulas
wrote:
>   
>> 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
>   

That's the problem, then.  You need to double-check the
default route
you put in rc.conf, as it clearly didn't work.  Maybe a
typo? To fix it
by hand, you could run

# route add default 192.168.2.1




Networking problem
user name
2006-08-16 04:51:29
On Tue, 2006-08-15 at 21:29 -0700, Jeff Rizzo wrote:
> Isaac Wagner-Muns wrote:
> > On Wed, 2006-08-16 at 03:01 +0000, Christos Zoulas
wrote:
> >   
> >> 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
> >   
> 
> That's the problem, then.  You need to double-check
the default route
> you put in rc.conf, as it clearly didn't work.  Maybe
a typo? To fix it
> by hand, you could run
> 
> # route add default 192.168.2.1
> 
> 
> 
> 

Yep, there was a typo in rc.conf, I switched the a and u in
default! Oy!
Thanks,
Enrico Fermi

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )