Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There's a virtual machine with Windows Server 2008 R2 installed. There are two NICs connected to it: PROD & BUP. The BUP interface is configured without default gateway. After adding static route with /p switch, it appears in routing table but traffic still goes through default gateway if you run tracert.

I've even tried to add IF parameter but the same thing, doesn't work. Machine hasn't been restarted yet.

What is interesting, there is another Windows Server 2008 R2 machine with such static route and BUP interface's IP-address in the same subnet and everything works perfectly.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I've seen this on Windows 2008 R2 a few times, where the route add /p simply doesn't stick. Use netsh with the ipv4 context switch instead.

Let's say your local backup destination net is 192.168.30.0/24. Use netsh like this:

netsh ipv4 add persistentroute 192.168.30.0 255.255.255.0 "BUP"

Where: 192.168.30.0 is the destination net, 255.255.255.0 is the destination subnet mask and "BUP" is the name of the interface you wish to use

share|improve this answer
    
Tried this, but it didn't work either. Wanna try deleting all static routes, restarting machine & then re-adding routes once again. Anyway, thx for good suggestion. –  Volodymyr Jan 3 '12 at 10:12
    
Got one more idea - to disable PROD lan, but haven't done that yet. –  Volodymyr Jan 5 '12 at 9:14
    
I'd rather try to remove the route, disabling and then enabling the backup interface and then adding it again –  Mathias R. Jessen Jan 5 '12 at 9:28
    
This has been already done several times, no success. –  Volodymyr Jan 11 '12 at 10:11
    
Even more: I've tried deleting virtual NIC and then re-adding it - still doesn't work :(. –  Volodymyr Jan 12 '12 at 9:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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