Setting the IP Address via command line – Windows Server Core
Hi
So, you’ve created a windows server core machine and it’s booted up. How do you add an IP address to the network card.
Use NETSH
Firstly grab the network interface name
either by
CODE
IPCONFIG or netsh interface ip show config
Jot down the name of your interface – on brand new builds this is more than likely going to be “Local Area Connection”
Then set the ip address with
CODE
netsh interface ip set address name=”Local Area Connection” static 10.96.99.5 255.255.255.0 10.96.99.1
This sets the IP address to 10.96.99.5 on a class C subnet and a gateway of .1 – STATIC not DHCP
Enjoy
Recent Posts
Comments
Leave a Comment
You must be logged in to post a comment.
extra detailed instructions can be found here
http://binaryroyale.com/index.php/page/5/?s=server+core