1、serial线对联,使用出口静态路由配置。
![](/img.php?b=https://iknow-pic.cdn.bcebos.com/f703738da9773912194dff39f7198618367ae27b?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
2、先配置R2路由器的loopback口地址,可以把loopback口理解成一个逻辑地址。
![](/img.php?b=https://iknow-pic.cdn.bcebos.com/0823dd54564e92589718fcb69382d158ccbf4ebd?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
3、配置R1路由器静态路由。
![](/img.php?b=https://iknow-pic.cdn.bcebos.com/a50f4bfbfbedab6495773798f836afc379311e64?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
4、配置R2静态路由。
![](/img.php?b=https://iknow-pic.cdn.bcebos.com/960a304e251f95ca8be5e8eec6177f3e67095251?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
5、配置R3静态路由。使用默认静态路由配置,使用8个0表示任意网段。R3(config)#ip route 0.0.0.0 0.0.0.0 192.168.23.1。
![](/img.php?b=https://iknow-pic.cdn.bcebos.com/a1ec08fa513d26978dd672055afbb2fb4316d865?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
6、查看R3路由表R3#show ip route static S* 0.0.0.0/0 [1/0] via 192.168.23.1。
![](/img.php?b=https://iknow-pic.cdn.bcebos.com/1f178a82b9014a9050543ce5a6773912b31bee04?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)