Question

Difficulty: MediumWindows Client Networking Configuration

A network technician needs to manually configure a static IPv4 address, subnet mask, default gateway, and primary DNS server on a Windows 11 client workstation using the Command Prompt. Which sequence of steps must the technician perform from first to last to complete and verify this configuration?

  1. 1Open Command Prompt with elevated administrative privileges.
  2. 2Run `netsh interface ipv4 show interfaces` to identify the exact name of the network adapter.
  3. 3Run `netsh interface ipv4 set address name="Ethernet" static 192.168.1.50 255.255.255.0 192.168.1.1` to assign the static IP details.
  4. 4Run `netsh interface ipv4 set dnsservers name="Ethernet" static 192.168.1.10` to configure the DNS server.
  5. 5Run `ipconfig /all` to confirm that all configured static settings are active on the interface.

Answer

The correct sequence begins with launching an elevated Command Prompt, identifying the target interface name using `netsh interface ipv4 show interfaces`, applying the static IP address and default gateway, assigning the static DNS server address, and finally executing `ipconfig /all` to verify the configuration.
Configuring static IP settings on Windows via netsh requires administrative privileges, which must be obtained first. Next, querying active interfaces ensures the correct adapter name is targeted in netsh syntax. Setting the primary IPv4 address, subnet mask, and default gateway precedes setting the DNS server address. Finally, verification via `ipconfig /all` confirms that all settings have taken effect.

Step-by-Step Solution

1
Elevate Command Prompt permissions
Administrator Command Prompt window opened
Administrative rights are required to write changes to Windows network interface properties.
2
Query network interface names
Target interface name (e.g., 'Ethernet') confirmed
The netsh command requires an explicit interface name parameter.
3
Set static IPv4 address, subnet, and default gateway
IP addressing properties assigned to interface
Establishes basic IP Layer 3 connectivity properties on the client.
4
Set primary static DNS server
DNS server IP assigned to interface
Configures name resolution services for the static adapter profile.
5
Verify applied settings
ipconfig output confirms all configuration parameters
Validates that settings were correctly committed to the Windows networking stack.

Key Concept

Windows Client Netsh IPv4 and DNS Configuration
Rate this question