'ping after change arp table manually
I have three vitual machines , suppose the IP of each machine is as follows:
- Machine A owns IP_A with MAC_A.
- Machine B owns IP_B with MAC_B.
- Machine C owns IP_C with MAC_C.
and these three machines are in a local area network . Now, I launch A and C, and ping A on C ,succeeds. Then, change the mapping of IP and MAC by
arp -s B MAC_A.
which results in a fake mapping . But when I ping B on C, it fails. Isn't it just sending the message to A directly based on the wrong mapping of IP and MAC?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
