98-365 · Question #213
What command would you use to configure a static IP address and default gateway for a computer running Windows Server 2016 Server Core?
The correct answer is A. netsh interface ipv4 set address name="<ID>" source=static address=<StaticIP>. When you view the output of the netsh command, you need to note the number shownintheIdx column for your network adapter. To set a static IP address and default gateway, use the following command: netsh interface ipv4 set address name="<ID>" source=static…
Question
What command would you use to configure a static IP address and default gateway for a computer running Windows Server 2016 Server Core?
Options
- Anetsh interface ipv4 set address name="<ID>" source=static address=<StaticIP>
- Bnetsh interface ipv4 set address name="<ID>" source=dynamic address=<DHCPIP>
- Cnetsh interface ipv4 set address name="<ID>" source=static address=<StaticIP>
- Dnetsh interface ipv4 set address name="<ID>" source=static address=<StaticIP>
How the community answered
(19 responses)- A68% (13)
- B5% (1)
- C5% (1)
- D21% (4)
Explanation
When you view the output of the netsh command, you need to note the number shownintheIdx column for your network adapter. To set a static IP address and default gateway, use the following command: netsh interface ipv4 set address name="<ID>" source=static address=<StaticIP>mask=<SubnetMask> gateway=<DefaultGateway>
Topics
Community Discussion
No community discussion yet for this question.