图22.3特定主机方法与特定网络方法 Routing table for host S based on host-specific method Destination Next hop Routing table for host S based A R1 on network-specific method 6 R1 R1 Destination Next hop D R1 N2 R1 N1 N2 R1 22.6
22.6 图 22.3 特定主机方法与特定网络方法
图22.4默认方法 Destination Next hop N2 R1 Routing table Any other R2 for host A Host A R1 N1 N2 Default R2 router Rest of the Internet 22.7
22.7 图 22.4 默认方法
图22.5无类地址简化的转发模块 Forwarding module Mask Network Next-hop (/n) address Interface address Extract Packet Search destination 年年来0年中年 泰年中市 年年中0卡用 table address ee年ee 14* Next-hop address 年年串 4 and interface number To ARP 22.8
22.8 图 22.5 无类地址简化的转发模块
注意 在无类寻址中,一个路由表至少要有4列 22.9
22.9 在无类寻址中,一个路由表至少要有4列 注意
例22.1 利用图2.6的网络配置,做出R1的路由表 解:表22.1是相应的路由表。 180.70.65.128/25 180.70.65.135/25 m0 201.4.16.0/22 201.4.22.0/24 201.4.16.2/22 201.4.22.3/24 m2 R1 180.70.65.194/26 180.70.65.192/26 180.70.65.200/26 Rest of the Internet 22.10
22.10 利用图22.6的网络配置,做出R1的路由表 例 22.1 解:表22.1是相应的路由表