论文部分内容阅读
我们都知道局域网内的计算机是通过 MAC 地址通信的。PC 和另一台 PC 通讯,要先寻找对方的 IP地址,然后再通过主机中的 ARP 缓存表调出相应的 MAC 地址,通过 MAC 地址与对方通讯。也就是说在内网中各设备互相寻找用来通信的地址是 MAC 地址,而不是 IP 地址。但 ARP 缓存表有一个缺陷:局域网中任何一台机器都可以发送 ARP广播,来宣称自己的 IP 和自己的 MAC,这时收到的机器都会在自己的 ARP 缓存表中建立一个相应的 ARP 项,记录他的IP 和 MAC 地址,如果这个广播是错误的
We all know that computers in a LAN communicate through MAC addresses. PC and another PC communication, we must first look for each other’s IP address, and then through the host ARP cache table to bring up the corresponding MAC address, MAC address through communication with each other. In other words, each device in the network to find each other for communication address is the MAC address, not the IP address. But the ARP cache table has a flaw: any machine in the LAN can send ARP broadcast to declare its own IP and MAC, then the machine will receive in their own ARP cache table to create a corresponding ARP entry , Record his IP and MAC address, if this broadcast is wrong