?
Solved

Assign Static IP to 2nd nic in Hyper V Server

Posted on 2008-11-18
2
Medium Priority
?
1,300 Views
Last Modified: 2013-11-11
Hi

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=192.168.16.250 mask=255.255.255.0 gateway 192.168.16.254
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:                           192.168.16.106
    Subnet Prefix:                        192.168.16.0/24 (mask 255.255.255.0)
    Default Gateway:                      192.168.16.254
    Gateway Metric:                       0
    InterfaceMetric:                      10
    DNS servers configured through DHCP:  192.168.16.2
    Register with which suffix:           Primary only
    WINS servers configured through DHCP: None
0
Comment
Question by:nostrasystems
2 Comments
 
LVL 12

Accepted Solution

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

Author Comment

by:nostrasystems
ID: 22986003
u are spot on sorry my bad :)
0

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