Summary: MAC and IP addresses are both key components to network, but they serve different purposes, and are visible in very different ways.
What is the difference between a Mac Address and an IP Address? Are both traceable back to your computer? And can you hide them? If by hiding them is your computer safer from hackers. Also, are the free versions as good as the ones you buy?
•
Well, the last one is easy to answer: there's no concept of free versus paid IP or MAC addresses. As you'll see in a moment, IP addresses are assigned as part of connecting to a network, and MAC addresses are assigned at the time hardware is manufactured.
Even hiding a MAC or IP address is a concept that doesn't quite apply, but we'll get in to that too.
And whether MAC or IP addresses are hidden or not, if you connect to a network these are not the kind of things you should be spending your time worrying about to stay safe from hackers.
•
A MAC (or Machine Access Control) address is best thought of as a unique serial number assigned to every network interface on every device. And by unique, I do mean unique; no two network cards anywhere should have the same MAC address.
You can see your network interfaces MAC addresses using the command prompt in Windows XP using ipconfig /all:
Ethernet adapter Local Area Connection 2:
.
.
Physical Address. . . . . . . . . : 00-1D-60-2F-4B-39
Each network adapter on your computer will have one.
MAC addresses are typically used only to direct packets in the device-to-device portion of a network transaction. That means that your computer's MAC address will be in network packets only until the next device in the chain. If you have a router, then your machine's MAC address will go no further than that. Your router's MAC address will show up in packets sent further upstream, until that too is replaced by the MAC address of the next device - likely either your modem or your ISP's router.
So your MAC address doesn't make it out very far. Even if someone knows your MAC address, that knowledge certainly doesn't help anyone do anything either good or bad.
•
An IP address is assigned to every device on a network so that device can be located on the network. The internet is just a network after all, and every device connected to it has an IP address so that it can be located. The server that houses Ask Leo!, for example, is at 72.3.133.152. That number is used by the network routing equipment so that when you ask for a page from the site, that request is routed to the right server.
The computers or equipment you have connected to the internet are also assigned IP addresses. If you're directly connected, your computer will have an IP address that can be reached from anywhere on the internet. If you're behind a router, that router will have that internet-visible IP address, but it will then set up a private network that your computer is connected to, assigning IP addresses out of a private range that is not directly visible on the internet. All internet traffic must go through the router, and will appear on the internet to have come from that router.
•
Metaphors are always a tad difficult, but let's try this:
An IP Address is kind of like your postal address. Anyone who knows your postal address can send you a letter. That letter may travel a simple or complex route to get to you, but you don't care as long as it makes it.
The same is true of packets of data traveling on a network like the internet. The IP address indicates where a packet is destined, and the system takes care of getting it there. A letter may or may not also have a return address so you know who to write back to - a TCP/IP address always has a return IP address.
A router can perhaps be thought of as a company's mail room. You may send a letter to "Complaint Department, Some Big Company, Some Big Company's Address". The postal service will get that letter to the company. The company then notes that the letter needs to go to the complaint department, and routes it there using inter-office mail. And of course, all your outgoing mail is picked up by the inter-office mail courier and routed to the external postal service as needed.
When you're behind a router the same thing sort of happens - all of the packets destined for you are actually addressed to your router. It's the router that then determines which of your computers that packet might be meant for, and routes the packet appropriately.
In both cases - corporate mail room or networking router - the actual physical location of your office or the actual local IP address of your computer is not visible to the outside world.
A MAC Address is kind of like the color, size and shape of your physical mail box. It's enough that the postal carrier (your network router) can identify it, but it's unique to you, there's no reason that anyone other than your postal carrier might care what it is, and you can change it by getting a new mailbox (network card) at any time and slapping your name (IP address) on it without affecting your delivery.
As I said, it's not a perfect metaphor, but perhaps it'll help get some of the basic concepts across.
•
Finally, a word about staying safe from hackers.
MAC addresses aren't part of the discussion, simply because they never travel beyond your local network, and they can't be hidden as they're simply required for networking to work. Many network adapters allow you to override the MAC address, but even so it still identifies your computer on the local network.
IP addresses are also required for networking to work. The network has to know what computer to send data to. You can, in many cases, use things like anonymization services and the like to appear to be coming from a different IP address, but that doesn't change the fact that your machine is still reachable by some IP address.
Merely being connected to the internet, by whatever address you happen to use, requires that you take steps to stay safe. There's ultimately no way to completely "hide" your IP address without disconnecting from the network. What you should be doing are the classical steps to internet safety: get behind a router, keep your system up to date, run anti-malware scans, backup regularly and so on.
Since I know it'll come up, and as I've discussed over and over and over and over again, an IP address does not allow someone to find out your physical location or identity without law enforcement intervention. Similarly, you cannot find out someone else's physical location or identity without involving the authorities.
Related:
Do I need a firewall, and if so, what kind? Firewalls are a critical component of keeping your machine safe on the internet. There are two basic types, but which is right for you?
Internet Safety: How do I keep my computer safe on the internet? Internet Safety is difficult and yet critical. Here are the seven key steps to internet safety - steps to keep your computer safe on the internet.
How is my IP address assigned? Every device on an TCP/IP network must have a unique IP address. IP addresses are assigned, either automatically by DHCP, or by manual configuration.
Getting all worked up over IP tracing How far can people really get with an IP address?
Article C3456 - July 24, 2008
For how long the MAC Address remains stored in the router's memory?
23-Jul-2009
Posted by: Jason Scully at July 23, 2009 5:20 AM
Dear sir,
Posted by: shubham at August 21, 2009 10:07 AMThe ip address at any given time in the internet is unique to a host. if so then why is mac address even required?
can't ip address be used to recognise the host inside the network too?
I think that mac address & ip addrss is same but from this i know the difference. Nice to share this info. I usually found one site to find the ip address from http://www.ip-details.com/ to get the ip address.
Posted by: sachin at September 4, 2009 11:56 PMDear Leo,
this information is really very valuable.
I have a keen interest in network security methods in current times and I wanted to ask something to clarify some things for myself ...
I have a system that connects to a router which further connects to my modem.
when i do ipconfig/all, i get the mac address of my ethernet port, not the router or modem, which i can check using the interface for the respective device. if my understanding is correct, my mac address does not go past the router, coz it changes there to the address of the router which further changes to the address of the modem and so on ...
however, at the site "http://www.ipaddresslocation.org/find-mac-address.php" it uses java to find the mac address of my ethernet card.
this is what brings me to my question... as you said, "So your MAC address doesn't make it out very far. Even if someone knows your MAC address, that knowledge certainly doesn't help anyone do anything either good or bad." just as the site used java to find my original mac address, can't a similar process be applied to trace a person/machine's location on the internet.
Posted by: Abhishek at October 5, 2009 11:52 PMalso, there are proxy service providers, both free and paid softwares, that change the external ip address of a machine. in theory, is ip address tracking the only professional way of tracing a person/machine's original address?
my understanding is that the sender's ip is included in the chat/email/post that is received at the other end, and these proxy servers/softwares change that header info to keep it anonymous. i know legal intervention is required, but is the packet info that contains the IP address the only way of tracing the origin or does it also have mac address info of the originating machine/person?
Please help me understand this better.
Thanks in advance.
Best Regards.
Please be clear...we are trying to trace an e mail...we have an IP...probably a public access point...now we want to try to find the mAC address of the computer that sent that mail from that public connection??? Is it possible? Does the router retain that address? This access point was used to access a hushmail account and that account send the mail we are interested in tracing.
09-Oct-2009
Posted by: Steve at October 8, 2009 6:49 PM