Netsh Command

Harmattan

New member
Joined
Sep 29, 2011
Messages
3
Location
Amsterdam
Hi,

I'm trying to add a static route to a 2008 R2 Virtual server.
This server has two network cards.

I 've been trying this command:
c:\Netsh interface ipv4 add route 192.168.20.101/24 Local Area Connection 2 192.168.20.200
Parameter incorrect.

Any idea what is wrong?

Thanks
Harmattan
 
I came a cross a few articles about adding static routes in Windows 2008 and it the writers recommended to use netsh.
Anyway the solution is to use the network address instead of the client IP address, so I did 192.168.20.0 instead of 192.168.20.101.
 
Back
Top