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."
gmk1212Asked:
Who is Participating?
 
mcsweenConnect With a Mentor Sr. Network AdministratorCommented:
Yes; I don't know much about Parallels Desktop but there will be drivers that need to be installed for the NIC to work.

In VMWare virtual machines you have to install VMWare tools.

I see some stuff on their website about installing Parallels Tools from the VM Toolbar.  I assume when you issue this command an ISO will be mounted on a virtual drive.  Since you are running server core with no GUI you will probably have to CD to the directory and run the install manually.

http://forum.parallels.com/showthread.php?t=99778
0
 
mcsweenSr. Network AdministratorCommented:


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

0
 
mcsweenSr. Network AdministratorCommented:
If the name is not "Local Area Connection" you can get its name with

ipconfig /all
or
netsh interface ip show config
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
gmk1212Author Commented:
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."
0
 
mcsweenSr. Network AdministratorCommented:
You have to install the NIC drivers if you aren't seeing anything but the loopback (127.0.0.1)
0
 
gmk1212Author Commented:
Where can I find the NIC drivers?
0
 
mcsweenSr. Network AdministratorCommented:
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.
0
 
gmk1212Author Commented:
Well it's a virtual machine that's being run on a mac with Parallels Desktop. Would this still apply?
0
 
gmk1212Author Commented:
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?
0
 
gmk1212Author Commented:
I'm trying to change the 'source' in the CD/DVD hardware configuration, but it keeps reverting to the previous source for some reason.
0
 
gmk1212Author Commented:
didn't fix it
0
 
Vernon AzazumbéCommented:
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".
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.