Networknet archive Blog

Windows Server 2008 Core: Configure IPv4

Originally published Last updated

View the installed interfaces

Code1 line
1
netsh interface ipv4 show interfaces

Configure the static IP address, netmask and default gateway

Code1 line
1
netsh interface ipv4 set address name="nr" source=static address=192.168.1.1 mask=255.255.255.0 gateway=192.168.1.254

Configure the DNS server

Code1 line
1
netsh interface ipv4 add dnsserver name="nr" address=192.168.1.1 index=1