Server 03 - Static Route
Anyone ever encountered a problem with a Server 2003 box dropping a static route? We've got a machine here that has to connect through a third-party VPN box on our LAN. I put in the route nearly four months ago and never had a single problem until a few weeks back. Looked at the route table on the server and the entry was no longer listed.
Not really an issue to fix but wanted to know if anyone had seen this before.
Not really an issue to fix but wanted to know if anyone had seen this before.
Comments
-
RTmarc Member Posts: 1,082 ■■■□□□□□□□I wasn't aware there is a persistent flag for a static route. Are you talking about for a mapped drive?
-
sprkymrk Member Posts: 4,884 ■■■□□□□□□□RTmarc wrote:I wasn't aware there is a persistent flag for a static route. Are you talking about for a mapped drive?
You need to use:
route add -p 1.2.3.4 mask x.x.x.x 4.3.2.1
If you don't use the persistent flag (-p) the route will be removed upon reboot.All things are possible, only believe. -
snadam Member Posts: 2,234 ■■■■□□□□□□RTmarc wrote:I wasn't aware there is a persistent flag for a static route. Are you talking about for a mapped drive?
nope when you add a static route you need the -p switch.
i believe the syntax is 'route -p add x.x.x.x mask x.x.x.x x.x.x.x metric x'
once you reboot without the -p, it will be gone.**** ARE FOR CHUMPS! Don't be a chump! Validate your material with certguard.com search engine
:study: Current 2015 Goals: JNCIP-SEC JNCIS-ENT CCNA-Security -
sprkymrk Member Posts: 4,884 ■■■□□□□□□□You're such a copycat snadam. :PAll things are possible, only believe.
-
RTmarc Member Posts: 1,082 ■■■□□□□□□□Nice. Did not know that one. Of course, I can probably count on both hands how many times within the past decade I've actually had to enter a static route...
Thanks for the info! -
snadam Member Posts: 2,234 ■■■■□□□□□□sprkymrk wrote:You're such a copycat snadam. :P
damnit, I was trying to be helpful, but you beat me to it!
besides, you explained it much better than I did.**** ARE FOR CHUMPS! Don't be a chump! Validate your material with certguard.com search engine
:study: Current 2015 Goals: JNCIP-SEC JNCIS-ENT CCNA-Security -
theseman Member Posts: 230RTmarc wrote:Nice. Did not know that one. Of course, I can probably count on both hands how many times within the past decade I've actually had to enter a static route...
Thanks for the info!
+1
I have probably done it somewhere between 0 and 1 times, not something you would hope to do very often.