Traditional Culture Encyclopedia - Traditional stories - What is an ip address? What is a physical address? Briefly explain the differences and connections between them.

What is an ip address? What is a physical address? Briefly explain the differences and connections between them.

Contact: IP address can be bound with MAC address to identify the only computer on the network. At present, the way for computers to connect to the network is to establish a local area network first, and then connect to the network through a switch.

This requires that IP address and MAC address can be used together. Each user is assigned a fixed IP address first, and then marked with a MAC address, which can better protect the corresponding information on the computer.

Difference:

I. Different definitions

1, IP address: IP address refers to Internet protocol address, which is also translated into Internet protocol address.

2. Physical address: The physical address of the storage unit in the memory of the network card corresponds to the physical address, and the physical address corresponds to the logical address. The physical address of the network card is usually written by the network card manufacturer into the network card's EPROM (a flash memory chip that can usually be erased by a program), which stores the address that truly identifies the computer that sent the data and the host that received the data when transmitting the data.

Second, the agreement is different.

1, IP address: IP protocol is designed for computer networks to communicate with each other. In the internet, it is a set of rules that can make all computer networks connected with the internet communicate with each other, and stipulates the rules that computers should abide by when communicating on the internet. As long as it conforms to the IP protocol, any computer system produced by any manufacturer can be interconnected with the Internet.

2. Physical address: LAN identifies a networked computer or other equipment by assigning a hardware address to the network card. The so-called physical address refers to the address solidified in the network card EPROM, which must be unique in the whole network. The IEEE Registration Committee assigns the first three bytes of the physical address to each manufacturer, that is, the company logo.

The last three bytes are assigned by the manufacturer. The number of network cards with the first three byte addresses that a manufacturer can produce is 167772 16. The network card corresponds to a physical address.

Third, the use is different.

1, IP address: IP address is used to give a number to computers on the Internet. Every networked PC needs an IP address to communicate normally. We can compare "personal computer" to "a telephone", then "IP address" is equivalent to "telephone number", and the router in the Internet is equivalent to "program-controlled switch" of telecommunication bureau.

An IP address is a 32-bit binary number, which is usually divided into four "8-bit binary numbers" (four bytes). IP addresses are usually expressed as (a, b, c, d) in dotted decimal form, where a, b, c and d are decimal integers between 0 and 255.

Example: dotted decimal IP address 100.4.5.6 is actually a 32-bit binary 0100100005438+0006538+0.000000038.300005.

2. Physical address: In the process of physical transmission at the bottom of the network, the host is identified by the physical address, which is generally unique in the world. For example, the physical address size of the famous Ethernet card is 48bit, the first 24 bits are the manufacturer's number, and the last 24 bits are the network card number, such as 44-45-53-54-00-00, which is stored in the host interface in a machine-readable way.

Baidu encyclopedia -IP address

Baidu Encyclopedia-Physical Address