CCNA动手实验(一)创建静态路由

一 实验要求。

1.创建静态路由。

2.主机PC2可以Ping通PC0。

二 配置步骤。

(一)对每个路由进行基础配置,包括命名,远程登陆的密码等。以R1为例。

--- System Configuration Dialog ---Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#enable password 123
R1(config)#line console 0
R1(config-line)#password 123
R1(config-line)#login
R1(config-line)#exit
R1(config)#line vty ?<0-15>  First Line number
R1(config)#line vty 0 15
R1(config-line)#password 123
R1(config-line)#login
R1(config-line)#exit
R1(config)#banner motd #
Enter TEXT message.  End with the character '#'.
This is my R1 #

(二)对每个路由器的端口分配IP地址。

1.对R1各个端口进行配置

R1(config)#int g0/0
R1(config-if)#ip address 17