Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

I've added a persistent route to our Windows Server 2003 box using "route -p add". After a reboot the "route print" gave this:

Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric    
     20     30     30     20     20     30     20      1     30     20      1      1
Default Gateway:
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric       1

The route I added is listed as a persistent route, but not an active one. Why might this be the case?

The route in question is for an OpenVPN connection, would that have anything to do with it?

Edit I should have mentioned that the route was not working. Only once it was added again did it work. After that it did show in the Active Routes table.

share|improve this question

marked as duplicate by Mokubai, Moses, Simon Sheehan, Carl B, Shekhar Dec 9 '13 at 18:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers 4

As far as I'm aware, the differentiation between Active and Persistent in the route command is simply to make it easier to identify which routes are learned and/or temporary, against those that you have explicitly added as persistent.

I'm sure someone will correct me if I'm wrong :)

share|improve this answer
You've pretty well covered it. "Active" routes are just a rendering of the routing table as it exists at the time. As you say, it can includes routes that were learned (via a routing protocol). "Persistent" routes are those that have been explicitly defined because there may be no mechanism for them to be learned via a routing protocol. Persistent (sometimes called static) routes are commonly used when systems (servers) have multiple NICs and you want to force traffic through one or the other, depending on the destination. – BillP3rd Sep 13 '10 at 0:18
You're wrong. If a persistent route is active it will be in both places. @BillP3rd: A static route is one that is not determined dynamically (manually created). A persistent route is a static route that survives across reboots. – Gabe Dec 6 '13 at 5:48

Run your same add command without the -p and the route will be active.

If you run the command with -p, it will only become active after a restart.

share|improve this answer

From Active Route,

From Persistent Route,

Please change (Netmask) in Persistent Route as

I guess, more specific subnet mask take precedence...

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.