As OSX is based on UNIX you need to type in the following command from a terminal prompt

ifconfig -a

This has been tested on: OSX Mavericks, Yosemite, EL Capitan.  This command should also work for other versions of OSX

Please Note: This is a “QUICK SUPPORT” article. The information contained herein is provided as is. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice.