Changing Default Gateway

2003-06-25 Thread Wingfield, Nancy
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


Re: Changing Default Gateway

2003-06-25 Thread Nicky . Ayoub

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


RE: Changing Default Gateway

2003-06-25 Thread FARRINGTON, RYAN
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





RE: Changing Default Gateway

2003-06-25 Thread barbero_l

Bill Wrote:

Under win2k, you should be able to disable then re-enable the interface.



Under Win2k it's not necesary, only got to run the command, and the changes
take effect inmediately, you can check it by using a tracert command.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:44 AM
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




This e-mail and its attachments may contain CONFIDENTIAL information and
are solely for the intended recipient.
If  you  have  received  this e-mail in error,  please  immediately  notify
the  sender and delete it from  your  system.
Thank you. The views expressed in this e-mail are solely those of the
author and may not necessarily be those of,
or supported  by, the company.  Telefonica Moviles SA  neither assumes
obligations nor  accepts liability  for  the
content   of   this   e-mail,   unless   that   information   is
subsequently   confirmed  in  writing  by  a  duly  authorised
representative.  E-mail  transmission  cannot  be  guaranteed  to  be
secure  or  error-free  as information could be
corrupted, lost, destroyed, arrive late or incomplete, or contain VIRUSES.

Este  correo  electrónico  y  sus  anexos  pueden  contener información
CONFIDENCIAL para uso exclusivo de su
destinatario.  Si  ha recibido este correo por error,  por favor,
notifíquelo  al  remitente   y   bórrelo  de  su  sistema.
Muchas  gracias.  Las  opiniones  expresadas  en  este  correo  son  las
de  su autor  y  no   son   necesariamente
compartidas   o   apoyadas   por   la   compañía.   Telefónica   Móviles
SA  no  asume   aquí  obligaciones  ni  se
responsabiliza  del  contenido  de este correo, a menos que dicha
información sea confirmada por escrito por un
representante  autorizado.  No  se  garantiza  que  la  transmisión  de
este  correo  sea  segura  o libre de errores,
podria haber sido viciada, perdida, destruida, haber llegado tarde, de
forma incompleta o contener VIRUS.


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Changing Default Gateway

2003-06-25 Thread Wingfield, Nancy
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