[CLUE-Tech] solaris 5.8, default gateway?

Mark Horning rip6 at rip6.net
Fri May 24 16:32:08 MDT 2002


David Anselmi wrote:

>Dave Price wrote:
>
>>On Thu, May 23, 2002 at 02:49:31PM -0600, Jeremy Huber wrote:
>>
>>>Yup, you got it right... /etc/defaultrouter and put the IP of the gateway
>>>in.  (Wow, that Solaris cert has finally come in handy.. :))
>>>
>>Thanks! - It may be a while till we reboot again to test, but it sounds
>>reasonable to me.
>>
>
>Is there a route command or something that will set it on the fly?  On
>linux, a config file like this is just read by a boot script or daemon
>or something.  So a reboot wouldn't seem necessary.
>
>Dave
>_______________________________________________
>CLUE-Tech mailing list
>CLUE-Tech at clue.denver.co.us
>http://clue.denver.co.us/mailman/listinfo/clue-tech
>
Yep they have route. /usr/sbin/route

# route add default xxx.xxx.xxx.xxx 1

will add the default route. The default route is set at boot from 
/etc/rc2.d/S69inet
(which is a hard link to /etc/init.d/inetinit) if the /etc/defaultrouter 
file exists.

-- 

Mark Horning
rip6 at rip6.net






More information about the clue-tech mailing list