子网划分 192.168.1.0/24
骨干链路看作一段地址——划分6段 pc互联的地址看作一段——划分4段
骨干链路192.168.1.0/25 PC网段192.168.1.128/25
192.168.1.0/30 192.168.1.128/27
192.168.1.4/30 192.168.1.160/27
192.168.1.8/30 192.168.1.192/27
192.168.1.12/30 192.168.1.224/27
192.168.1.16/30
192.168.1.20/30
R1 IP地址配置如下:
静态路由
ip route-static 192.168.1.4 255.255.255.252 192.168.1.2
ip route-static 192.168.1.8 255.255.255.252 192.168.1.2
ip route-static 192.168.1.12 255.255.255.252 192.168.1.22
ip route-static 192.168.1.16 255.255.255.252 192.168.1.22
ip route-static 192.168.1.160 255.255.255.224 192.168.1.2
ip route-static 192.168.1.192 255.255.255.224 192.168.1.2
ip route-static 192.168.1.224 255.255.255.224 192.168.1.22
缺省地址
空接口防环
pc1