Networking Forums

Networking Forums > Computer Networking > Windows Networking > Making Route Delete Persistent

Reply
Thread Tools Display Modes

Making Route Delete Persistent

 
 
Guest
Posts: n/a

 
      02-15-2005, 07:01 PM
Hello,

Is there any way - other then scripting - to make a "route delete"
persistent?

Thx


 
Reply With Quote
 
 
 
 
Todd J Heron
Guest
Posts: n/a

 
      02-15-2005, 07:23 PM
Hmmm.. Usually one makes routes themselves persistent. I never heard of
someone making a deleted route persistent. Once it's gone it's gone. What
are you trying to do?

--
Todd J Heron, MCSE
Windows Server 2003/2000/NT
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights


 
Reply With Quote
 
Guest
Posts: n/a

 
      02-15-2005, 08:46 PM
Hello,

I have a bunch of servers (FTP, IIS) in managed domain (W2K3). They all
have dual NICs. I have a private subnet on one NIC with only TCP/IP active
that is being NATted to public routable IP address (FTP, HTTP) and another
second NIC that has TCP/IP, File sharing etc ... enabled an that is used for
management of the server in that DMZ Windows domain (GPO's, Backups). Now
with 2 gateways on a different subnet you have an issue with routing (which
gateway to take ....) ... This is resolved by deleting the route to the
default gateway to the management subnet on the second nic so that web
serving and FTP can work. This works just fine, as long a the route to the
default gateway of that second NIC is deleted. A simple script takes care
of this for us, I was just wondering if we could do it with a registry
"hack" or what ever ... The firewall(s) protect the public addresses, the
natted private subnet, the mangement subnet etc ... ===> layerd defense
coupled with remote managebility. We can take it as far as we want to (VPN,
IPSec, Software Restriction Policies ...).

Cheers


"Todd J Heron" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hmmm.. Usually one makes routes themselves persistent. I never heard of
> someone making a deleted route persistent. Once it's gone it's gone.
> What are you trying to do?
>
> --
> Todd J Heron, MCSE
> Windows Server 2003/2000/NT
> ----------------------------------------------------------------------------
> This posting is provided "as is" with no warranties and confers no rights
>



 
Reply With Quote
 
Rebecca Chen [MSFT]
Guest
Posts: n/a

 
      02-16-2005, 11:53 AM
Hello,

If you are able to run "route delete" on the machine to delete the route
entry, you may consider using a startup script to allow the machine run
"route delete" when the machine starts up.


For example, you can open a notepad, write the command in the notepad and
save as .bat file. Refer to the following article to assign the bat file as
the startup script. Thus, when the computer starts up, the computer will
run the bat file to delete the route entry.
Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
http://support.microsoft.com/default...b;en-us;198642

If you only want to apply the script to a specific machine, you can assign
the startup script in the local policy by keying "gpedit.msc" on the
intended machine. The startup script is the located in the same location as:
Computer configuration\windows settings\script

HTH!

Best regards,

Rebecca Chen

MCSE2000 MCDBA CCNA


Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

================================================== ===

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Guest
Posts: n/a

 
      02-16-2005, 02:53 PM
Thx Rebecca, It's scripted now, I was just wondering if there was another
way.


"Rebecca Chen [MSFT]" <v-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> If you are able to run "route delete" on the machine to delete the route
> entry, you may consider using a startup script to allow the machine run
> "route delete" when the machine starts up.
>
>
> For example, you can open a notepad, write the command in the notepad and
> save as .bat file. Refer to the following article to assign the bat file
> as
> the startup script. Thus, when the computer starts up, the computer will
> run the bat file to delete the route entry.
> Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
> http://support.microsoft.com/default...b;en-us;198642
>
> If you only want to apply the script to a specific machine, you can assign
> the startup script in the local policy by keying "gpedit.msc" on the
> intended machine. The startup script is the located in the same location
> as:
> Computer configuration\windows settings\script
>
> HTH!
>
> Best regards,
>
> Rebecca Chen
>
> MCSE2000 MCDBA CCNA
>
>
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
>
> ================================================== ===
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      02-16-2005, 10:38 PM
How else could you do it? You can't delete it before it is created!

<(E-Mail Removed)> wrote in message
news:OYkt7%(E-Mail Removed)...
> Thx Rebecca, It's scripted now, I was just wondering if there was another
> way.
>
>
> "Rebecca Chen [MSFT]" <v-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello,
>>
>> If you are able to run "route delete" on the machine to delete the route
>> entry, you may consider using a startup script to allow the machine run
>> "route delete" when the machine starts up.
>>
>>
>> For example, you can open a notepad, write the command in the notepad and
>> save as .bat file. Refer to the following article to assign the bat file
>> as
>> the startup script. Thus, when the computer starts up, the computer will
>> run the bat file to delete the route entry.
>> Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
>> http://support.microsoft.com/default...b;en-us;198642
>>
>> If you only want to apply the script to a specific machine, you can
>> assign
>> the startup script in the local policy by keying "gpedit.msc" on the
>> intended machine. The startup script is the located in the same location
>> as:
>> Computer configuration\windows settings\script
>>
>> HTH!
>>
>> Best regards,
>>
>> Rebecca Chen
>>
>> MCSE2000 MCDBA CCNA
>>
>>
>> Microsoft Online Partner Support
>> Get Secure! - www.microsoft.com/security
>>
>> ================================================== ===
>>
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>>
>> ================================================== ===
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>

>
>



 
Reply With Quote
 
Rebecca Chen [MSFT]
Guest
Posts: n/a

 
      02-17-2005, 11:19 AM
Hello,

I believe you have already used the best way, the script.

I have traced the registry and found the route entry exsits in the
following registry:

HKEY_LOCAL_MACHINE
\SYSTEM
\CurrentControlSet
\Services
\Tcpip
\Parameters
\PersistentRoutes

The corresponding article has addressed this key:

"P" Switch for Route Command Added in Windows
http://support.microsoft.com/default...b;en-us;141383

However, you also need to write a batch file to delete the corresponding
entry from the registry and put it in the startup script. Seems no
difference between the script you are using.

HTH!

Best regards,

Rebecca Chen

MCSE2000 MCDBA CCNA


Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

================================================== ===

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Guest
Posts: n/a

 
      02-17-2005, 01:17 PM
What about preventing it from being made again?

"Bill Grant" <not.available@online> wrote in message
news:(E-Mail Removed)...
> How else could you do it? You can't delete it before it is created!
>
> <(E-Mail Removed)> wrote in message
> news:OYkt7%(E-Mail Removed)...
>> Thx Rebecca, It's scripted now, I was just wondering if there was another
>> way.
>>
>>
>> "Rebecca Chen [MSFT]" <v-(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hello,
>>>
>>> If you are able to run "route delete" on the machine to delete the route
>>> entry, you may consider using a startup script to allow the machine run
>>> "route delete" when the machine starts up.
>>>
>>>
>>> For example, you can open a notepad, write the command in the notepad
>>> and
>>> save as .bat file. Refer to the following article to assign the bat file
>>> as
>>> the startup script. Thus, when the computer starts up, the computer will
>>> run the bat file to delete the route entry.
>>> Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
>>> http://support.microsoft.com/default...b;en-us;198642
>>>
>>> If you only want to apply the script to a specific machine, you can
>>> assign
>>> the startup script in the local policy by keying "gpedit.msc" on the
>>> intended machine. The startup script is the located in the same location
>>> as:
>>> Computer configuration\windows settings\script
>>>
>>> HTH!
>>>
>>> Best regards,
>>>
>>> Rebecca Chen
>>>
>>> MCSE2000 MCDBA CCNA
>>>
>>>
>>> Microsoft Online Partner Support
>>> Get Secure! - www.microsoft.com/security
>>>
>>> ================================================== ===
>>>
>>> When responding to posts, please "Reply to Group" via your newsreader so
>>> that others may learn and benefit from your issue.
>>>
>>> ================================================== ===
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>>

>>
>>

>
>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      02-17-2005, 02:23 PM
"Bill Grant" <not.available@online> wrote in message
news:(E-Mail Removed)...
> How else could you do it? You can't delete it before it is created!


Static Route Abortions? :-\

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Route delete command maddhaze@gmail.com Windows Networking 3 08-25-2005 01:19 PM
Is it possible to add persistent route record to MN700? Slava Broadband Hardware 1 08-09-2004 10:42 PM
How to enable NAT on a MN700 base station an create a Persistent Route Esteban Santiago Broadband Hardware 0 07-28-2004 10:31 PM
route delete not working Tom P Windows Networking 6 05-27-2004 02:11 PM
To delete an old default route George Bell Linux Networking 3 12-14-2003 01:49 AM



1 2 3 4 5 6 7 8 9 10 11