You have a server named Server1 that runs a Server Core installation of Windows Server 2012.
Server1 is configured to obtain an IPv4 address by using DHCP.
You need to configure the IPv4 settings of the network connection on Server1 as follows:
IP address: 10.1.1.1
Subnet mask: 255.255.240.0
Default gateway: 10.1.1.254
What should you run?
A.
Set-NetIPv4Protocol
B.
ipconfig.exe
C.
netsh.exe
D.
msconfig.exe
Explanation:
In order to configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway,
DNS and WINS addresses and many other options you can use Netsh.exe.
Incorrect:
Not A: The command Set-NetIPv4Protocol modifies information about the IPv4 Protocol configuration.
TheSet-NetIPv4Protocolcmdlet modifies the global IPv4 protocol configuration for the computer. This includes
parameters such as the default hop limit, the neighbor cache limit, and multi-cast configuration.
not B: Windows Server 2012 Core still has IPCONFIG.EXE that can be used to view the IP configuration.
Modern servers typically come with several network interface ports. This causes IPCONFIG.EXE to scrolloff
the screen when viewing its output. Consider pipingthe output if IPCONFIG.EXE to a file and view it with
Notepad.exe.
If it is set to obtain an IP address from DHCP, why set it manually? Another inane question.
To ensure the server uses same IP anytime it is rebooted.
C