Skip to content

Instantly share code, notes, and snippets.

@metafeather
Created October 6, 2009 12:24
Show Gist options
  • Save metafeather/202962 to your computer and use it in GitHub Desktop.
Save metafeather/202962 to your computer and use it in GitHub Desktop.
# According to the manual page for ipconfig, this command appears to be unique to Mac OS X.
# The command will display a bunch of useful info, including:
# - server_identifier (ip): That's your DHCP server's IP address.
# - yiaddr: Your machine's IP address.
# - chaddr: Your machine's MAC address.
# - domain_name_server: Your domain name server(s).
ipconfig getpacket en0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment