Jump to content

Recommended Posts

Posted

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

Posted

why not using:

 

route add ...

 

type route /? for more :)

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Posted

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...