实验三 配置EIGRP协议和OSPF协议实训三 EIGRP和单区域OSPF使用和配置
一 实验环境
2600系列路由器两台,交换机一台,PC机两台,console
线两条
二 实验目的
熟练掌握RIP,IGRP,EIGRP和OSPF四种路由协议的原理和配置
三 实验内容:
(1)EIGRP的配置
(2)单区域OSPF的配置
四 实训内容
(1)EIGRP的配置
Step 1 配置路由器
router1
Router>enable
Router#configure terminal
Router(config)#hostname ...
实训三 EIGRP和单区域OSPF使用和配置
一 实验环境
2600系列路由器两台,交换机一台,PC机两台,console
线两条
二 实验目的
熟练掌握RIP,IGRP,EIGRP和OSPF四种路由协议的原理和配置
三 实验内容:
(1)EIGRP的配置
(2)单区域OSPF的配置
四 实训内容
(1)EIGRP的配置
Step 1 配置路由器
router1
Router>enable
Router#configure terminal
Router(config)#hostname PARIS
PARIS(config)#enable secret class
PARIS(config)#line console 0
PARIS(config-line)#password cisco
PARIS(config-line)#login
PARIS(config-line)#line vty 0 4
PARIS(config-line)#password cisco
PARIS(config-line)#login
PARIS(config-line)#exit
PARIS(config)#interface serial 0/0
PARIS(config-if)#ip address 192.168.2.1 255.255.255.252
PARIS(config-if)#clock rate 64000
PARIS(config-if)#no shutdown
PARIS(config-if)#exit
PARIS(config-if)#interface loopback 0
PARIS(config-if)#ip address 192.168.0.2 255.255.255.0
PARIS(config-if)#exit
PARIS(config)#interface fastethernet 0/0
PARIS(config-if)#ip address 192.168.3.1 255.255.255.0
PARIS(config-if)#no shutdown
PARIS(config-if)#exit
PARIS(config)#ip host WARSAW 192.168.2.2 192.168.1.1
router2
Router>enable
Router#configure terminal
Router(config)#hostname WARSAW
WARSAW(config)#enable secret class
WARSAW(config)#line console 0
WARSAW(config-line)#password cisco
WARSAW(config-line)#login
WARSAW(config-line)#line vty 0 4
WARSAW(config-line)#password cisco
WARSAW(config-line)#login
WARSAW(config-line)#exit
WARSAW(config)#interface serial 0/0
WARSAW(config-if)#ip address 192.168.2.2 255.255.255.252
WARSAW(config-if)#no shutdown
WARSAW(config-if)#exit
WARSAW(config)#interface fastethernet 0/0
WARSAW(config-if)#ip address 192.168.1.1 255.255.255.0
WARSAW(config-if)#no shutdown
WARSAW(config-if)#exit
WARSAW(config)#ip host PARIS 192.168.2.1 192.168.3.1
Step 2 保存路由器上的配置文件
Paris#copy running-config startup-config
Destination filename [startup-config]? [Enter]
WARSAW#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Step 3 为PC配置正确的IP地址,子网掩码和缺省网关
连接到巴黎的PC
IP Address: 192.168.3.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.3.1
连接到华沙的PC
IP Address: 192.168.1.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1
Step 4 在路由器Paris上启动EIGRP
Paris(config)#router eigrp 101
Paris(config-router)#network 192.168.3.0
Paris(config-router)#network 192.168.2.0
Paris(config-router)#network 192.168.0.0
Paris(config-router)#end
Step 5 在路由器Warsaw上启动EIGRP
Warsaw(config)#router eigrp 101
Warsaw(config-router)#network 192.168.2.0
Warsaw(config-router)#network 192.168.1.0
Warsaw(config-router)#end
(2) OSPF的配置
Step 1 配置路由器
Router1
Router>enable
Router#configure terminal
router(config)#hostname BERLIN
BERLIN(config)#enable secret class
BERLIN(config)#line console 0
BERLIN(config-line)#password cisco
BERLIN(config-line)#login
BERLIN(config-line)#line vty 0 4
BERLIN(config-line)#password cisco
BERLIN(config-line)#login
BERLIN(config-line)#exit
BERLIN(config)#interface serial 0/0
BERLIN(config-if)#ip address 192.168.15.1 255.255.255.252
BERLIN(config-if)#clock rate 64000
BERLIN(config-if)#no shutdown
BERLIN(config-if)#exit
BERLIN(config)#interface fastEthernet 0/0
BERLIN(config-if)#ip address 192.168.1.129 255.255.255.192
BERLIN(configif)#no shutdown
BERLIN(config-if)#exit
BERLIN(config)#ip host ROME 192.168.0.1 192.168.15.2
Router2
Router>enable
Router#configure terminal
Router(config)#hostname ROME
ROME(config)#enable password cisco
ROME(config)#enable secret class
ROME(config)#line console 0
ROME(config-line)#password cisco
ROME(config-line)#login
ROME(config-line)#line vty 0 4
ROME(config-line)#password cisco
ROME(config-line)#login
ROME(config-line)#exit
ROME(config)#interface serial 0/0
ROME(config-if)#ip address 192.168.15.2 255.255.255.252
ROME(config-if)#no shutdown
ROME(config-if)#exit
ROME(config)#interface fastEthernet 0/0
ROME(config-if)#ip address 192.168.0.1 255.255.255.0
ROME(config-if)#no shutdown
ROME(config-if)#exit
ROME(config)#ip host BERLIN 192.168.1.129 192.168.15.1
Step 2 保存路由器上的配置文件
BERLIN#copy running-config startup-config
Destination filename [startup-config]? [Enter]
ROME#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Step 3 为PC配置正确的IP地址,子网掩码和缺省网关
连接到罗马的PC
IP Address: 192.168.0.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.0.1
连接到柏林的PC
本文档为【实验三 配置EIGRP协议和OSPF协议】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。