Файл: Курсовая работа технологии пакетной коммутации Выполнила стка гр. Иктп23 Соломатникова Р. В. Проверила Ротенштейн И. В.docx

ВУЗ: Не указан

Категория: Курсовая работа

Дисциплина: Не указана

Добавлен: 22.11.2023

Просмотров: 187

Скачиваний: 10

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.
Федеральное агентство российской федерацииФедеральное государственное образовательное бюджетное учреждение высшего профессионального образованияПоволжский государственный университет телекоммуникаций и информатикиКафедра Систем связиСдан на проверку Допустить к защите «___»__________ 2016 г. «___»__________ 2016 г.Защищена с оценкой«___»__________ 2016 г.КУРСОВАЯ РАБОТАТехнологии пакетной коммутацииВыполнила ст-ка гр. ИКТп-23 Соломатникова Р.В. Проверила: Ротенштейн И.В.Самара 2016 РецензияВариант 19Использованы: маршрутизаторы серии 2911, коммутаторы – серии 2960.Каждый маршрутизатор имеет последовательный интерфейс HWIC-2T (serial s0/3/0 и serial s0/3/1).Рис.1. Схема сетиПараметры сетей:

19

RIP

Сеть 1

Сеть 2

Сеть 3

Сеть 4

Адрес сети


192.168.30.8/29

172.16.10.128/28

10.1.20.0/27

172.16.10.62/27

Маска подсети

255.255.255.248

255.255.255.240

255.255.255.224

255.255.255.224

Адрес шлюза


192.168.30.9

172.16.10.129

10.1.20.1

172.16.10.33

Диапазон

192.168.30.10– 192.168.10.14


172.16.10.130– 172.16.10.142

10.1.20.2– 10.1.20.30

172.16.10.34 – 172.16.10.62

Широковещательный

адрес

192.168.30.15

172.16.10.143

10.1.20.31

172.16.10.63
Сеть 5 имеет адрес 200.5.5.0/30, сеть 6 – 200.5.5.4/30, сеть 7 – 200.5.5.8/30Конфигурирование основных параметров всех маршрутизаторов

  1. Маршрутизатор А:
Router>enRouter#conf tRouter(config)#hostname R-AR-A(config)#int g0/0R-A(config-if)#ip add 192.168.30.9 255.255.255.248R-A(config-if)#no shutdownR-A(config-if)#int s0/3/0R-A(config-if)#ip add 200.5.5.1 255.255.255.252
R-A(config-if)#clock rate 64000R-A(config-if)#no shutdown

  1. Маршрутизатор В:
Router(config)#hostname R-BR-B(config)#int g0/0R-B(config-if)#ip add 172.16.10.129 255.255.255.240R-B(config-if)#no shutdownR-B(config-if)#int s0/3/1R-B(config-if)#ip add 200.5.5.2 255.255.255.252R-B(config-if)#no shutdownR-B(config-if)#int s0/3/0R-B(config-if)#ip add 200.5.5.5 255.255.255.252R-B(config-if)#clock rate 64000R-B(config-if)#no shutdown

  1. Маршрутизатор С:
Router(config)#hostname R-CR-C(config)#int g0/0R-C(config-if)#ip add 10.1.20.1 255.255.255.224R-C(config-if)#no shutdownR-C(config-if)#int s0/3/1 R-C(config-if)#ip add 200.5.5.6 255.255.255.252R-C(config-if)#no shutdownR-C(config-if)#int s0/3/0R-C(config-if)#ip add 200.5.5.9 255.255.255.252R-C(config-if)#clock rate 64000R-C(config-if)#no shutdown

  1. Маршрутизатор D:
Router(config)#hostname R-DR-D(config)#int g0/0R-D(config-if)#ip add 172.16.10.33 255.255.255.224R-D(config-if)#no shutdownR-D(config-if)#int s0/3/1R-D(config-if)#ip add 200.5.5.10 255.255.255.252R-D(config-if)#no shutdownУстановка паролей на консоль, виртуальные линии, на вход и привилегированный режим.

  1. Маршрутизатор А:
R-A(config)#line con 0R-A(config-line)#password cis-1R-A(config-line)#loginR-A(config-line)#line vty 0 15R-A(config-line)#password cis-2R-A(config-line)#loginR-A(config-line)#exitR-A(config)#enable secret ciscoАналогично для маршрутизаторов B, C и D.Проверка конфигурации по командам showrunning-config.

  1. Маршрутизатор А:
