[SunHELP] Routing problem
Ben Ricker
sunhelp at sunhelp.org
Mon Nov 19 11:50:52 CST 2001
I think I see the problem: there is no default route for 0.0.0.0 out the
gateway. Here is what the netstat -rn looks like:
bash-2.03# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.2.66.200 10.1.2.254 UGH 1 5
10.2.67.44 10.1.2.254 UGH 1 176
10.0.0.0 10.1.2.3 U 1 11259 hme0
10.0.0.0 10.1.2.103 U 1 0 hme1
224.0.0.0 10.1.2.103 U 1 0 hme1
default 10.1.2.254 UG 1 9408
127.0.0.1 127.0.0.1 UH 1 0 lo0
You can see the two top routes setup to go out the default gateway. The
10.0.0.0 should cover the 10.2.X.X network, but that is not setup with
the default gateway? I thought by "default" it means that all requests
will go through that gateway. It seems to be viewing the host as the
router? But why does 'defaultrouter' not override this? Or do I need to
reread the TCP/IP manual? *grin*
Ben Ricker
System Administrator
Wellinx.com
On Mon, 2001-11-19 at 11:38, Joe Pampel wrote:
> Lets have a look..
>
> >>> Ben Ricker <bricker at wellinx.com> 11/19/01 11:46AM >>>
> >>I have my 'defaultrouter' set to my gateway.
>
> >>We brought on some customers accessing
> us through VPN. I attempted to route to the new subnet and traceroute
> was failing at the first hop! I had to add a static route to the host
> setting the defaultrouter as the default gateway for routing that host
> and BANG! Works.
>
> OK. #1 does the gateway know how to get to the new subnets? The other half of the equation is
> if the other subnets know how to get to you (which it appears they do since you can add a static and
> make it work). If you're like most places, 0.0.0.0 routes to the internet on the default router and then there
> will be statics (sometimes dynamic) for the various defined attached subnets. If that route is not there it would
> explain your symptoms. Adding it to your server allows you to bypass the default router since specific routes always take precedence over default routes (or otehr less specific routes)
>
> >>So, am I blaming the network guys for nothing or what? I cannot explain
> why other subnets within our network route "out of the box" but these
> subnets just added do not until I explicitley add a static route to it.
>
> I bet they need to add the route to the default router.
> Hope that helps.
>
> - Joe
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list