[TCP/IP] Network layer-ARP protocol

little bottle
Release: 2019-04-16 09:32:26
forward
3189 people have browsed it

Address Resolution Protocol, or ARP (Address Resolution Protocol), is a TCP/IP protocol that obtains a physical address based on an IP address. The ARP protocol can convert a network layer address to any physical address, and from an IP address to a MAC address.

MAC address: physical address. Network card manufacturers must ensure that the MAC address is globally unique. It is 48-digit binary and displays 12-digit hexadecimal.

1. Check my own IP , my own IP and network address

##2. Ping other hosts on the LAN ping 10.235.173.16. At this time, the ARP protocol will convert the IP address to a mac address. There is In the cache, use the arp -a command to view

##3. Ping the external network, and the gateway mac address of my LAN will be saved

4. ARP spoofing: Spoofing the MAC address of other people’s network communication IP, so that the other party can find the mac address I specified, which is a data link layer failure

arp -s ip address mac address / /Set a static, arp binding, bind the mac address corresponding to the specified ip address, so that it cannot be deceived

arp -d Delete all caches

[Recommended courses:

TCP/IP video course

The above is the detailed content of [TCP/IP] Network layer-ARP protocol. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template