welcome to netwrkspider

Monday, October 27, 2008

Configuring Windows Server 2008 Server Core Basic Networking Settings

Some of these settings include:

Configuring an IP address


To set the server with a static IP address

At a command prompt, type the following:

netsh interface ipv4 show interfaces



Look at the number shown in the Idx column of the output for your network adapter. If your computer has more than one network adapter, make a note of the number corresponding to the network adapter for which you wish to set a static IP address.

At the command prompt, type:

netsh interface ipv4 set address name="" source=static address= mask= gateway=



Where:

ID is the number from step 2 above
StaticIP is the static IP address that you are setting
SubnetMask is the subnet mask for the IP address
DefaultGateway is the default gateway

At the command prompt, type:

netsh interface ipv4 add dnsserver name="" address= index=1



Where:

ID is the number from step 2 above
DNSIP is the IP address of your DNS server

Repeat step 4 for each DNS server that you want to set, incrementing the index= number each time.

Verify by typing ipconfig /all and checking that all the addresses are correct.

No comments: