Reset Search
 

 

Article

How to find the network information on an MAC OS X client

« Go Back

Information

 
TitleHow to find the network information on an MAC OS X client
Objective
  • To find out the IP and hardware address of MAC.
  • To get the IP address of the DHCP server from a MAC.
  • To find out where the MacIntosh is getting its IP address.
Environment
  • OSX
  • OS X
  • MacIntosh
  • DHCP
Procedure
To determine the hardware address and the ip of the wired interface, use
ifconfig en0

Typical output
eq7~ $ ifconfig en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
	ether 0c:4d:e9:b2:59:b0 
	inet6 fe80::e4d:e9ff:feb2:59b0%en0 prefixlen 64 scopeid 0x4 
	inet 10.0.0.135 netmask 0xffffff00 broadcast 10.0.0.255
	nd6 options=1<PERFORMNUD>
	media: autoselect (1000baseT <full-duplex>)
	status: active

To determine the DHCP server for the interface
eq7~ $ipconfig getoption en0 server_identifier 

10.0.0.1 (output)

 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255