R-A#sh run… interface GigabitEthernet0/0ip address 192.168.30.9 255.255.255.248duplex autospeed auto!interface Serial0/3/0ip address 200.5.5.1 255.255.255.252clock rate 64000!line con 0password cis-1login!line aux 0!line vty 0 4password cis-2loginline vty 5 15password cis-2login… R-A#

  1. Маршрутизатор В:
R-B#sh run… interface GigabitEthernet0/0ip address 172.16.10.129 255.255.255.240duplex autospeed auto!interface Serial0/3/0ip address 200.5.5.5 255.255.255.252clock rate 64000!interface Serial0/3/1ip address 200.5.5.2 255.255.255.252!line con 0password cis-1login!line con 0password cis-1login!line aux 0!line vty 0 4password cis-2loginline vty 5 15password cis-2login…R-B#

  1. Маршрутизатор С:
R-C#sh run… interface GigabitEthernet0/0ip address 10.1.20.1 255.255.255.224duplex autospeed auto!interface Serial0/3/0ip address 200.5.5.9 255.255.255.252clock rate 64000!interface Serial0/3/1ip address 200.5.5.6 255.255.255.252!line con 0password cis-1login!line con 0password cis-1login!line aux 0!line vty 0 4password cis-2loginline vty 5 15password cis-2login…R-C#

  1. Маршрутизатор D:
R-D#sh run…interface GigabitEthernet0/0ip address 172.16.10.33 255.255.255.224duplex autospeed auto!interface Serial0/3/1ip address 200.5.5.10 255.255.255.252!line con 0password cis-1login!line aux 0

!line vty 0 4password cis-2loginline vty 5 15password cis-2login…R-D#Проверка таблицы маршрутизации.

  1. Маршрутизатор А:
R-A>sh ip route…Gateway of last resort is not set192.168.30.0/24 is variably subnetted, 2 subnets, 2 masksC 192.168.30.8/29 is directly connected, GigabitEthernet0/0L 192.168.30.9/32 is directly connected, GigabitEthernet0/0200.5.5.0/24 is variably subnetted, 2 subnets, 2 masksC 200.5.5.0/30 is directly connected, Serial0/3/0L 200.5.5.1/32 is directly connected, Serial0/3/0R-A>

  1. Маршрутизатор В:
R-B>sh ip route…Gateway of last resort is not set172.16.0.0/16 is variably subnetted, 2 subnets, 2 masksC 172.16.10.128/28 is directly connected, GigabitEthernet0/0L 172.16.10.129/32 is directly connected, GigabitEthernet0/0200.5.5.0/24 is variably subnetted, 4 subnets, 2 masksC 200.5.5.0/30 is directly connected, Serial0/3/1L 200.5.5.2/32 is directly connected, Serial0/3/1C 200.5.5.4/30 is directly connected, Serial0/3/0L 200.5.5.5/32 is directly connected, Serial0/3/0R-B>

  1. Маршрутизатор С:
R-C>sh ip route…Gateway of last resort is not set10.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 10.1.20.0/27 is directly connected, GigabitEthernet0/0L 10.1.20.1/32 is directly connected, GigabitEthernet0/0200.5.5.0/24 is variably subnetted, 4 subnets, 2 masksC 200.5.5.4/30 is directly connected, Serial0/3/1L 200.5.5.6/32 is directly connected, Serial0/3/1C 200.5.5.8/30 is directly connected, Serial0/3/0L 200.5.5.9/32 is directly connected, Serial0/3/0R-C>

  1. Маршрутизатор D:
R-D>sh ip route…Gateway of last resort is not set172.16.0.0/16 is variably subnetted, 2 subnets, 2 masksC 172.16.10.32/27 is directly connected, GigabitEthernet0/0L 172.16.10.33/32 is directly connected, GigabitEthernet0/0200.5.5.0/24 is variably subnetted, 2 subnets, 2 masksC 200.5.5.8/30 is directly connected, Serial0/3/1L 200.5.5.10/32 is directly connected, Serial0/3/1R-D>Проверка состояния интерфейсов.

  1. Маршрутизатор А:
R-A>sh ip int briefInterface IP-Address OK? Method Status ProtocolGigabitEthernet0/0 192.168.30.9 YES manual up up…Serial0/3/0 200.5.5.1 YES manual up upR-A>

  1. Маршрутизатор В:
R-B>sh ip int briefInterface IP-Address OK? Method Status ProtocolGigabitEthernet0/0 172.16.10.129 YES manual up up…Serial0/3/0 200.5.5.5 YES manual up upSerial0/3/1 200.5.5.2 YES manual up upR-B>

  1. Маршрутизатор С:
