- •1.Общая часть
- •Общие сведения о сети Интернет
- •1.2 Виды подключения к Интернет
- •1.3Беспроводные технологии
- •1.4 Проводные технологии доступа
- •1.5 Службы Интернет. E-mail. Ftp. Telnet
- •1.6 Настройка компьютерной сети
- •1.7 Понятие ip-адреса, маска подсети, основной шлюз
- •2. Специальная часть
- •Постановка задачи №1
- •Постановка задачи №4
- •2.4.1 Скрины задачи №4
- •Постановка задачи №7
- •Скрины задачи №7
2. Специальная часть
Постановка задачи №1
Добавим на рабочую область программы 2 комутатора Switch-PT. По умолчанию они имеют имена – Switch0 и Switch1.
Добавим на рабочее поле четыре компъютера с именами по умолчанию PC0, PC1, PC2, PC3.
Соединим устройства в сеть Ethernet , как показано на рис.1.4.
Сохраним созданую топологию, нажав кнопку Save (в меню File -> Save).
Откроем свойства устройства PC0 нажав на его изображение.Перейдем к вкладке Desktop и симулируем работу run нажав Command Prompt.
Список команд получим, если введем? и нажмем Enter. Для конфигурирования компьютера воспользуемся командой ipconfig из командной строки, например:
ipconfig 192.168.1.2 255.255.255.0
2.1.1 Скрины задачи №1
Постановка задачи №2
Использование команд для настройки роутеров в cisco
Скрины задачи №2
Постановка задачи №3
Использование команд для настройки маршрутизаторов и ARP таблиц
Скрины задачи №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
