一、静态路由的配置下边实验对该拓扑图进行配置实验目标:配置静态路由,实现全网互通1、配置路由器R1进入接口f0/0,配置IP,并开启。进入接口f0/1,配置IP,并开启。设置静态路由。conf tint f0/0ip address 192.168.20.1 255.255.255.0no shutint f0/1ip add 192.168.10.1 255.255.255.0no shutexitip route 192.168.30.0 255.255.255.0 192.168.20.2查看PC1的路由表do show ip route2、配置路由器R2进入接口f0/0,配置IP,并开启。进入接口f0/1,配置IP,并开启。设置静态路由。conf tint f0/0ip address 192.168.20.2 255.255.255.0no shutint f0/1ip add 192.168.30.1 255.255.255.0no shutexitip route 192.168.10.0 255.255.255.0 192.168.20.1查看PC2的路由表do show ip route3、配置PC1的IP地址和网关ip 192.168.10.10 192.168.10.14、配置PC2的IP地址和网关ip 192.168.30.30 192.168.30.15、测试PC1,PC2之间的互通情况。ping 192.168.10.106设置R1的路由模式为默认路由
7、查看PC1\PC2 的连接情况