R-C>sh ip int briefInterface IP-Address OK? Method Status ProtocolGigabitEthernet0/0 10.1.20.1 YES manual up up…Serial0/3/0 200.5.5.9 YES manual up upSerial0/3/1 200.5.5.6 YES manual up upR-C>

  1. Маршрутизатор D:
R-D>sh ip int briefInterface IP-Address OK? Method Status ProtocolGigabitEthernet0/0 172.16.10.33 YES manual up up…Serial0/3/1 200.5.5.10 YES manual up upR-D>Конфигурация протокола маршрутизации (EIGRP).

  1. Маршрутизатор А:
R-A(config)#router ripR-A(config-router)#version 2R-A(config-router)#network 192.168.30.8 R-A(config-router)#network 200.5.5.0R-A(config-router)#no auto-summary

  1. Маршрутизатор В:
R-B(config)#router ripR-B(config-router)#version 2R-B(config-router)#network 172.16.10.128R-B(config-router)#network 200.5.5.0 R-B(config-router)#network 200.5.5.4
R-B(config-router)#no auto-summary

  1. Маршрутизатор С:
R-C(config)#router ripR-C(config-router)#version 2R-C(config-router)#network 10.1.20.0R-C(config-router)#network 200.5.5.4 R-C(config-router)#network 200.5.5.8 R-С(config-router)#no auto-summary

  1. Маршрутизатор D:
R-D(config)#router ripR-D(config-router)#version 2R-D(config-router)#network 172.16.10.32R-D(config-router)#network 200.5.5.8R-D(config-router)#no auto-summaryПроверка таблиц маршрутизации.

  1. Маршрутизатор А:
R-A>sh ip route…Gateway of last resort is not setR 10.0.0.0/8 [120/2] via 200.5.5.2, 00:00:23, Serial0/3/0172.16.0.0/16 is variably subnetted, 2 subnets, 2 masksR 172.16.0.0/16 [120/3] via 200.5.5.2, 00:00:23, Serial0/3/0R 172.16.10.128/28 [120/1] via 200.5.5.2, 00:00:23, Serial0/3/0192.168.30.0/24 is variably subnetted, 2 subnets, 2 masksC 192.168.30.8/29 is directly connected, GigabitEthernet0/0L 192.168.30.9/32 is directly connected, GigabitEthernet0/0200.5.5.0/24 is variably subnetted, 4 subnets, 2 masksC 200.5.5.0/30 is directly connected, Serial0/3/0L 200.5.5.1/32 is directly connected, Serial0/3/0D 200.5.5.4/30 [120/1] via 200.5.5.2, 00:00:23, Serial0/3/0D 200.5.5.8/30 [120/2] via 200.5.5.2, 00:00:23, Serial0/3/0R-A>Например, для маршрута к сети 10.1.20.0/27 адресом следующего перехода (next hop) будет интерфейс 200.5.5.2 маршрутизатора В. Административное расстояние равно 120. Метрика составляет 2. Выходным интерфейсом маршрутизатора А является Serial 0/3/0.

  1. Маршрутизатор В:
R-B>sh ip route…Gateway of last resort is not setR 10.0.0.0/8 [120/1] via 200.5.5.6, 00:00:18, Serial0/3/0C 10.1.20.160/27 is directly connected, GigabitEthernet0/0L 10.1.20.161/32 is directly connected, GigabitEthernet0/0172.16.0.0/16 is variably subnetted, 3 subnets, 3 masksR 172.16.0.0/16 [120/2] via 200.5.5.6, 00:00:18, Serial0/3/0C 172.16.10.128/28 is directly connected, GigabitEthernet0/0L 172.16.10.129/32 is directly connected, GigabitEthernet0/0 R 192.168.30.0/24 [120/1] via 200.5.5.1, 00:00:08, Serial0/3/1200.5.5.0/24 is variably subnetted, 5 subnets, 2 masksC 200.5.5.0/30 is directly connected, Serial0/3/1L 200.5.5.2/32 is directly connected, Serial0/3/1C 200.5.5.4/30 is directly connected, Serial0/3/0L 200.5.5.5/32 is directly connected, Serial0/3/0R 200.5.5.8/30 [120/1] via 200.5.5.6, 00:00:18, Serial0/3/0R-B>

  1. Маршрутизатор С:
