Skip to content

Useful Commands

Useful Commands for Networking

  • ipconfig (Windows)/ifconfig (Unix) - display network interfaces and related information - IP address, subnet mask, and default gateway.
  • arp -a (Windows/Unix)- Show the Address Resolution Protocol (ARP) table - the mapping of IP addresses/MAC addresses.
    • ip neigh show - Equivalent command.