Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityBeginner

Configuring and verifying network connections: Windows settings, ping, traceroute, Telnet and SSH

In short: Windows normally detects network adapters automatically, but you can change IP and DNS settings in the adapter properties. After configuring, verify with ping (reachability) and traceroute (path), and manage remote devices securely with SSH rather than Telnet.

Setting up a network adapter in Windows

Windows normally detects a network adapter and installs its driver automatically, creating a connection with sensible defaults. Sometimes you need to change the settings yourself.

Open the adapter list

  • Quickest way (any version): press Win + R, type ncpa.cpl and press Enter.
  • Windows 11: Settings → Network & internet → Advanced network settings → More network adapter options.
  • Windows 10: Settings → Network & Internet → Ethernet (or Status) → Change adapter options.

Right-click the adapter and choose Properties. Clicking Configure opens the hardware settings, with tabs such as General, Advanced (speed, duplex and other device settings), Driver (update, roll back or uninstall), Details, Events and Power Management.

Items in the connection properties

  • Client for Microsoft Networks: needed to access Windows file shares.
  • File and Printer Sharing: lets others use this PC's files or printers. Disable it on PCs that don't share anything.
  • Internet Protocol Version 4 (TCP/IPv4) and Version 6 (TCP/IPv6): usually both enabled.

Security tip: remove or disable clients, protocols and services you don't need. Every unused feature is one more thing that could be attacked.

IPv4 settings

OptionWhen to use it
Obtain an IP address automaticallyThe network has a DHCP server: the normal choice for user PCs.
Use the following IP addressThe device needs a fixed address: enter the IP address, subnet mask and default gateway.
Obtain DNS server address automaticallyDHCP also provides DNS servers.
Use the following DNS server addressesEnter a preferred and an alternate DNS server manually.

Check the result with ipconfig /all.

Verifying connectivity

ping

ping sends ICMP echo requests to a destination and shows each reply and its round-trip time. Windows sends four by default; Linux and network devices vary. It is the quickest test of reachability:

ping 192.168.1.1        # can I reach my gateway?
ping 8.8.8.8            # can I reach the internet by IP?
ping example.com        # does DNS work too?
ping -n 10 -l 1400 10.0.0.5   # Windows: 10 packets of 1400 bytes

On routers and switches, extended ping lets you choose the source interface, count, size, timeout and other options.

traceroute / tracert

How traceroute discovers each router on the pathYour PCRouter 1Router 2Router 3ServerTTL=1TTL=2TTL=3Each router that drops a packet replies "time exceeded"Each reply reveals one more router on the path to the server
Figure 1. Traceroute sends packets with TTL 1, 2, 3 and so on. Each router that drops one reports back, revealing the path.

Traceroute shows every router between you and a destination. It works by using the Time to Live (TTL) field in the IP header: each router lowers the TTL by one and drops the packet when it reaches zero, sending back an ICMP time exceeded message. Sending packets with TTL 1, then 2, then 3, reveals each hop in turn. Use tracert on Windows and traceroute on Linux, macOS and network devices. It shows where along the path a problem starts.

Telnet and SSH for remote management

  • Telnet gives a remote text session but sends everything, passwords included, unencrypted. Only use it in isolated labs, or to test whether a TCP port is open (telnet server 443).
  • SSH provides the same remote command line with encryption and strong authentication. It is the standard for managing routers, switches, firewalls and Linux servers: ssh [email protected].

For a full troubleshooting order, follow the "Users can't reach the internet" playbook and the list of essential network commands.

Real-world example: a new printer in an accountants' office

An accountants' office bought a network printer and the office manager connected it, but nobody could print. The IT support technician gave the printer a fixed address in the adapter settings on its control panel (192.168.1.50, mask 255.255.255.0, gateway 192.168.1.1), outside the router's DHCP range to avoid conflicts. From her laptop she ran ping 192.168.1.50 and got replies, proving the printer was reachable. A colleague's PC still could not print, so she ran ping from that PC too, and it failed.

That PC had been given a manual address on a different subnet years ago. Switching its adapter back to automatic (DHCP) settings solved it. Finally she disabled Telnet on the printer's management interface and used its HTTPS page instead, applying the same rule as with routers: manage devices only over encrypted protocols.

Practice

Ping to 8.8.8.8 works but ping to example.com fails. What is the likely problem?
DNS: the PC can reach the internet by IP address but can’t resolve names. Check the DNS server settings.
Which IP header field does traceroute rely on?
The Time to Live (TTL) field.
What is the quickest way to open the network adapter list in Windows?
Press Win + R, type ncpa.cpl and press Enter.

Key takeaways

  • Open adapters with ncpa.cpl; adapter Properties holds protocols and IPv4/IPv6 settings.
  • Use automatic (DHCP) settings for user PCs; manual settings need IP, mask, gateway and DNS.
  • Disable network features you don’t use.
  • ping tests reachability; traceroute shows the path using TTL.
  • Manage devices with SSH, never Telnet, on real networks.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.