cisco配置三台静态路由

实验拓扑图
《cisco配置三台静态路由》
路由接口IP配置
第一台电脑网关
《cisco配置三台静态路由》
IP
《cisco配置三台静态路由》
第二台电脑网关
《cisco配置三台静态路由》
IP
《cisco配置三台静态路由》
图中route0配置过程:
enable
configure t
int f0/1
ip add 192.168.1.1 255.255.255.0
no shut
exit
int f0/0
ip add 192.168.2.1 255.255.255.0
no shut
图中route3配置过程:
enable
configure t
int f0/0
ip add 192.168.2.2 255.255.255.0
no shut
int f0/1
ip add 192.168.3.1 255.255.255.0
no shut
图中route2配置过程:
enable
configure t
int f0/0
ip add 192.168.3.2 255.255.255.0
no shut
int f0/1
ip add 192.168.4.1 255.255.255.0
no shut
三台路由器静态路由配置(重要)
对route0:
ip route 192.168.3.0 255.255.255.0 192.168.2.2
ip route 192.168.4.0 255.255.255.0 192.168.3.2
对route3:
ip route 192.168.1.0 255.255.255.0 192.168.2.1
ip route 192.168.4.0 255.255.255.0 192.168.3.2
对route2:
ip route 192.168.2.0 255.255.255.0 192.168.3.1
ip route 192.168.1.0 255.255.255.0 192.168.2.1
在每个路由中可用show ip route查看路由与谁相通
在route0中ping route2/3的接口
《cisco配置三台静态路由》
在route3中ping route2/0的接口
《cisco配置三台静态路由》
在route2中ping route0/3的接口
《cisco配置三台静态路由》
用主机0ping主机1的网关
《cisco配置三台静态路由》
用主机1ping主机0的网关
《cisco配置三台静态路由》
完成!

    原文作者:Depgas
    原文地址: https://blog.csdn.net/qq_51329608/article/details/122089525
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