0

How do I find my MAC address on RHEL 7.3? When I ran ifconfig -a | grep HWaddr, nothing showed. It's an EC2 instance, if that means any deviation from the norm.

4

The command ip link shows the MAC address on all interfaces.

  • is it the link/ether field under eth0? – amphibient Feb 8 '17 at 16:05
  • 1
    Yes, that is the MAC address. If it is not applicable, like for the loopback interface, 00:00:00:00:00:00 is shown instead. – Johan Myréen Feb 8 '17 at 17:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.