Author Topic: Finding MAC address in CentOS..  (Read 543 times)

saroop

  • Green Belt
  • *****
  • Posts: 352
  • Karma: +0/-0
Finding MAC address in CentOS..
« on: August 29, 2013, 09:56:51 AM »
Hello,


Let me tell you how to find MAC(Media Access Control) or physical address in CentOS

Use the following command to find MAC

/sbin/ifconfig | grep -i hwaddr



Regards
Saroop Datasoft

hostmanmash

  • White Belt
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Finding MAC address in CentOS..
« Reply #1 on: September 13, 2013, 05:46:55 PM »
ifconfig command will shows tha MAC and IP address :)

mithundatasoft

  • Orange Belt
  • ***
  • Posts: 72
  • Karma: +0/-0
Re: Finding MAC address in CentOS..
« Reply #2 on: September 20, 2013, 09:07:08 AM »
Hai

Also we can use ip Command To Find Out Mac Address Under Linux

Most modern Linux distro prefer to use the ip command:
# ip addr show
# ip addr show eth0
# ip addr show eth1
# ip addr show bond0
Thanks