Syndication

News

Link to other Blogs

Server Core: Setting a Static IP address
Well this not as technical as it can get but here are some basic configuration that I’ve played around earlier today…

 

Setting a Static IP Address: At the command prompt type: netsh interface ipv4 show interfaces   Review the Idx column of the output for your network adapter this will be your address name.

Setting the IP Address, Subnet Mask, and Default Gateway type:

netsh interface ipv4 set address name="<ID>" source=static address=<StaticIP> mask=<SubnetMask> gateway=<DefaultGateway>   netsh interface ipv4 set address name="2" source=static address=192.168.1.30 mask=255.255.255.0 gateway=192.168.1.1  and type: the IPCONFIG command to confirm the change

 

Same goes for the DNS setup netsh interface ipv4 add dnsserver name="<ID>" address=<DNSIP>index=1netsh interface ipv4 add dnsserver name="2" address=192.168.1.1 index=1

 

Summary:


StaticIP is the static IP address that you are setting

SubnetMask is the subnet mask for the IP address

DefaultGateway is the default gateway

ID is the number your ldxDNSIP is the IP of your DNS server (in my case my DNS IP Address is 192.168.1.1)To add another DNS repeat the process, just increment the index= number.

Again type IPCONFIG command to confirm the change on the DNS.

 

Published Saturday, July 21, 2007 3:25 PM by jeo
Filed under:

Comments

# Windows Server Core IP Configuration, Part 1@ Saturday, January 26, 2008 3:05 PM

Networking services are a big part of the services you can make your Server Core box perform. Having