1

In Ubuntu 14.04, when I run the command ifconfig | grep HWaddr to know the mac address of my computer, I find two MAC addresses, how is it possible?

zina@zina-HP-Pavilion-g4-Notebook-PC:~$ ifconfig | grep HWaddr
eth0      Link encap:Ethernet  HWaddr a4:5d:36:71:61:d9  
wlan0     Link encap:Ethernet  HWaddr 24:fd:52:e1:9b:4d  
Parto
  • 15,647

1 Answers1

6

MAC addresses belong to network adapters, not computers. Your computer has a wireless interface (wlan0) and a wired interface (eth0). Each has its own MAC address.

If you're connected to a wired network, the MAC address that everyone else sees is the first one. If you're on wireless, it's the second one.

Mark Smith
  • 1,313
  • 1
  • 11
  • 24