CCNA实验之静态路由

2025-06-26 08:09:06

1、首先搭建实验拓扑,如下图所示。

CCNA实验之静态路由

2、为设备配置ip地址R1:enconf tint f0/0ip add 10.1.12.1 255.255.255.0no shint loo 0ip add 1.1.1.1 255.255.255.0no shexitR2:enconf tint f0/0ip add 10.1.12.2 255.255.255.0no shint f0/1ip add 10.1.23.2 255.255.255.0no shint loo 0ip add 2.2.2.2 255.255.255.0exitR3:enconf tint f0/0ip add 10.1.23.3 255.255.255.0no shint loo 0ip add 3.3.3.3 255.255.255.0exit

3、配置静态路由R1:ip route 2.2.2.0 255.255.255.0 10.1.12.2ip route 10.1.23.0 255.255.255.0 10.1.12.2ip route 3.3.3.0 255.255.255.0 10.1.12.2R2:ip route 1.1.1.0 255.255.255.0 10.1.12.1ip route 3.3.3.0 255.255.255.0 10.1.23.3R3:ip route 2.2.2.0 255.255.255.0 10.1.23.2ip route 10.1.12.0 255.255.255.0 10.1.23.2ip route 1.1.1.0 255.255.255.0 10.1.23.2

4、以上,静态路由的简单配置基本就完成了,下面做一下测试。这里我给出了从R1上ping3.3.3.3的命令,大家可以在测试一下其他的,验证目前已经全网全通。

CCNA实验之静态路由
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