The route command works like a charm...thanks a million!!
Nancy Wingfield
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 12:44 PM
To: FARRINGTON RYAN; [EMAIL PROTECTED]
Subject: RE: Changing Default Gateway
Nancy Wrote:
Hi Discussion Group,
I'm wondering if anyone knows whether it is possible to change the default
gateway, and not have to reboot in order for the changes to take effect...I
figured out how to change the default gateway, but I have to reboot before
the changed default gateway is used.
Anyone have any ideas??
Thanks,
Nancy Wingfield
--
Hi, you must use the route add command in this way:
route -f add 0.0.0.0 mask 0.0.0.0 New gateway
The -f parameter will clear any information about gateways on your
table, you must use the paramenter -p if you want it to be persistent.
This
work fine on Win2k I haven't try on another OS, and I don't really know if
it's really persistent after a reboot.
I hope this will help you.
Take care.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs