Link to home
Start Free TrialLog in
Avatar of gmk1212
gmk1212

asked on

Setting static IP problem on server core

I'm trying to set a static IP on a server core installation. When I type ipconfig/all just the Windows IP configuration comes up.

If I go into netsh interface ipv4> and try add address "Local Area Connection" 123.34.34.43   it returns an error saying "The filename, directory name, or volume label syntax is incorrect."
Avatar of Bradley Fox
Bradley Fox
Flag of United States of America image



netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1
netsh interface ip set dns "Local Area Connection" static 192.168.0.20

Open in new window

If the name is not "Local Area Connection" you can get its name with

ipconfig /all
or
netsh interface ip show config
Avatar of gmk1212
gmk1212

ASKER

I did netsh interface ip show config and that brought up an address called "Loopback Pseudo-Interface 1" that was set to an IP of 127.0.0.1 and subnet of 255.0.0.0

I changed that address to the one I wanted to, but when I use ipconfig/all that address doesn't come up.

It seems like I need to add a new table for Local Area Connection, but when I use add address "Local Area Connection" it gives me the error saying "The filename, directory name, or volume label syntax is incorrect."
You have to install the NIC drivers if you aren't seeing anything but the loopback (127.0.0.1)
Avatar of gmk1212

ASKER

Where can I find the NIC drivers?
You will have to download them from the manufacturer's website.  If the server is a name brad Dell, IBM, HP, etc I would start at their website.
Avatar of gmk1212

ASKER

Well it's a virtual machine that's being run on a mac with Parallels Desktop. Would this still apply?
ASKER CERTIFIED SOLUTION
Avatar of Bradley Fox
Bradley Fox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gmk1212

ASKER

Ok, so apparently the Parallels Tools aren't installed. But, when I go to install them, the installation just doesn't start. I click 'continue' to start it and just nothing happens. Any idea why?
Avatar of gmk1212

ASKER

I'm trying to change the 'source' in the CD/DVD hardware configuration, but it keeps reverting to the previous source for some reason.
Avatar of gmk1212

ASKER

didn't fix it
I had the problem of that text popping, and I solved it like this, though ti probably wouldn't help the op, but I wanted to add one possible solution:
I was looking wrongly the name of the interface.
When you go to ipconfig /all, and you see "Wireless LAN adapter Wi-Fi", the name of the interface is not all that, it's only "Wi-Fi".
And I was able to realize that, thanks to "netsh interface ip show config" (seen up here), where as an interface name it only appears, in this example, "Wi-Fi".