Home » Questions » Computers [ Ask a new question ]

In computer networks, when is a MAC address used and when is an IP Address used?

In computer networks, when is a MAC address used and when is an IP Address used?

MAC address and IP address are used to uniquely identify a computer. When is an IP address used and when is a MAC address used?

Asked by: Guest | Views: 249
Total answers/comments: 2
Guest [Entry]

"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 house intranet are part of the 192.168.2.x subnet, with IP addresses like 192.168.2.6 and 192.168.2.22. The router that connects my house to the Internet has the IP address 192.168.2.1. 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."
Guest [Entry]

"A MAC-Address and an IP-Address are two completely different things.

A MAC-Address is an Unique Identifier of the network interface (stored in the hardware), and the IP-Address is the assigned (from a router f.e.) network address within the network."