Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
SODERZhANIE_otcheta.docx
Скачиваний:
5
Добавлен:
01.07.2025
Размер:
940.01 Кб
Скачать

2. Специальная часть

    1. Постановка задачи №1

  1. Добавим на рабочую область программы 2 комутатора Switch-PT. По умолчанию они имеют имена – Switch0 и Switch1.

  2. Добавим на рабочее поле четыре компъютера с именами по умолчанию PC0, PC1, PC2, PC3.

  3. Соединим устройства в сеть Ethernet , как показано на рис.1.4.

  4. Сохраним созданую топологию, нажав кнопку Save (в меню File -> Save).

  5. Откроем свойства устройства PC0 нажав на его изображение.Перейдем к вкладке Desktop и симулируем работу run нажав Command Prompt.

  6. Список команд получим, если введем? и нажмем Enter. Для конфигурирования компьютера воспользуемся командой ipconfig из командной строки, например:

ipconfig 192.168.1.2 255.255.255.0

2.1.1 Скрины задачи №1

    1. Постановка задачи №2

Использование команд для настройки роутеров в cisco

      1. Скрины задачи №2

    1. Постановка задачи №3

Использование команд для настройки маршрутизаторов и ARP таблиц

      1. Скрины задачи №3

РОУТЕР 1

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ip route 1.1.1.0 255.250.255.0 172.16.10.2

%Inconsistent address and mask

Router(config)#ip route 1.1.1.0 255.255.255.0 172.16.10.2

Router(config)#

РОУТЕР 2

Router#show arp

Protocol Address Age (min) Hardware Addr Type Interface

Internet 10.1.1.2 - 0002.4AAE.A7AA ARPA FastEthernet0/0

Router#ping 10.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 2/3/5 ms

Router#show arp

Protocol Address Age (min) Hardware Addr Type Interface

Internet 10.1.1.1 0 00E0.B052.73CC ARPA FastEthernet0/0

Internet 10.1.1.2 - 0002.4AAE.A7AA ARPA FastEthernet0/0

Router#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

C 10.0.0.0/8 is directly connected, FastEthernet0/0

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#

Router(config)#interface FastEthernet0/0

Router(config-if)#ip address 10.1.1.2 255.255.255.0

Router(config-if)#

Router(config-if)#exit

Router(config)#interface Serial2/0

Router(config-if)#

Router(config-if)#exit

Router(config)#interface Serial2/0

Router(config-if)#exit

Router(config)#ip route 172.16.10.0 255.255.255.0 10.1.1.1

Router(config)#ping 172.16.10.1

^

% Invalid input detected at '^' marker.

Router(config)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#ping 172.16.10.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/9 ms

Router#show arp

Protocol Address Age (min) Hardware Addr Type Interface

Internet 10.1.1.1 2 00E0.B052.73CC ARPA FastEthernet0/0

Internet 10.1.1.2 - 0002.4AAE.A7AA ARPA FastEthernet0/0

Router#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/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, FastEthernet0/0

172.16.0.0/24 is subnetted, 1 subnets

S 172.16.10.0 [1/0] via 10.1.1.1

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#no ip route 172.16.10.0 255.255.255.0 10.1.1.1

Router(config)#ip route 0.0.0.0.0.0.0.0 10.1.1.1

^

% Invalid input detected at '^' marker.

Router(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.1

Router(config)#sh ip route

^

% Invalid input detected at '^' marker.

Router(config)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#sh 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 10.1.1.1 to network 0.0.0.0

10.0.0.0/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, FastEthernet0/0

S* 0.0.0.0/0 [1/0] via 10.1.1.1

РОУТЕР 3

Router#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

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.10.0 is directly connected, Serial2/0

Router#ip route 10.1.1.0 255.255.255.0 172.16.10.1

^

% Invalid input detected at '^' marker.

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ip route 10.1.1.0 255.255.255.0 172.16.10.1

Router(config)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#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/24 is subnetted, 1 subnets

S 10.1.1.0 [1/0] via 172.16.10.1

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.10.0 is directly connected, Serial2/0

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#no ip route 10.1.1.0 255.255.255.0 172.16.10.1

Router(config)#ip route 0.0.0.0 0.0.0.0 172.16.10.1

Router(config)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#sh 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 172.16.10.1 to network 0.0.0.0

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.10.0 is directly connected, Serial2/0

S* 0.0.0.0/0 [1/0] via 172.16.10.1

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int loopback 0 1.1.1.1 255.255.255.0

^

% Invalid input detected at '^' marker.

Router(config)#int loopback 0 1.1.1.1 255.255.255.0

^

% Invalid input detected at '^' marker.

Router(config)#int loopback 0 1.1.1.1 255.255.255.0

^

% Invalid input detected at '^' marker.

Router(config)#interface loopback 0 1.1.1.1 255.255.255.0

^

% Invalid input detected at '^' marker.

Router(config)#interface loopback 0

Router(config-if)#

%LINK-5-CHANGED: Interface Loopback0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

Router(config-if)#interface loopback 0 1.1.1.1 255.255.255.0

^

% Invalid input detected at '^' marker.

Router(config-if)#ip route 1.1.1.0 255.250.255.0 172.16.10.2