Networking Commands
Networking Commands
com
ifconfig /ifconfig -a
netstat
nbtstat -a computer_name
hostname
#systeminfo
arp -a
nslookup google.com
traceroute google.com
pingpath google.com
#getmac
route print/ route
#netdiag /v
dig codingninjas.com/ dig geeksforgeeks.org
ip addr show
ping google.com
Sends an ICMP echo request to google.com to check if the host is reachable and
measures the round-trip time.
ifconfig
Displays all active network connections and their statuses in numeric format
(showing IP addresses and port numbers).
nbtstat -a computer_name
Displays the ARP (Address Resolution Protocol) table, showing the mapping of IP
addresses to MAC addresses.
nslookup google.com
Traces the path packets take to reach google.com, showing each hop along the route.
pingpath google.com
(Windows-only) Displays the MAC addresses of the network interfaces on the local
machine.
route print
(Windows-only) Displays the routing table of the system, showing network routes and
their associated gateways.
netdiag /v