WWW FAQs: What's the difference between a MAC address and an IP address?

2005-08-18: MAC (Media Access Control) addresses uniquely identify Ethernet network cards (or PCs with built in Ethernet). Although it's true that every computer that uses Ethernet has a unique MAC address, not all Internet connections are made over Ethernet. Also, MAC addresses in a particular local network are not similar in any way, so one can't use them to decide that a particular machine is "nearby."

IP addresses uniquely identify computers on the Internet, or on a local intranet. Computers on the same local "subnet," such as those on a particular local network, will share part of their IP address. For instance, computers in my office intranet are part of the 192.168.2.x subnet, with IP addresses like and The router that connects our office to the Internet has the IP address That router also has a true Internet IP address, and performs NAT (Network Address Translation) to allow connections from computers inside my intranet to reach the outside world... but blocks incoming connections for security.

Legal Note: yes, you may use sample HTML, Javascript, PHP and other code presented above in your own projects. You may not reproduce large portions of the text of the article without our express permission.

Got a LiveJournal account? Keep up with the latest articles in this FAQ by adding our syndicated feed to your friends list!