Linux#

  • List all network interfaces
ip link
ip a
  • Default gateway? Next hop?
route
  • Other IP?
arp -a
  • DNS server?
cat /etc/resolv.conf
  • Non-standard domain names?
cat /etc/hosts

Windows#

  • All network interfaces
ipconfig /all

List all IP in arp table

arp -a

List routing table

route print