How to change MAC address
2018-03-02 10:47
302 查看
Changing MAC address of a machine is called spoofing a MAC address or faking a MAC address. In linux, you can change MAC address of your machine.This is how it is done.
$ ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:80:48:BA:d1:20
The hexadecimal numbers in blue denote my machine's MAC address. Yours will be different. Learn how to use the ifconfig Linux command.
You can also use
Next, login as root in Linux and enter the following commands -
# ifconfig eth0 down
# ifconfig eth0 hw ether 00:80:48:BA:d1:30
# ifconfig eth0 up
# ifconfig eth0 |grep HWaddr I have changed the MAC address to a different number highlighted in blue.
To ensure interoperability. Some internet service providers bind their service to a specific MAC address; if the user then changes their network card or intends to install a router, the service won't work anymore. Changing the MAC address of the new interface will solve the problem.
How to change MAC address in Linux
First find the physical MAC address of your machine by running the following command :$ ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:80:48:BA:d1:20
The hexadecimal numbers in blue denote my machine's MAC address. Yours will be different. Learn how to use the ifconfig Linux command.
You can also use
ethtoolto find the hardware address of your machine.
Next, login as root in Linux and enter the following commands -
# ifconfig eth0 down
# ifconfig eth0 hw ether 00:80:48:BA:d1:30
# ifconfig eth0 up
# ifconfig eth0 |grep HWaddr I have changed the MAC address to a different number highlighted in blue.
00:80:48:BA:d1:30is the new MAC address I have provided for my Linux machine. You can choose any 48 bits hexadecimal address as your MAC address.
Why you should change MAC address of your Linux machine
These are the reasons you should change the MAC address of your machine.For privacy - For instance when you are connecting to a Wi-Fi hotspot.To ensure interoperability. Some internet service providers bind their service to a specific MAC address; if the user then changes their network card or intends to install a router, the service won't work anymore. Changing the MAC address of the new interface will solve the problem.
Caveats to Changing MAC address
In Linux, Windows, Mac OS X, or a different operating system, changing MAC address is only temporary. Once you reboot your machine, the operating system reflects the physical MAC address burnt in your network card and not the MAC address you set.相关文章推荐
- How to change MAC address in windows 7
- How to change MAC address in windows 7
- How to change Intel WiFi Link 5100 AGN MAC addr(更改Intel WiFi Link 5100 AGN MAC地址)
- How to change CentOS IP address on a cloned VM
- How to install ruby on mac/ change ruby source in china
- How To Let Users Change Their Email Address in TheBeerHouse Starter Kit
- How to change IP address of your ESX Server
- How to got the Mac address from …
- HOWTO Change the Linux Kernel Start Address
- [Python] How to change python version for mac
- How to use the BAPI_BUPA_ADDRESS_CHANGE
- How do I change the FROM address to a friendly name?
- How to Retrieve Remote MAC Address Programmatically
- Java_How To Get MAC Address
- How to Change the Default Select Drop-Down List with CSS
- How to change text of CBA buttons?
- How to Do Everything: Mac
- How to install caffe in macOS 10.12.5
- How to change the price range in layered navigation in Magento? - See more at: http://www.expertweba