Solved

Windows, persistent default gateway

Posted on 2012-04-05
1
353 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

752 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