On Tue, 14 Apr 1998, Derek Balling wrote:
> On Tue, 14 Apr 1998, Beth Gemeny wrote:
> > Checkm out /etc/sysconfig/network this lists among other things, what
> > gateway your machine should use. I believe that rebooting afterwards will
> > make the change effective.
>
> Rebooting WILL make the change effective, but, kids, let's try to remember
> that this is UNIX and not Windows. We don't NEED to reboot to make network
> changes effective.
[...long restart-all-networking deleted...]
Actually it's even easier than that. The "route" command from a pound sign
will set your default gateway for you. Here's the example from the man
page for 'route':
route add default gw mango-gw
Substitute your router's IP address or host name where it says 'mango-gw'.
Of course DO change the default gateway in /etc/sysconfig/network, so that
the next time you reboot (maybe next year) it'll come back with the
default gateway, but you don't need to down the machine to get the gateway
changed -- or even down your networking. This is Linux, not some hopped-up
program loader with delusions of grandeur.
Eric Lee Green [EMAIL PROTECTED] Executive Consultants
Systems Specialist Educational Administration Solutions
"We believe Windows 95 is a walking antitrust violation" -- Bryan Sparks
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.