Assign Static IP to 2nd nic in Hyper V Server

Posted on 2008-11-18
Medium Priority
Last Modified: 2013-11-11

Im trying to assign a static IP to a second nic i installed for remote admin on a Hyper V Server (No GUI) using command line i get this error:

C:\Users\administrator>netsh interface ipv4 set address name="Local Area Connect
ion 3" source=static address= mask= gateway
The filename, directory name, or volume label syntax is incorrect.

below are ipconfig /all results efore trying to assign static ip

Configuration for interface "Local Area Connection 3"
    DHCP enabled:                         Yes
    IP Address:                 
    Subnet Prefix:               (mask
    Default Gateway:            
    Gateway Metric:                       0
    InterfaceMetric:                      10
    DNS servers configured through DHCP:
    Register with which suffix:           Primary only
    WINS servers configured through DHCP: None
Question by:nostrasystems
LVL 12

Accepted Solution

RobinHuman earned 2000 total points
ID: 22985922
Have you included the "=" sign in front of the gateway address?

Author Comment

ID: 22986003
u are spot on sorry my bad :)

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question