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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

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
mcsweenSr. 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.