Title: RE: Changing Default Gateway

you could use WMI if you are working with a WIN32 system... but if your hitting an NT 4 box it will not take effect until the next reboot =)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 25, 2003 10:34 AM
To: Wingfield, Nancy
Cc: '[EMAIL PROTECTED]';
[EMAIL PROTECTED]
Subject: Re: Changing Default Gateway



I think you should be able to use the "route" command line program. You'll
have to do a "route DELETE" of the default entry and then "route ADD"
for the new way out.  You can use "route PRINT" to get a look at your
current routing table.
--
Nick Ayoub
[EMAIL PROTECTED], [EMAIL PROTECTED]
IS - Systems and Operations, TEL  480-792-7275, FAX  480-792-4054
Microchip  Technology, 2355 W. Chandler Blvd., Chandler AZ 85224-6199
http://www.microchip.com



|---------+----------------------------------------------->
|         |           "Wingfield, Nancy"                  |
|         |           <[EMAIL PROTECTED]>      |
|         |           Sent by:                            |
|         |           [EMAIL PROTECTED]|
|         |           veState.com                         |
|         |                                               |
|         |                                               |
|         |           06/25/2003 12:18 PM                 |
|         |                                               |
|---------+----------------------------------------------->
  >-----------------------------------------------------------------------------------------------|
  |                                                                                               |
  |       To:       "'[EMAIL PROTECTED]'"                                 |
  |        <[EMAIL PROTECTED]>                                            |
  |       cc:                                                                                     |
  |       Subject:  Changing Default Gateway                                                      |
  >-----------------------------------------------------------------------------------------------|




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
_______________________________________________
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

Reply via email to