How does IP address and MAC address work in parallel?
If you want to send a letter, you need the recipient's address. The address is the identity feature that helps the postman know where the letter needs to be sent, so the address must be unique. Two houses cannot have the same address, otherwise there will be confusion.
The Internet works in the same way as postal services. Instead of sending mail, the device sends 'data packets', and the IP address or MAC address determines where the packets will come. Today's article will talk about how these two addresses work in tandem.
How does IP address and MAC address work in parallel?
- What is an IP address?
- What is MAC address?
- How does IP address and MAC address work in parallel?
- Benefits of MAC address
- Weakness of IP address and MAC address
What is an IP address?
For more information, please read the article: What is an IP address?
What is MAC address?
A MAC address identifies a unique "network interface" in a device. While the IP address is assigned by the ISP and can be reassigned when the device is connected or disconnected, the MAC address is attached to the physical adapter (adapter) and specified by the manufacturer.
The MAC address is a 12-digit string, where each digit can be any number from 0 to 9 or letters A to F. For easy reading, the string is divided into blocks. There are three popular formats, the first is the most popular and preferred:
- 68: 7F: 74: 12: 34: 56
- 68-7F-74-12-34-56
- 687.F74.123.456
The first 6 digits (called the 'prefix') represent the adapter manufacturer, while the last 6 digits represent the unique identifier for that particular adapter. The MAC address does not contain information about which network the device is connected to.
How does IP address and MAC address work in parallel?
IP addresses are used to transfer data from one network to another using TCP / IP. The MAC address is used to distribute data to the correct device on the network.
Suppose your name is 'John Smith'. Not enough to identify correctly because there are so many people with the same name. But what if we combine with your ancestors (ie 'producers')? You will be "John Smith, Edward's son, Edward is George's son, George is the son of ." All this information is enough to make the name 'John Smith' become unique. That is your MAC address.
If someone wants to send a package to you, he or she can't tell the post office to send it to "John Smith, Edward's son, Edward is George's son, George is the son of . " OK. Although it identifies the exact recipient as a friend, it will drive the post office crazy if it has to find you. That's why it is necessary to have a home address.
But the home address itself is not enough. Need both your home address and your name, otherwise you will receive the package but do not know if it is for you, your spouse, etc. The IP address is where you are, and the MAC address indicates Who are you.
How will this be in practice?
Your router / modem has a unique IP address (home address) specified by your ISP (postal service). The device connects to that router / modem (the person living in the house) has a unique MAC address (personal name). IP address receives data to the router / modem (mailbox), then the router / modem will forward to the appropriate device (recipient).
Benefits of MAC address
Here's how MAC filtering works on modern routers: You can ask the router to deny access to specific MAC addresses (for example, specific physical devices) or allow only a few. Certain MAC addresses connect.
You cannot do the same with IP addresses because routers assign internal IP addresses to devices when they connect and 'recycle' them when the device disconnects. That's why your smartphone may have an internal IP address of 192.168.0.1 in the morning but it becomes 192.168.0.3 when you get home from work. Blocking '192.168.0.1' will not make any sense.
Another convenient use for MAC addresses is to activate Wake-on-LAN. Ethernet adapters can accept a 'magic package' that makes the device 'awake', even if it is turned off. This magic package can be sent from anywhere on the same network, and the MAC address of the Ethernet receiver adapter is the way magic packages know where to go.
Weakness of IP address and MAC address
Do you remember how an IP address denotes a device's connection to an ISP? What if the second device connects to the device and the main channel in all web activity through that device? For the rest of the web, the operation of the second device seems to be the main device.
That's how you hide your IP address from others. Although there is nothing wrong with doing this, it can lead to security issues. For example, a malicious hacker hidden behind some proxies can make it difficult for authorities to track him.
Another risk is that IP addresses can be traced. You will be amazed at what someone can do only with your IP address.
And that is the potential problem of IP conflict, in which two or more devices share the same IP address. This mostly happens on an intranet, but with the growing shortage of IPv4 addresses, it may soon spread across the entire Internet.
For MAC addresses, there is really only one problem you need to know: It's easy to change the device's MAC address. This loses the purpose of the unique identifier specified by the manufacturer, because anyone can 'fake' another person's MAC address. It also makes features like MAC filters almost useless.
Any IP address and MAC address are useful and important, so they won't disappear anytime soon. Hopefully now that you understand what they are, how they work and why you need them.
If you have any questions or if you have any other tips or explanations, please share with us in the comment section below!
See more:
- How to find the IP address of another computer on the LAN
- How to change MAC addresses on Windows, Linux and MAC OS X
- Find IP address and MAC address
- About IPv6 address
You should read it
May be interested
- How to fix IP 169 address errorwhen you cannot connect to the internet and your computer seems to have an ip address starting with 169, the computer has an ip address error 169. this type of error occurs when a windows computer requests an ip address but does not receive.
- Understanding IP address 192.168.1.3192.168.1.3 is a private ip address, sometimes used on local networks. home networks, especially those with linksys broadband routers, often use this address along with other addresses in the range starting at 192.168.1.1.
- What is the IP address 192.168.1.5 used for?ip address 192.168.1.5 is considered a private ip address, and as such, users often find it the most on home networks with linksys broadband routers. however, other routers can also use it.
- What is an IP address?ip address (internet protocol ip) is the number of formats for a network hardware, devices that use ip addresses to communicate with each other over an ip-based network like the internet.
- How to insert 2 videos running parallel in 1 videovideo editing software and apps are appearing more and more, such as capcut, tiktok, or editing on computers, so dubbing 2 videos running in parallel in 1 video becomes much simpler. to get the desired video, combine 2 videos together to run in parallel at the same time, do the following.
- Learn about Public IP addresspublic ip address is the ip address that the home or business router receives from your isp. public ip addresses are mandatory for any publicly accessible network hardware, such as home routers or web hosting servers.
- Why is Localhost's IP address 127.0.0.1?127 is the last network number (network number) in network class a with subnet mask 255.0.0.0. address 127.0.0.1 is the first transfer address in the subnet. address 127.0.0.0 is not used because this is the address of the wired network.
- How to Determine the IP Address on a Macwhen a mac operating system computer connects to a network, it is assigned an address called an ip address (internet protocol address). an ip address has four character ranges separated by spaces, each with a maximum of three characters.
- Things you need to know about Private IP addressesprivate ip address (private ip) is the ip address reserved for internal use via a router or other network address translation (nat) device, completely isolated from external networks.
- Parallel installation of Windows 10 with Windows 7 or 8you want to experience the hot features on windows 10, but don't want to completely replace the current version of windows. therefore the best solution in this case is to install windows 10 in parallel with the existing windows version and below is how to do it.