[plug] Solaris routes
Paul Day
bonfire at bur.st
Tue May 14 17:20:05 WST 2002
On Tue, 14 May 2002, Jonathon Bates wrote:
> I have been trying to figure this out, but I havnt had much
> luck!
> How on earth do I set a default route on a solaris 7 box?
If you want it adding it on boot aswell (which I presume you do):
echo 'ip_of_default_router' > /etc/defaultrouter
The route is then added by /etc/init.d/inetinit as part of run level 2.
Or to add it manually:
/usr/sbin/route -n add default ip_of_default_router
PD
--
Paul Day Web: www.bur.st/~bonfire
More information about the plug
mailing list