Lesson 08 — Windows Networking
Lesson 08 — Windows Networking
Section titled “Lesson 08 — Windows Networking”Lesson Overview
Section titled “Lesson Overview”Every Windows computer in an organization communicates across a network.
Whether you’re:
- Browsing the Internet
- Logging into Active Directory
- Accessing a shared folder
- Connecting through Remote Desktop (RDP)
- Accessing Microsoft 365
- Managing Azure Virtual Machines
- Connecting to SQL Server
Windows networking makes it all possible.
Network connectivity is one of the most critical components of enterprise IT. Windows Administrators, Cloud Engineers, DevOps Engineers, and Cybersecurity Professionals spend a significant amount of time configuring, monitoring, and troubleshooting Windows networks.
In this lesson, you’ll learn the networking concepts and Windows tools used daily in enterprise environments.
Learning Objectives
Section titled “Learning Objectives”After completing this lesson, you will be able to:
- Understand Windows networking fundamentals.
- Learn IP addressing and subnetting basics.
- Understand DNS and DHCP.
- Configure Windows network settings.
- Use Windows networking tools.
- Troubleshoot network issues.
- Apply enterprise networking best practices.
Windows Networking Overview
Section titled “Windows Networking Overview”Every Windows device communicates through a network interface.
Windows Computer
↓
Network Adapter
↓
Switch
↓
Router
↓
Internet
↓
Cloud ServicesThe operating system uses networking services to communicate with other computers and applications.
Network Adapters
Section titled “Network Adapters”A Network Adapter (NIC) connects a computer to a network.
Examples include:
- Ethernet Adapter
- Wi-Fi Adapter
- Virtual Network Adapter
- VPN Adapter
Modern Windows systems may have multiple network adapters.
Viewing Network Adapters
Section titled “Viewing Network Adapters”Open:
ncpa.cplOr use PowerShell:
Get-NetAdapterExample output:
Ethernet
Wi-Fi
Bluetooth Network ConnectionIP Address
Section titled “IP Address”Every device on a network requires an IP address.
Example:
192.168.1.100The IP address uniquely identifies the device on the network.
Private IP Address Ranges
Section titled “Private IP Address Ranges”Common private IPv4 ranges include:
| Range | Purpose |
|---|---|
| 10.0.0.0/8 | Large enterprise networks |
| 172.16.0.0/12 | Medium-sized private networks |
| 192.168.0.0/16 | Home and small business networks |
These addresses are not directly accessible from the Internet.
IPv4 vs IPv6
Section titled “IPv4 vs IPv6”Windows supports both Internet Protocol versions.
| IPv4 | IPv6 |
|---|---|
| 32-bit | 128-bit |
| Example: 192.168.1.10 | Example: 2001:db8::10 |
| Widely deployed | Increasing adoption |
Modern enterprise networks often use both.
Viewing IP Configuration
Section titled “Viewing IP Configuration”Display network configuration.
Command Prompt:
ipconfigDetailed output:
ipconfig /allPowerShell:
Get-NetIPAddressThese commands display:
- IP Address
- Subnet Mask
- Default Gateway
- DNS Servers
- MAC Address
Hostname
Section titled “Hostname”Display the computer name.
Command Prompt:
hostnamePowerShell:
hostnameAdministrators often assign meaningful hostnames to enterprise systems.
Default Gateway
Section titled “Default Gateway”The Default Gateway forwards traffic to external networks.
Example:
Windows PC
↓
Gateway
↓
Internet
↓
Cloud ServicesWithout a default gateway, external communication is not possible.
DNS (Domain Name System)
Section titled “DNS (Domain Name System)”DNS translates domain names into IP addresses.
Example:
www.gohackerscloud.com
↓
DNS
↓
203.x.x.xWithout DNS, users would need to remember IP addresses instead of names.
Viewing DNS Configuration
Section titled “Viewing DNS Configuration”Command Prompt:
ipconfig /allPowerShell:
Get-DnsClientServerAddressTesting DNS Resolution
Section titled “Testing DNS Resolution”Using Command Prompt:
nslookup gohackerscloud.comUsing PowerShell:
Resolve-DnsName gohackerscloud.comThese tools verify whether DNS is functioning correctly.
DHCP (Dynamic Host Configuration Protocol)
Section titled “DHCP (Dynamic Host Configuration Protocol)”DHCP automatically assigns:
- IP Address
- Subnet Mask
- Default Gateway
- DNS Servers
Without DHCP, administrators would need to configure every computer manually.
Renewing DHCP Lease
Section titled “Renewing DHCP Lease”Release the current IP address.
ipconfig /releaseRequest a new IP address.
ipconfig /renewUseful when troubleshooting connectivity issues.
Testing Network Connectivity
Section titled “Testing Network Connectivity”Ping another device.
ping google.comPing an IP address.
ping 8.8.8.8Successful replies indicate basic network connectivity.
Tracing the Network Path
Section titled “Tracing the Network Path”Display the route packets take.
tracert google.comThis helps identify routing problems.
Viewing Active Connections
Section titled “Viewing Active Connections”Display network connections.
netstat -anoPowerShell:
Get-NetTCPConnectionUseful information includes:
- Local Port
- Remote Address
- Connection State
- Process ID
Testing Ports
Section titled “Testing Ports”PowerShell provides a built-in command.
Test-NetConnection google.com -Port 443This verifies whether a specific port is reachable.
Windows Firewall
Section titled “Windows Firewall”Windows Defender Firewall protects systems by controlling inbound and outbound traffic.
Capabilities include:
- Allow Rules
- Block Rules
- Port Filtering
- Application Rules
- Network Profiles
Every enterprise Windows system should have the firewall enabled unless organizational requirements dictate otherwise.
Managing Windows Firewall
Section titled “Managing Windows Firewall”Open:
wf.mscPowerShell:
Get-NetFirewallProfileEnable firewall:
Set-NetFirewallProfile `-Profile Domain,Private,Public `-Enabled TrueRemote Desktop (RDP)
Section titled “Remote Desktop (RDP)”Remote Desktop allows administrators to manage Windows systems remotely.
Open:
mstscDefault port:
3389Secure RDP using:
- Network Level Authentication (NLA)
- VPN
- MFA
- Firewall restrictions
SMB File Sharing
Section titled “SMB File Sharing”Windows shares files using Server Message Block (SMB).
Example:
File Server
↓
SMB Share
↓
Employees
↓
Shared FilesSMB is the standard protocol for Windows file sharing.
Network Profiles
Section titled “Network Profiles”Windows supports three network profiles.
| Profile | Purpose |
|---|---|
| Domain | Corporate networks |
| Private | Trusted home or office networks |
| Public | Airports, cafés, hotels |
Different firewall rules apply to each profile.
Network Troubleshooting Workflow
Section titled “Network Troubleshooting Workflow”A structured troubleshooting approach helps identify issues quickly.
Check Physical Connection
↓
Verify IP Address
↓
Check Default Gateway
↓
Verify DNS
↓
Ping Gateway
↓
Ping Internet
↓
Check Firewall
↓
Review Event Logs
↓
Resolve IssueWindows Networking in Cloud Computing
Section titled “Windows Networking in Cloud Computing”Cloud Engineers regularly manage:
Microsoft Azure
Section titled “Microsoft Azure”- Virtual Networks (VNets)
- Network Security Groups (NSGs)
- Azure Firewall
- Load Balancers
- VPC
- Security Groups
- Route Tables
- Elastic Network Interfaces (ENIs)
Google Cloud
Section titled “Google Cloud”- VPC Networks
- Firewall Rules
- Cloud NAT
Understanding Windows networking is essential when deploying cloud workloads.
Windows Networking in Cybersecurity
Section titled “Windows Networking in Cybersecurity”Security teams investigate:
- Unauthorized connections
- Open ports
- DNS anomalies
- Firewall changes
- Remote Desktop activity
- Suspicious network traffic
- SMB exploitation
- Lateral movement
Network visibility is a key part of incident response.
Common Windows Networking Commands
Section titled “Common Windows Networking Commands”Display IP configuration:
ipconfigDetailed configuration:
ipconfig /allPing a host:
pingTrace route:
tracertDisplay active connections:
netstat -anoDisplay adapters:
Get-NetAdapterDisplay IP addresses:
Get-NetIPAddressTest DNS:
nslookupTest a TCP port:
Test-NetConnectionReal-World Example
Section titled “Real-World Example”Employees report that they cannot access an internal web application.
The Windows Administrator follows this workflow:
Verify Network Adapter
↓
Check IP Address
↓
Verify Gateway
↓
Test DNS Resolution
↓
Ping Application Server
↓
Check Firewall Rules
↓
Verify IIS Service
↓
Restore ConnectivityFollowing a structured process minimizes downtime and simplifies troubleshooting.
Best Practices
Section titled “Best Practices”As a Windows administrator:
- Use DHCP for client systems unless static addressing is required.
- Configure reliable DNS servers.
- Enable Windows Defender Firewall.
- Secure Remote Desktop with MFA and VPN where possible.
- Monitor open ports regularly.
- Assign meaningful hostnames.
- Document IP addressing schemes.
- Test network connectivity after configuration changes.
Strong networking practices improve performance, reliability, and security.
Key Takeaways
Section titled “Key Takeaways”After completing this lesson, you should understand:
- Windows networking fundamentals.
- IP addressing.
- DNS and DHCP.
- Network adapters.
- Windows Firewall.
- Remote Desktop.
- SMB file sharing.
- Enterprise networking best practices.
Summary
Section titled “Summary”Windows Networking enables enterprise systems to communicate securely and efficiently across local networks, data centers, and cloud environments.
By understanding IP addressing, DNS, DHCP, Windows Firewall, Remote Desktop, SMB, and network troubleshooting tools, you’ll be prepared to manage Windows infrastructure in enterprise IT, cloud platforms, and cybersecurity operations.
These networking concepts form the foundation for advanced topics such as Active Directory, Azure networking, hybrid cloud connectivity, and Windows security.
Next Lesson
Section titled “Next Lesson”➡️ Lesson 09 — Windows Event Logs
Learn how Windows Event Logs record system activity, understand Event Viewer, Windows log categories, event IDs, auditing, troubleshooting, and security investigations used in enterprise environments.