filmov
tv
Курс Cisco, Routing and Switching. Шаг 6 Динамическая маршрутизация, настройка протокола RIP
Показать описание
Рассматривается настройка протокола динамической маршрутизации RIP version 2 на маршрутизаторах от компании Cisco.
Пример настройки маршрутизатора R1:
R1(config)#do 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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 2 subnets
C 10.1.0.0 is directly connected, FastEthernet0/0
C 10.3.0.0 is directly connected, Ethernet0/0/0
C 192.168.10.0/24 is directly conne
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 10.1.0.0
R1(config-router)#network 10.3.0.0
R1(config-router)#network 192.168.10.0
R1(config-router)#do wr
Building configuration...
[OK]
R1(config-router)#do 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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.0.0 is directly connected, FastEthernet0/0
R 10.2.0.0 [120/1] via 10.1.0.2, 00:00:01, FastEthernet0/0
[120/1] via 10.3.0.2, 00:00:03, Ethernet0/0/0
C 10.3.0.0 is directly connected, Ethernet0/0/0
C 192.168.10.0/24 is directly connected, FastEthernet0/1
R 192.168.20.0/24 [120/1] via 10.3.0.2, 00:00:03, Ethernet0/0/0
R 192.168.30.0/24 [120/1] via 10.1.0.2, 00:00:01, FastEthernet0/0
R 192.168.40.0/24 [120/1] via 10.1.0.2, 00:00:01, FastEthernet0/0
R 192.168.50.0/24 [120/1] via 10.3.0.2, 00:00:03, Ethernet0/0/0
R1(config-router)#
Пример настройки маршрутизатора R1:
R1(config)#do 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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 2 subnets
C 10.1.0.0 is directly connected, FastEthernet0/0
C 10.3.0.0 is directly connected, Ethernet0/0/0
C 192.168.10.0/24 is directly conne
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 10.1.0.0
R1(config-router)#network 10.3.0.0
R1(config-router)#network 192.168.10.0
R1(config-router)#do wr
Building configuration...
[OK]
R1(config-router)#do 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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.0.0 is directly connected, FastEthernet0/0
R 10.2.0.0 [120/1] via 10.1.0.2, 00:00:01, FastEthernet0/0
[120/1] via 10.3.0.2, 00:00:03, Ethernet0/0/0
C 10.3.0.0 is directly connected, Ethernet0/0/0
C 192.168.10.0/24 is directly connected, FastEthernet0/1
R 192.168.20.0/24 [120/1] via 10.3.0.2, 00:00:03, Ethernet0/0/0
R 192.168.30.0/24 [120/1] via 10.1.0.2, 00:00:01, FastEthernet0/0
R 192.168.40.0/24 [120/1] via 10.1.0.2, 00:00:01, FastEthernet0/0
R 192.168.50.0/24 [120/1] via 10.3.0.2, 00:00:03, Ethernet0/0/0
R1(config-router)#
Комментарии