1. ifconfig -l (—list)

  2. a. ifconfig en0

    b. arp -a

  3. ifconfig en1 | grep broadcast

  4. netstat -nr | grep default | grep en0

  5. host who.int

  6. /etc/resolv.conf

  7. nslookup who.int 8.8.8.8

  8. First dig + short who.int

    then whois <that ip>

  9. dig +short 42.fr

  10. traceroute who.int

  11. nat (10.60.1.1) = NAT Server

  12. ipconfig getoption en0 server_identifier

  13. host $(ipconfig getifaddr en0)

  14. /etc/hosts

  15. write “46.19.122.85 intra.42.fr” to /etc/hosts