HELP: routed between subnets not working ...

HELP: routed between subnets not working ...

Post by Brett Holma » Tue, 17 Dec 1996 04:00:00



We have 1 Sparc 20 (Solaris 2.4), with normal ethernet (le0) and fast
ethernet (hme0) interfaces, connected to the rest of the net via le0.
hme0 connects to a concentrator, which in turn connects to three
Ultra 1s (Solaris 2.5), via their fast ethernet (hme0) interfaces.
These Ultras form a subnet of their own; the fast ethernet card of the
SS20 is also on this subnet, and is designated as the gateway (defined
in /etc/defaultrouter on the ultras). All machines are more or less
well-patched. We use NIS+. So ...

                            -----------    }
                                 | le0     } department subnet
                                SS20       }  }
                                 | hme0       }
                            concentrator      } local subnet
                              |  |  | hme0    }
                             U1  U2  U3       }

All the machines can ping each other. The SS20 is fully connected to
the net, no problems there. The problem is that the Ultras cannot ping
machines outside their subnet ie other local subnets, the Internet.
(They can, however use static routes ...)

Now, the basic reason is that the SS20 is not acting as a router.
For some reason, routed is not starting up at boot, even though it has
3 interfaces. I've even created /etc/gateways to force it to start
routed
althought that shouldn't be necessary. Does anyone know why it might
not be starting?

Starting routed manually after boot doesn't help. Nor does also starting
rdisc on the router and/or hosts ... rebooting an Ultra after starting
routed manually on the SS20 doesn't seem to help either.

All IP numbers are defined in /etc/inet/hosts. All the interfaces are
up. The netmask is defined in /etc/inet/networks. Netstat -rv shows
that all gateways and netmasks are properly defined.

Oh, the other thing I should mention is that prior to a recent reboot
of the SS20, the networking worked fine. The last time I rebooted the
SS20 (over 3 months ago), I recall having a similar problem ... which
I solved fairly easily by manually starting routed ... AS I RECALL.
I didn't document the problem, nor did I write it into the rc
scripts ... just forgot about it. So there is a solution, but I must
have lost a few brain cells as I can't work it out now!
--
______________________________________________________________________

School of Physics       http://astro.ph.unimelb.edu.au/~bholman/
University of Melbourne * I can't believe that I, let alone the Uni, *
AUSTRALIA               * would hold the opinions expressed here.    *

Stop quoting the laws to us.  We carry swords. - Pompey the Great
Nothing happens in contradiction to nature - only in contradiction to
what we know of it. -- Dana Scully

 
 
 

HELP: routed between subnets not working ...

Post by Ewald Beekma » Thu, 19 Dec 1996 04:00:00


routed is started by /etc/rc2.d/S69inet on startup, when you
start it by hand you should also do: ndd -set /dev/ip ip_forwarding 1
You could try to debug the script to see why it's not starting
via sh -x -v S69inet
And when you try to ping from machines inside the subnet to outside
the subnet, they should als know how to get back the ping response!
So they have to be aware that the subnet is reachable via SS20!!!
success, Ewald...

> We have 1 Sparc 20 (Solaris 2.4), with normal ethernet (le0) and fast
> ethernet (hme0) interfaces, connected to the rest of the net via le0.
> hme0 connects to a concentrator, which in turn connects to three
> Ultra 1s (Solaris 2.5), via their fast ethernet (hme0) interfaces.
> These Ultras form a subnet of their own; the fast ethernet card of the
> SS20 is also on this subnet, and is designated as the gateway (defined
> in /etc/defaultrouter on the ultras). All machines are more or less
> well-patched. We use NIS+. So ...

>                             -----------    }
>                                  | le0     } department subnet
>                                 SS20       }  }
>                                  | hme0       }
>                             concentrator      } local subnet
>                               |  |  | hme0    }
>                              U1  U2  U3       }

> All the machines can ping each other. The SS20 is fully connected to
> the net, no problems there. The problem is that the Ultras cannot ping
> machines outside their subnet ie other local subnets, the Internet.
> (They can, however use static routes ...)

> Now, the basic reason is that the SS20 is not acting as a router.
> For some reason, routed is not starting up at boot, even though it has
> 3 interfaces. I've even created /etc/gateways to force it to start
> routed
> althought that shouldn't be necessary. Does anyone know why it might
> not be starting?

> Starting routed manually after boot doesn't help. Nor does also starting
> rdisc on the router and/or hosts ... rebooting an Ultra after starting
> routed manually on the SS20 doesn't seem to help either.

> All IP numbers are defined in /etc/inet/hosts. All the interfaces are
> up. The netmask is defined in /etc/inet/networks. Netstat -rv shows
> that all gateways and netmasks are properly defined.

> Oh, the other thing I should mention is that prior to a recent reboot
> of the SS20, the networking worked fine. The last time I rebooted the
> SS20 (over 3 months ago), I recall having a similar problem ... which
> I solved fairly easily by manually starting routed ... AS I RECALL.
> I didn't document the problem, nor did I write it into the rc
> scripts ... just forgot about it. So there is a solution, but I must
> have lost a few brain cells as I can't work it out now!
> --
> ______________________________________________________________________

> School of Physics       http://astro.ph.unimelb.edu.au/~bholman/
> University of Melbourne * I can't believe that I, let alone the Uni, *
> AUSTRALIA               * would hold the opinions expressed here.    *

> Stop quoting the laws to us.  We carry swords. - Pompey the Great
> Nothing happens in contradiction to nature - only in contradiction to
> what we know of it. -- Dana Scully

--
Ewald H. Beekman, Academical Medical Center, The Netherlands