Summary of MAC address modification in Linux

Source: Internet
Author: User
Method 1: 1. disable ifconfigeth0down2. modify the MAC address ifconfigeth0hwetherMAC address 3. restart ifconfigeth0up or write the above content to/etc/rc. method 2 of permanent programming in local: Before modification...

Modify the MAC address in Linux
Method 1:
1. disable the Nic device
Ifconfig eth0 down
2. modify the MAC address
Ifconfig eth0 hw ether MAC address
3. restart the NIC
Ifconfig eth0 up
Or write the above content into/etc/rc. local.
Method 2:
You also need to stop the NIC before modifying it.
Very simple, just add the following sentence to./etc/sysconfig/network-scripts/ifcfg-eth0:
By's Soft .."

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.