CCNA实验之静态路由

时间:2026-02-16 13:17:24

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

CCNA实验之静态路由

2、为设备配置ip地址

R1:

en

conf t

int f0/0

ip add 10.1.12.1 255.255.255.0

no sh

int loo 0

ip add 1.1.1.1 255.255.255.0

no sh

exit

R2:

en

conf t

int f0/0

ip add 10.1.12.2 255.255.255.0

no sh

int f0/1

ip add 10.1.23.2 255.255.255.0

no sh

int loo 0

ip add 2.2.2.2 255.255.255.0

exit

R3:

en

conf t

int f0/0

ip add 10.1.23.3 255.255.255.0

no sh

int loo 0

ip add 3.3.3.3 255.255.255.0

exit

3、配置静态路由

R1:

ip route 2.2.2.0 255.255.255.0 10.1.12.2

ip route 10.1.23.0 255.255.255.0 10.1.12.2

ip route 3.3.3.0 255.255.255.0 10.1.12.2

R2:

ip route 1.1.1.0 255.255.255.0 10.1.12.1

ip route 3.3.3.0 255.255.255.0 10.1.23.3

R3:

ip route 2.2.2.0 255.255.255.0 10.1.23.2

ip route 10.1.12.0 255.255.255.0 10.1.23.2

ip route 1.1.1.0 255.255.255.0 10.1.23.2

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

CCNA实验之静态路由

© 2026 一点知道
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com