Solved

Windows, persistent default gateway

Posted on 2012-04-05
1
343 Views
Last Modified: 2012-04-05
If I persistent the default gateway as follows:

route -p add 0.0.0.0 MASK 0.0.0.0 [gateway ip address] IF [interface]

Open in new window


does that mean I will not lose my default gateway (and not lose connectivity) after I do a

route -f

Open in new window

0
Comment
Question by:Los Angeles1
1 Comment
 
LVL 3

Accepted Solution

by:
wr_mem earned 500 total points
ID: 37811943
No, it does not (had to test it though, see below (although you must believe me or do it yourself as I've edited the outcome, x.x.x.x is my def. gateway)
What it means is that it will be there after a reboot

H:\>route -p add 1.2.3.4 MASK 255.255.255.255 x.x.x.x

H:\>route -f

H:\>route print
===========================================================================
output omitted
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
   output omitted
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
        224.0.0.0        240.0.0.0      X.X.X.X     X.X.X.X      20
  255.255.255.255  255.255.255.255      X.X.X.X     X.X.X.X       1
  255.255.255.255  255.255.255.255      X.X.X.X               2       1
===========================================================================
Persistent Routes:
  None
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now