If you want to determine the IP address of the
from which a Mac
OS X system received its IP address,
mask, etc., you can obtain that information from a
command-line interface (CLI), i.e., a
Terminal window by using the command
interface where interface is the relevant network
interface, which will usually be
You can issue the command
ifconfig -a in a Terminal
window to see the network interfaces on the system and which have
IP addresses assigned to them.
Prints to standard output the DHCP/BOOTP packet that the client accepted from the DHCP/BOOTP server. This command is useful to check what the server provided, and whether the values are sensible. This command outputs nothing if DHCP/BOOTP is not active on the interface, or the attempt to acquire an IP address was unsuccessful.
[ More Info ]