R-C>sh ip route…Gateway of last resort is not set10.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 10.1.20.0/27 is directly connected, GigabitEthernet0/0L 10.1.20.1/32 is directly connected, GigabitEthernet0/0172.16.0.0/16 is variably subnetted, 2 subnets, 2 masksR 172.16.10.32/27 [120/1] via 200.5.5.10, 00:00:15, Serial0/3/0R 172.16.10.128/28 [120/1] via 200.5.5.5, 00:00:14, Serial0/3/1R 192.168.30.0/24 [120/2] via 200.5.5.5, 00:00:14, Serial0/3/1200.5.5.0/24 is variably subnetted, 5 subnets, 2 masksR 200.5.5.0/30 [120/1] via 200.5.5.5, 00:00:14, Serial0/3/1C 200.5.5.4/30 is directly connected, Serial0/3/1L 200.5.5.6/32 is directly connected, Serial0/3/1C 200.5.5.8/30 is directly connected, Serial0/3/0L 200.5.5.9/32 is directly connected, Serial0/3/0R-C>

  1. Маршрутизатор D:
R-D>sh ip route…Gateway of last resort is not setR 10.0.0.0/8 [120/1] via 200.5.5.9, 00:00:04, Serial0/3/1172.16.0.0/16 is variably subnetted, 3 subnets, 3 masksR 172.16.10.0/27 [120/2] via 200.5.5.9, 00:00:04, Serial0/3/1C 172.16.10.32/27 is directly connected, GigabitEthernet0/0
L 172.16.10.33/32 is directly connected, GigabitEthernet0/0 R 192.168.30.0/24 [120/3] via 200.5.5.9, 00:00:04, Serial0/3/1200.5.5.0/24 is variably subnetted, 4 subnets, 2 masksD 200.5.5.0/30 [120/2] via 200.5.5.9, 00:00:04, Serial0/3/1D 200.5.5.4/30 [120/1] via 200.5.5.9, 00:00:04, Serial0/3/1C 200.5.5.8/30 is directly connected, Serial0/3/1L 200.5.5.10/32 is directly connected, Serial0/3/1R-D>Конфигурация конечных узлов. Задание соответствующих IP-адресов, сетевых масок, шлюзов по умолчанию.

  1. PC1

  1. PC2

  1. PC3

  1. PC4
Проверка работоспособности сети с использованием команд ping, выполняемых из маршрутизаторов и с конечных узлов.

  1. РС1 к РС4
PC>ping 172.16.10.34Pinging 172.16.10.34 with 32 bytes of data:Reply from 172.16.10.34: bytes=32 time=11ms TTL=124Reply from 172.16.10.34: bytes=32 time=3ms TTL=124Reply from 172.16.10.34: bytes=32 time=3ms TTL=124Reply from 172.16.10.34: bytes=32 time=10ms TTL=124Ping statistics for 172.16.10.34:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 3ms, Maximum = 11ms, Average = 7ms

  1. РС1 к РС2
PC>ping 172.16.10.130Pinging 172.16.10.130 with 32 bytes of data:Reply from 172.16.10.130: bytes=32 time=16ms TTL=126Reply from 172.16.10.130: bytes=32 time=1ms TTL=126Reply from 172.16.10.130: bytes=32 time=1ms TTL=126Reply from 172.16.10.130: bytes=32 time=2ms TTL=126Ping statistics for 172.16.10.130:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 1ms, Maximum = 13ms, Average = 4ms

  1. РС1 к РС3
PC>ping 10.1.20.2Pinging 10.1.20.2 with 32 bytes of data:Reply from 10.1.20.2: bytes=32 time=3ms TTL=125Reply from 10.1.20.2: bytes=32 time=3ms TTL=125Reply from 10.1.20.2.18: bytes=32 time=13ms TTL=125Reply from 10.1.20.2: bytes=32 time=2ms TTL=125Ping statistics for 10.1.20.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 3ms, Maximum = 3ms, Average = 2msФормирование виртуальных локальных сети.В сети 1 сформированы три виртуальных локальных сети:Рис.2. Измененная схема сети.На коммутаторах C, C1, C2 сформированы три виртуальных локальных сети (vlan 10, vlan 20, vlan 30). Для vlan 10 зарезервировано 16 адресов (172.16.10.0/28), для сети vlan 20 – 8 адресов (172.16.10.16/29), для vlan 30 – 8 ардресов (172.16.10.24/29).Параметры виртуальных локальных сетей:

VLAN

Диапазон адресов

Порты коммутатора C1

Порты коммутатора C2

vlan 10

10.1.20.0 – 10.1.20.15 (16)

F0/2-F0/8

F0/2-F0/7

vlan 20

10.1.20.16 – 10.1.20.23 (8)

F0/11-F0/13

F0/11, F0/12

vlan 30

10.1.20.24 – 10.1.20.31 (8)

F0/21-F0/23

F0/21, F0/22