
Useful Network Commands for Network Engineers ππ οΈ
π IP Configuration & Management
- ipconfig β Show basic network configuration
- ipconfig /all β Display detailed IP and DNS settings
- ipconfig /release β Release current IP address
- ipconfig /renew β Renew the IP address
- ipconfig /flushdns β Clear DNS cache for troubleshooting
π Network Testing & Diagnostics
- ping [IP] β Test connectivity to another host
- tracert [IP] β Trace the route packets take to a host
- nslookup [domain] β Query DNS records for a domain
- netstat -an β Display active network connections and listening ports
π MAC & ARP
- arp -a β Show ARP cache (IP-to-MAC mapping)
- getmac β View MAC addresses of network interfaces
π Host Info & Sharing- hostname β Display the deviceβs hostname
- net use β Connect to shared network resources
- net share β List shared folders and resources
π Service Management
- net start β Display running services
- net stop β Stop a specific Windows service
- netsh β Advanced command to configure network settings