Wednesday, 24 January 2018

How many of you know what are MAC Address. Can we change them?

How to change MAC Addresses?

Each network interface connected to your network—whether it’s your router, wireless device, or network card in your computer—has a unique media access control (MAC) address. These MAC addresses—sometimes referred to as physical or hardware addresses—are assigned in the factory, but you can usually change the addresses in software.


Why MAC Addresses are used?

At the lowest networking level, network interfaces attached to a network use MAC addresses to communicate with one another. When a browser on your computer needs to grab a web page from a server on the Internet, for example, that request passes down through several layers of the TCP/IP protocol. The web address you type gets translated to the IP address of the server. Your computer sends the request to your router, which then sends it out onto the Internet. At the hardware level of your network card, though, your network card is only looking at other MAC addresses for interfaces on the same network. It knows to send the request to the MAC address of your router’s network interface.
 In addition to their core networking use, MAC addresses are often used for other purposes:
  •         Static IP Assignment: Routers allow you to assign static IP addresses to your computers. When a device connects, it always receives a specific IP address if it has a matching MAC address
  •          MAC Address Filtering: Networks can use MAC address filtering, only allowing devices with specific MAC addresses to connect to a network. This isn’t a great security tool because people can spoof their MAC addresses.
  •          MAC Authentication: Some Internet service providers may require authentication with a MAC address and only allow a device with that MAC address to connect to the Internet. You may need to change your router or computer’s MAC address to connect.
  •          Device Identification: Many airport Wi-Fi networks and other public Wi-Fi networks use a device’s MAC address to identify it. For example, an airport Wi-Fi network might offer a free 30 minutes and then ban your MAC address from receiving more Wi-Fi. Change your MAC address and you could get more Wi-Fi. (Free, limited Wi-Fi may also be tracked using browser cookies or an account system.)
  •          Device Tracking: Because they’re unique, MAC addresses can be used to track you. When you walk around, your smartphone scans for nearby Wi-Fi networks and broadcasts its MAC address. A company named Renew London used trash bins in the city of London to track people’s movements around the city based on their MAC addresses. Apple’s iOS 8 will use a random MAC address each time it scans for nearby Wi-Fi networks to prevent this sort of tracking.

Bear in mind that each network interface has its own MAC address. So, on a typical laptop with both a Wi-Fi radio and a wired Ethernet port, the wireless and wired network interface each have their own unique MAC addresses.
MAC Address

Change a MAC Address in Windows

Most network cards allow you to set a custom MAC address from their configuration panes in the Device Manager, although some network drivers may not support this feature.
First, open the Device Manager. On Windows 8 and 10, press Windows+X, and then click “Device Manager” on the Power User menu. On Windows 7, press the Windows key, type “Device Manager” to search for it, and then click the “Device Manager” entry. The Device Manager app will look the same no matter which version of Windows you’re using.
In Device Manager, under the “Network adapters” section, right-click the network interface you want to modify, and then select “Properties” from the context menu.
In the properties window, on the “Advanced” tab and select the “Network Address” entry in the “Property” list. If you don’t see this option, then your network driver doesn’t support this feature.
Enable the Value option and type your desired MAC address without any separating characters—don’t use dashes or colons. Click “OK” when you’re done.

Change MAC Address in LinuxOS.

 Use the following commands on terminal
  1. #ifconfig eth0 down
  2. #ifconfig eth0 hw ether 00:80:48:BA:d1:30{your desired MAC Address}
  3. #ifconfig eth0 up
  4. #ifconfig eth0 | grep HWaddr



0 comments:

Post a Comment