DCANet Logo
Mac Address
Windows
Mac (Pre-OSX)
Unix/Linux/Mac OSX

DCANet

(888) 4-DCANET
Contact Us!

 

Services
Support
About Us
Contact Us

Home > Technical Support > DSL Support > MAC Address > Unix/Linux/Mac OSX

The easiest way to find your ethernet hardware address in a *nix like operating system is to use the ifconfig command. Open up a terminal or shell window and run ifconfig. Example outputs are below.

You may need to specify the entire path to ifconfig to get the information you are looking for. If you can not find ifconfig try "locate ifconfig". The examples below have the MAC address highlighted. Be sure to record the MAC address of your ethernet interface. The loopback ("lo") interface is a virtual internal address that cannot be bound to an IP.

Linux

bash% /sbin/ifconfig -a

eth0:

Link encap:Ethernet HWaddr 00:A0:C9:D5:A5:48
inet addr:10.16.1.7 Bcast:10.16.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6567474 errors:0 dropped:0 overruns:0 frame:0
TX packets:5819193 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4102207348 (3.8 GiB) TX bytes:838733328 (799.8 MiB)
Interrupt:10

lo:

Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:403163 errors:0 dropped:0 overruns:0 frame:0
TX packets:403163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20166974 (19.2 MiB) TX bytes:20166974 (19.2 MiB)

top


Mac OSX

bash% ifconfig

lo0:

flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>
mtu 16384 inet 127.0.0.1 netmask 0xff000000

en0:

flags=8863<UP,BROADCAST,b6,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.16.1.27 netmask 0xffff0000
broadcast 10.16.255.255
ether 00:50:e4:90:eb:26
media: autoselect (10baseT/UTP <half-duplex>)
status: active
supported media: none
autoselect 10baseT/UTP <half-duplex>
10baseT/UTP <full-duplex>
100baseTX <half-duplex>
100baseTX <full-duplex>

top


UNIX

bash% ifconfig

exp0:

flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
link type ether 0:a0:c9:9b:e:a9 mtu 1500 speed 100Mbps
media 100baseTX
full_duplex status active
inet 192.168.1.23
netmask 255.255.255.0
broadcast 192.168.1.255
inet6 fe80::2a0:c9ff:fe9b:ea9%exp0 prefixlen 64 scopeid 0x0001

lo0:

flags=8009<UP,LOOPBACK,MULTICAST>
link type loop mtu 4352
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x0002
inet 127.0.0.1
netmask 255.0.0.0

top

 

HOME | WEBMAIL | NETWORK STATUS | SERVICES | SUPPORT | ABOUT US | CONTACT US
Privacy Policy/Copyright
Copyright © 1994-2024 DCANet is a division of Consult Dynamics Inc.