It would allow you to use a gateway knowing only its MAC and not its IP address, but that is a very uncommon scenario. If you really wanted to bypass the ND/ARP step the way you could do it is by manually creating an entry in the ND/ARP cache and use that. The reason it isn't directly supported is that the standard way of doing things happens to be more useful. Finally, run arp -a and find the gateway IP. Though bypassing the ND/ARP step is possible, it is not directly supported by much software. on Windows, run ipconfig /all on a command line to see the IP address of your gateway. The mapping from IP address to MAC address can change, for example if you have redundant gateways. It may seem redundant, but remember that every time a layer of indirection is introduced, it means there is something which can be changed (more or less dynamically) for added flexibility. In that case the gateway IP address would only be used for ND or ARP. This is the actual hardware address that the lowest. So using the IP address for that could be avoided if you really wanted to. Every network interface has a MAC address (Media Access Controller) also known as the physical address. There are other ways to specify which network interface a routing table entry is used for. And after that the gateway IP address is used for ND or ARP to learn the MAC address of the destination. When a routing table entry is created the gateway IP address is used to decide which network interface the packets have to be send on.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |