nerdexam
Microsoft

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…

Understanding Server Installation

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)
  • A
    68% (13)
  • B
    5% (1)
  • C
    5% (1)
  • D
    21% (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

#Server Core#netsh#Static IP configuration#Network configuration

Community Discussion

No community discussion yet for this question.

Full 98-365 Practice