- •Лабораторная работа №1 Основные конфигурации маршрутизатора
- •Лабораторная работа №2 Расширенные конфигурации маршрутизатора
- •Лабораторная работа №3 cdp
- •Лабораторная работа №4 telnet
- •Лабораторная работа №5 tftp
- •Лабораторная работа №6 rip
- •Лабораторная работа №7
- •Лабораторная работа №8. Eigrp
- •Лабораторная работа №9 ospf
- •Лабораторная работа №10 Каталист – конфигурация переключения
- •Лабораторная работа №11
- •Лабораторная работа №12 Конфигурация свитча
- •Лабораторная работа №13
- •VlaNs и Магистраль для 2950 свитча
- •Лабораторная работа №14 Списки доступа ip
- •Лабораторная работа №15 nat/pat
- •Лабораторная работа №16 ррр и снар
- •Лабораторная работа №17.
Лабораторная работа №7
IGRP
Роутер1:
Press Enter to Starе
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Bri0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0, changed state to up
router1(config-line)#
router1(config-line)#exit
Отключаем Rip на всех маршрутизаторах, проверить всегда можно с помощью команды показа ip протоколов.
router1(config)#no router rip
router1(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
router1#show ip protocols
router1#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Включаем IGRP на маршр. 1
router1(config)#router igrp 200
router1(config-router)#network 160.10.0.0
router1(config-router)#network 175.10.0.0
router1(config-router)#
router1(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Отладка ip igrp событий, и отладка команды сделок. Обе команды используются, чтобы показать периодические IGRP направлялющие модификации, посылаемые и полученные маршрутизатором.
router1#debug ip igrp events
IGRP event debugging is on
IGRP: received update from 175.10.1.2 on Serial0
IGRP: Update contains 0 interior, 3 system, and 0 exterior routes.
IGRP: Total routes in update: 3
IGRP: sending update to 255.255.255.255 via Serial0 (175.10.1.1)
IGRP: Update contains 0 interior, 1 system, and 0 exterior routes.
IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Ethernet0 (160.10.1.1)
IGRP: Update contains 0 interior, 4 system, and 0 exterior routes.
IGRP: Total routes in update: 4
router1#debug ip igrp transactions
IGRP protocol debugging is onIGRP: received update from 175.10.1.2 on Serial0
network 197.10.1.0, metric 651 (neighbor 1)
network 180.10.1.0, metric 651 (neighbor 1)
network 195.10.1.0, metric 1040 (neighbor 821)
IGRP: received update from 175.10.1.2 on Serial0
IGRP: Update contains 0 interior, 3 system, and 0 exterior routes.
IGRP: Total routes in update: 3
IGRP: sending update to 255.255.255.255 via Serial0 (175.10.1.1)
IGRP: Update contains 0 interior, 1 system, and 0 exterior routes.
IGRP: Total routes in update: 1
IGRP: sending update to 255.255.255.255 via Serial0 (175.10.1.1)
subnet 160.10.1.0, metric=1
IGRP: sending update to 255.255.255.255 via Ethernet0 (160.10.1.1)
IGRP: Update contains 0 interior, 4 system, and 0 exterior routes.
IGRP: Total routes in update: 4
IGRP: sending update to 255.255.255.255 via Ethernet0 (160.10.1.1)
subnet 175.10.1.0, metric=1
subnet 180.10.0.0, metric=296
subnet 197.10.1.0, metric=296
subnet 195.10.1.0, metric=296
Роутер 2:
Аналогично 1
%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-3-UPDOWN: Interface Bri0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0, changed state to up
router2(config-line)#exit
router2(config)#no router rip
router2(config)#router igrp 200
router2(config-router)#network 160.10.0.0
Роутер3:
Аналогично 1
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up
router3(config-router)#
router3(config-router)#exit
router3(config)#no router rip
router3(config)#router igrp 200
router3(config-router)#network 175.10.0.0
router3(config-router)#network 180.10.0.0
router3(config-router)#network 197.10.1.0
роутер 4:
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
router4(config-router)#
router4(config-router)#exi
router4(config)#no router rip
router4(config)#rout
router4(config)#route igrp 200
router4(config-router)#network 180.10.0.0
router4(config-router)#network 195.10.1.0
router4(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Отобразите динамические протоколы маршрутизации, которые выполняются на маршрутизаторе 4.
router4#show ip protocols
Routing Protocol is "igrp 200"
Sending updates every 90 seconds, next due in 61 seconds
Invalid after 270 seconds, hold down 280, flushed after 630
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
IGRP maximum hopcount 100
IGRP maximum metric variance 1
Redistributing: igrp 200
Routing for Networks:
180.10.0.0
195.10.1.0
Routing Information Sources:
180.10.1.1 100 00:00:06
Distance: (default is 100)
Таблица маршрутизации IP на роутер 4
router4#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
180.10.0.0/24 is subnetted, 1 subnets
C 180.10.1.0 is directly connected, Serial0
C 195.10.1.0 is directly connected, Ethernet0
I 175.10.0.0 [100/651] via 180.10.1.1, 00:09:20, Serial0
I 197.10.1.0 [100/651] via 180.10.1.1, 00:02:23, Serial0
I 160.10.0.0 [100/1040] via 180.10.1.1, 00:05:30, Serial0
Пинг к маршр 1 и маршр 2
router4#ping 175.10.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 175.10.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
router4#ping 160.10.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 160.10.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Так как команды пинг выполнились успешно, значит , что IGRP сконфигурированы правильно на всех маршрутизаторах.