Server 2008 Core

From Wiki

Jump to: navigation, search

Configuring Networking

Configuration of network interfaces is performed with the NETSH command.

  • Rename an interface:
netsh interface set interface name="Local Area Connection" newname="Physical1"
  • Configure interface with an IPv4 address:
netsh interface ipv4 set address name="Physical1" static 10.1.1.10 255.255.248.0 gateway=10.1.1.1
  • Configure DNS servers:
netsh interface ipv4 add dnsserver name="Physical1" 10.1.1.2 index=1