Assign Static IP to 2nd nic in Hyper V Server
Posted on 2008-11-18
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
DNS servers configured through DHCP: 192.168.16.2
Register with which suffix: Primary only
WINS servers configured through DHCP: None