Выводы.
В ходе лабораторной работы отработаны навыки статической маршрутизации в IP-сетях: выполнена настройка IP-адресов, масок подсетей и шлюзов по умолчанию для всех узлов сети, а также добавлены статические маршруты на маршрутизаторах.
Для каждой физической связки подобраны минимально допустимые маски подсетей, что обеспечивает корректное объединение адресов в требуемые сети.
Первоначально выявленная неоднозначность записей в таблицах маршрутизации устранена явной настройкой статических маршрутов. В результате для каждой целевой сети задан однозначный следующий шаг, что устранило циклы и обеспечило предсказуемую доставку пакетов.
Проверка связности посредством ping показала, что Echo-запросы между ближайшими соседями и между узлами K1, K2, K3 проходят успешно (см. рисунки 2–7). Это подтверждает корректность настроек TCP/IP и таблиц маршрутизации.
Приложение а.1 Листинг программы для к1(pc1) - к2(pc2)
18:48:23-532 PC1 Echo Request Packet Network Created Echo Request packet to 192.115.100.1
18:48:23-533 PC1 ARP Discovery Packet DataLink Created ARP discovery packet to source MAC address for IP 192.115.128.2
18:48:23-533 PC1 ARP_packet Network Sending broadcast packet from ProtocolStack.
18:48:23-533 PC1 Ethernet Packet Link Sending packet from interface AE:5D:2D:71:8F:A5
18:48:23-533 R1 Ethernet Packet Link Recieved and accepted packet at interface 69:93:42:67:32:64
18:48:23-534 R1 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-534 R1 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-534 R1 ARP Response Packet DataLink Created ARP Response packet to 192.115.128.1
18:48:23-534 R1 ARP_packet Network Sending packet from ProtocolStack (to 192.115.128.1).
18:48:23-534 R1 Ethernet Packet Link Sending packet from interface 69:93:42:67:32:64
18:48:23-535 PC1 Ethernet Packet Link Recieved and accepted packet at interface AE:5D:2D:71:8F:A5
18:48:23-535 PC1 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-535 PC1 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-535 PC1 ICMP_packet Network Sending packet from ProtocolStack (to 192.115.128.2).
18:48:23-535 PC1 Ethernet Packet Link Sending packet from interface AE:5D:2D:71:8F:A5
18:48:23-535 R1 Ethernet Packet Link Recieved and accepted packet at interface 69:93:42:67:32:64
18:48:23-535 R1 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-535 R1 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-536 R1 ARP Discovery Packet DataLink Created ARP discovery packet to source MAC address for IP 192.115.120.2
18:48:23-536 R1 ARP_packet Network Sending broadcast packet from ProtocolStack.
18:48:23-536 R1 Ethernet Packet Link Sending packet from interface 27:AF:37:C1:1E:6D
18:48:23-536 R3 Ethernet Packet Link Recieved and accepted packet at interface 51:64:29:90:38:BC
18:48:23-536 R3 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-536 R2 Ethernet Packet Link Recieved and accepted packet at interface 6F:5F:7A:1B:95:B9
18:48:23-536 R2 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-536 R2 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-536 R2 ARP Response Packet DataLink Created ARP Response packet to 192.115.120.1
18:48:23-536 R2 ARP_packet Network Sending packet from ProtocolStack (to 192.115.120.1).
18:48:23-536 R2 Ethernet Packet Link Sending packet from interface 6F:5F:7A:1B:95:B9
18:48:23-536 R3 Ethernet Packet Link Recieved and dropped packet at interface 51:64:29:90:38:BC
18:48:23-536 R1 Ethernet Packet Link Recieved and accepted packet at interface 27:AF:37:C1:1E:6D
18:48:23-537 R1 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-537 R1 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-537 R1 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.120.2).
18:48:23-537 R1 Ethernet Packet Link Sending packet from interface 27:AF:37:C1:1E:6D
18:48:23-537 R3 Ethernet Packet Link Recieved and dropped packet at interface 51:64:29:90:38:BC
18:48:23-537 R2 Ethernet Packet Link Recieved and accepted packet at interface 6F:5F:7A:1B:95:B9
18:48:23-537 R2 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-539 R2 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-539 R2 ARP Discovery Packet DataLink Created ARP discovery packet to source MAC address for IP 192.115.112.3
18:48:23-540 R2 ARP_packet Network Sending broadcast packet from ProtocolStack.
18:48:23-540 R2 Ethernet Packet Link Sending packet from interface 73:A4:63:9F:8C:AC
18:48:23-540 R4 Ethernet Packet Link Recieved and accepted packet at interface 75:5F:AD:1F:89:87
18:48:23-540 R4 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-540 R4 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-541 R4 ARP Response Packet DataLink Created ARP Response packet to 192.115.112.1
18:48:23-542 R4 ARP_packet Network Sending packet from ProtocolStack (to 192.115.112.1).
18:48:23-542 R4 Ethernet Packet Link Sending packet from interface 75:5F:AD:1F:89:87
18:48:23-542 R3 Ethernet Packet Link Recieved and dropped packet at interface 21:24:4F:BD:79:62
18:48:23-542 R2 Ethernet Packet Link Recieved and accepted packet at interface 73:A4:63:9F:8C:AC
18:48:23-542 R2 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-542 R2 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-542 R3 Ethernet Packet Link Recieved and accepted packet at interface 21:24:4F:BD:79:62
18:48:23-542 R3 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-542 R2 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.112.3).
18:48:23-542 R2 Ethernet Packet Link Sending packet from interface 73:A4:63:9F:8C:AC
18:48:23-542 R4 Ethernet Packet Link Recieved and accepted packet at interface 75:5F:AD:1F:89:87
18:48:23-542 R4 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-542 R4 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-542 R4 ARP Discovery Packet DataLink Created ARP discovery packet to source MAC address for IP 192.115.108.2
18:48:23-544 R4 ARP_packet Network Sending broadcast packet from ProtocolStack.
18:48:23-544 R4 Ethernet Packet Link Sending packet from interface 6C:BF:7C:A9:A4:33
18:48:23-545 R7 Ethernet Packet Link Recieved and accepted packet at interface 93:38:A3:87:94:41
18:48:23-545 R7 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-545 R5 Ethernet Packet Link Recieved and accepted packet at interface 26:90:C5:B9:A1:79
18:48:23-545 R5 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-545 R5 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-545 R5 ARP Response Packet DataLink Created ARP Response packet to 192.115.108.1
18:48:23-545 R5 ARP_packet Network Sending packet from ProtocolStack (to 192.115.108.1).
18:48:23-545 R5 Ethernet Packet Link Sending packet from interface 26:90:C5:B9:A1:79
18:48:23-545 R7 Ethernet Packet Link Recieved and dropped packet at interface 93:38:A3:87:94:41
18:48:23-545 R4 Ethernet Packet Link Recieved and accepted packet at interface 6C:BF:7C:A9:A4:33
18:48:23-545 R4 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-545 R4 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-545 R4 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.108.2).
18:48:23-545 R4 Ethernet Packet Link Sending packet from interface 6C:BF:7C:A9:A4:33
18:48:23-545 R7 Ethernet Packet Link Recieved and dropped packet at interface 93:38:A3:87:94:41
18:48:23-545 R5 Ethernet Packet Link Recieved and accepted packet at interface 26:90:C5:B9:A1:79
18:48:23-546 R5 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-546 R5 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-546 R5 ARP Discovery Packet DataLink Created ARP discovery packet to source MAC address for IP 192.115.100.1
18:48:23-546 R5 ARP_packet Network Sending broadcast packet from ProtocolStack.
18:48:23-546 R5 Ethernet Packet Link Sending packet from interface 2B:97:18:1D:5B:2F
18:48:23-546 PC2 Ethernet Packet Link Recieved and accepted packet at interface 28:7C:A2:57:83:73
18:48:23-546 PC2 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-546 PC2 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-546 PC2 ARP Response Packet DataLink Created ARP Response packet to 192.115.100.2
18:48:23-547 PC2 ARP_packet Network Sending packet from ProtocolStack (to 192.115.100.2).
18:48:23-547 PC2 Ethernet Packet Link Sending packet from interface 28:7C:A2:57:83:73
18:48:23-548 R5 Ethernet Packet Link Recieved and accepted packet at interface 2B:97:18:1D:5B:2F
18:48:23-548 R5 ARP_packet Network ProtocolStack received packet from local Interface.
18:48:23-548 R5 ARP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-548 R5 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.100.1).
18:48:23-548 R5 Ethernet Packet Link Sending packet from interface 2B:97:18:1D:5B:2F
18:48:23-548 PC2 Ethernet Packet Link Recieved and accepted packet at interface 28:7C:A2:57:83:73
18:48:23-548 PC2 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-548 PC2 ICMP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-548 PC2 Echo Reply Packet Network Created Echo Reply packet to 192.115.128.1
18:48:23-548 PC2 ICMP_packet Network Sending packet from ProtocolStack (to 192.115.100.2).
18:48:23-548 PC2 Ethernet Packet Link Sending packet from interface 28:7C:A2:57:83:73
18:48:23-548 R5 Ethernet Packet Link Recieved and accepted packet at interface 2B:97:18:1D:5B:2F
18:48:23-548 R5 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-548 R5 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-549 R5 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.108.1).
18:48:23-549 R5 Ethernet Packet Link Sending packet from interface 26:90:C5:B9:A1:79
18:48:23-549 R7 Ethernet Packet Link Recieved and dropped packet at interface 93:38:A3:87:94:41
18:48:23-549 R4 Ethernet Packet Link Recieved and accepted packet at interface 6C:BF:7C:A9:A4:33
18:48:23-549 R4 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-549 R4 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-549 R4 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.112.1).
18:48:23-549 R4 Ethernet Packet Link Sending packet from interface 75:5F:AD:1F:89:87
18:48:23-549 R3 Ethernet Packet Link Recieved and dropped packet at interface 21:24:4F:BD:79:62
18:48:23-549 R2 Ethernet Packet Link Recieved and accepted packet at interface 73:A4:63:9F:8C:AC
18:48:23-549 R2 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-549 R2 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-549 R2 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.120.1).
18:48:23-549 R2 Ethernet Packet Link Sending packet from interface 6F:5F:7A:1B:95:B9
18:48:23-549 R3 Ethernet Packet Link Recieved and dropped packet at interface 51:64:29:90:38:BC
18:48:23-549 R1 Ethernet Packet Link Recieved and accepted packet at interface 27:AF:37:C1:1E:6D
18:48:23-549 R1 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-550 R1 ICMP_packet Network Packet Received: Network Layer Device is Routable forwarding packet.
18:48:23-550 R1 ICMP_packet Network Forwarding packet from ProtocolStack(to 192.115.128.1).
18:48:23-550 R1 Ethernet Packet Link Sending packet from interface 69:93:42:67:32:64
18:48:23-550 PC1 Ethernet Packet Link Recieved and accepted packet at interface AE:5D:2D:71:8F:A5
18:48:23-550 PC1 ICMP_packet Network ProtocolStack received packet from local Interface.
18:48:23-550 PC1 ICMP_packet Network Confirmed Packet is for this Network Layer Device.
18:48:23-550 PC1 Echo Reply Packet Network Echo reply packet received from 192.115.100.1
18:48:23-550 R3 Ethernet Packet Link Recieved and dropped packet at interface 21:24:4F:BD:79:62
