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.
netsh.exe
B.
netcfg.exe
C.
msconfig.exe
D.
ipconfig.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 D: 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.
A. Netsh.exe
https://technet.microsoft.com/en-us/library/ee441257(v=ws.10).aspx
To set a static IP address
At a command prompt, type the following:
netsh interface ipv4 show interfaces
Make a note of 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.
netsh command will works !! (tested)
answer A