On Mon, 10 Apr 2000, Peter Rundle wrote:

> > > I would have thought that you just change the value
> > > in the file, etc/hosts and then reboot the machine.
> > No, that won't work on any system that I know.
> 
> Well it works on Solaris 2.7.
> 
> Since we are way off topic already, can any of the Solaris
> guru's out there clarify how/why a Solaris box can find the
> default gateway when all I do to move it to a different
> network is edit the entry in the /etc/hosts file and re-boot.

Easy, if your default gateway is pointing to a hostname that's defined in
/etc/hosts, and not to a specific IP address.

Even under Linux you can do it, vis-a-vis

route add default my-gateway

As long as the host "my-gateway" is defined in /etc/hosts with a valid IP
address, then your routing table will hum along just fine.

DaZZa

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to