CSS 4 Lesson 2
Check Network Configuration
🔸 View network adapter details:
ipconfig /all
Check Network Configuration
🔸Show assigned IP address:
ipconfig
Check Network Configuration
🔸Refresh IP address (Release & Renew):
ipconfig /release
ipconfig /renew
Check Network Configuration
🔸Flush DNS cache to resolve network
issues:
ipconfig /flushdns
Check Network Configuration
🔸View DNS resolver cache:
ipconfig /displaydns
Network Connectivity Tests
🔸 Ping a website or server (check
connectivity):
ping google.com
Network Connectivity Tests
🔸Ping continuously until stopped (Ctrl + C
to stop):
ping -t google.com
Network Connectivity Tests
🔸Test connection with a specific number of
packets (e.g., 5):
ping -n 5 google.com
Network Connectivity Tests
🔸Trace the route taken by packets to a
destination:
tracert google.com
Network Connectivity Tests
🔸Check for network issues between
you and a website:
pathping google.com
Display and Manage Network Connections
Show active network connections and listening ports:
netstat -an
Display and Manage Network Connections
🔸Show network statistics with process
names:
netstat -b
Display and Manage Network Connections
🔸Check active network adapters:
netsh interface show interface
Display and Manage Network Connections
Enable a network adapter (replace Wi-Fi with adapter name):
netsh interface set interface "Wi-Fi" admin=enable
Display and Manage Network Connections
🔸Disable a network adapter:
netsh interface set interface "Wi-Fi" admin=disable
Display and Manage Network Connections
Show saved Wi-Fi profiles:
netsh wlan show profiles
Check and Troubleshoot Network Issues
Check for connectivity issues and
repairs:
netsh int ip reset
netsh winsock reset
Check and Troubleshoot Network Issues
Display detailed network adapter
statistics:
netsh interface ipv4 show interfaces
Check open ports and listening services:
netstat -aon
Advanced Network Troubleshooting
Check if a specific port is open (e.g., port 80):
netstat -an | find ":80"
Check if a computer is online using ARP:
arp -a
Check the routing table:
route print
Network Adapter & IP Address Configuration
Show all network adapters:
wmic nic get Name, MACAddress, NetConnectionStatus
Network Security & Firewall Management
Check current firewall rules:
netsh advfirewall firewall show rule name=all
Network Share Management
View all network shares:
net share
Check Internet Speed & Connectivity Issues
Test network bandwidth:
wmic nic where NetEnabled=true get Name,Speed
Check system uptime (how long the PC has been running):
net stats srv
Monitor network activity in real-time:
netstat -e -s