Solved

Windows, persistent default gateway

Posted on 2012-04-05
1
341 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: I have always been a big fan of Windows but my liking towards it is slowly being eroded by the variety of other Applications that I encounter, when I browse the Web. Most of the software available is free and maybe Open Source too. …
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
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…
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…

747 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

13 Experts available now in Live!

Get 1:1 Help Now