A router may create or maintain a table of the available routes and their conditions and use this information along with distance and cost algorithms to determine the best route for a given packet.
路由器可以创建或维护一个包含可用路由及其状态的路由表,同时根据这些信息,利用距离和成本算法为数据包选择最佳路由。
IP addresses route a packet across the whole global Internet, while MAC addresses help the packet make the small, local hop between hardware devices.
IP地址在整个全球因特网中路由数据包,而MAC地址则帮助数据包在两个硬件设备间做狭小的局部的传递。
If the route table lookup shows that the packet is destined for a non-local subnet, the router forwards the packet to the next-hop router using the next-hop router's MAC address.
如果查找路由表显示包的目的地不在本地子网,路由器就利用下一跳路由器的MAC地址把包转发给下一跳路由器。
应用推荐