Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Computer Networks / Labs / lab02
diff options
context:
space:
mode:
Commit3330f736ff3d64b183edb85d16e0234fb694914c (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-06-03 16:44:18 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-06-03 16:44:18 +0300
Files9d6692031c86e700915070ed745659444c88abea /Year 2/Computer Networks/Labs/lab02
uni-projects-3330f736ff3d64b183edb85d16e0234fb694914c.tar
uni-projects-3330f736ff3d64b183edb85d16e0234fb694914c.tar.gz
uni-projects-3330f736ff3d64b183edb85d16e0234fb694914c.zip
Parentdce843b94805c7e71b63d82a351af417e7be8278 (diff)
[CN/labs] Added solutions to lab01, lab02 and lab03
diff --git a/Year 2/Computer Networks/Labs/lab02/lab02.gns3 b/Year 2/Computer Networks/Labs/lab02/lab02.gns3
new file mode 100644
index 0000000..0c5b25f
--- /dev/null
+++ b/Year 2/Computer Networks/Labs/lab02/lab02.gns3
@@ -0,0 +1,386 @@
+{
+ "auto_close": true,
+ "auto_open": false,
+ "auto_start": false,
+ "drawing_grid_size": 25,
+ "grid_size": 75,
+ "name": "lab02",
+ "project_id": "9abda885-2580-4773-8a78-abf03cf9b876",
+ "revision": 9,
+ "scene_height": 1000,
+ "scene_width": 2000,
+ "show_grid": false,
+ "show_interface_labels": true,
+ "show_layers": false,
+ "snap_to_grid": false,
+ "supplier": null,
+ "topology": {
+ "computes": [],
+ "drawings": [
+ {
+ "drawing_id": "191354b1-0bad-4bbd-8f4d-5d9a12bfb4c1",
+ "locked": false,
+ "rotation": 0,
+ "svg": "<svg width=\"200\" height=\"100\"><rect width=\"200\" height=\"100\" fill=\"#ffffff\" fill-opacity=\"1.0\" stroke-width=\"2\" stroke=\"#000000\" /></svg>",
+ "x": -400,
+ "y": -120,
+ "z": 0
+ },
+ {
+ "drawing_id": "517ad877-2ad5-468e-b1c8-eb7c5ec419c0",
+ "locked": false,
+ "rotation": 0,
+ "svg": "<svg width=\"384\" height=\"100\"><rect width=\"384\" height=\"100\" fill=\"#ffffff\" fill-opacity=\"1.0\" stroke-width=\"2\" stroke=\"#000000\" /></svg>",
+ "x": -191,
+ "y": -120,
+ "z": 0
+ },
+ {
+ "drawing_id": "8b5b0f9b-b167-46b8-b545-54db9a6fa225",
+ "locked": false,
+ "rotation": 0,
+ "svg": "<svg width=\"165\" height=\"23\"><text font-family=\"TypeWriter\" font-size=\"10.0\" font-weight=\"bold\" fill=\"#000000\" fill-opacity=\"1.0\">\u041f\u043e\u0434\u043c\u0440\u0435\u0436\u0430 172.16.10.0/24</text></svg>",
+ "x": -384,
+ "y": -144,
+ "z": 2
+ },
+ {
+ "drawing_id": "98b5ea9f-f244-4b78-831f-7ef91a3f0864",
+ "locked": false,
+ "rotation": 0,
+ "svg": "<svg width=\"165\" height=\"23\"><text font-family=\"TypeWriter\" font-size=\"10.0\" font-weight=\"bold\" fill=\"#000000\" fill-opacity=\"1.0\">\u041f\u043e\u0434\u043c\u0440\u0435\u0436\u0430 172.16.20.0/24</text></svg>",
+ "x": -103,
+ "y": -144,
+ "z": 2
+ }
+ ],
+ "links": [
+ {
+ "filters": {},
+ "link_id": "852b5d77-39c0-4af0-89ed-7706297948bd",
+ "link_style": {},
+ "nodes": [
+ {
+ "adapter_number": 0,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "e0",
+ "x": 72,
+ "y": 28
+ },
+ "node_id": "f2841a66-ca04-4dba-ba86-a2bfcefb6dc0",
+ "port_number": 0
+ },
+ {
+ "adapter_number": 0,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "Ether1",
+ "x": -46,
+ "y": 24
+ },
+ "node_id": "d2ce8aa0-a751-40cf-849c-8f6f0d0fdb0c",
+ "port_number": 0
+ }
+ ],
+ "suspend": false
+ },
+ {
+ "filters": {},
+ "link_id": "e8b735dc-87c1-45f9-aab0-fc3292e51a65",
+ "link_style": {},
+ "nodes": [
+ {
+ "adapter_number": 1,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "Ether2",
+ "x": 72,
+ "y": 21
+ },
+ "node_id": "d2ce8aa0-a751-40cf-849c-8f6f0d0fdb0c",
+ "port_number": 0
+ },
+ {
+ "adapter_number": 0,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "e0",
+ "x": -21,
+ "y": 17
+ },
+ "node_id": "efa06296-12f7-4fb9-9636-4355614ca760",
+ "port_number": 0
+ }
+ ],
+ "suspend": false
+ },
+ {
+ "filters": {},
+ "link_id": "d6750b62-0bd7-45d9-87fd-dc81493c291f",
+ "link_style": {},
+ "nodes": [
+ {
+ "adapter_number": 0,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "e1",
+ "x": 75,
+ "y": 17
+ },
+ "node_id": "efa06296-12f7-4fb9-9636-4355614ca760",
+ "port_number": 1
+ },
+ {
+ "adapter_number": 0,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "e0",
+ "x": -23,
+ "y": 31
+ },
+ "node_id": "8e50582b-7d55-45c6-b08d-bd2a40795bd1",
+ "port_number": 0
+ }
+ ],
+ "suspend": false
+ }
+ ],
+ "nodes": [
+ {
+ "compute_id": "local",
+ "console": 5000,
+ "console_auto_start": false,
+ "console_type": "telnet",
+ "custom_adapters": [],
+ "first_port_name": null,
+ "height": 59,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "PC1",
+ "x": 15,
+ "y": -25
+ },
+ "locked": false,
+ "name": "PC1",
+ "node_id": "f2841a66-ca04-4dba-ba86-a2bfcefb6dc0",
+ "node_type": "vpcs",
+ "port_name_format": "Ethernet{0}",
+ "port_segment_size": 0,
+ "properties": {},
+ "symbol": ":/symbols/vpcs_guest.svg",
+ "template_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
+ "width": 65,
+ "x": -385,
+ "y": -92,
+ "z": 1
+ },
+ {
+ "compute_id": "local",
+ "console": 5002,
+ "console_auto_start": false,
+ "console_type": "telnet",
+ "custom_adapters": [],
+ "first_port_name": null,
+ "height": 59,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "PC2",
+ "x": 15,
+ "y": -25
+ },
+ "locked": false,
+ "name": "PC2",
+ "node_id": "8e50582b-7d55-45c6-b08d-bd2a40795bd1",
+ "node_type": "vpcs",
+ "port_name_format": "Ethernet{0}",
+ "port_segment_size": 0,
+ "properties": {},
+ "symbol": ":/symbols/vpcs_guest.svg",
+ "template_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
+ "width": 65,
+ "x": 112,
+ "y": -96,
+ "z": 1
+ },
+ {
+ "compute_id": "local",
+ "console": 5004,
+ "console_auto_start": false,
+ "console_type": "telnet",
+ "custom_adapters": [
+ {
+ "adapter_number": 0,
+ "port_name": "Ether1"
+ },
+ {
+ "adapter_number": 1,
+ "port_name": "Ether2"
+ },
+ {
+ "adapter_number": 2,
+ "port_name": "Ether3"
+ },
+ {
+ "adapter_number": 3,
+ "port_name": "Ether4"
+ }
+ ],
+ "first_port_name": "",
+ "height": 45,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "Mikrotik6-1",
+ "x": -5,
+ "y": -25
+ },
+ "locked": false,
+ "name": "Mikrotik6-1",
+ "node_id": "d2ce8aa0-a751-40cf-849c-8f6f0d0fdb0c",
+ "node_type": "qemu",
+ "port_name_format": "Ether{1}",
+ "port_segment_size": 0,
+ "properties": {
+ "adapter_type": "e1000",
+ "adapters": 4,
+ "bios_image": "",
+ "bios_image_md5sum": null,
+ "boot_priority": "c",
+ "cdrom_image": "",
+ "cdrom_image_md5sum": null,
+ "cpu_throttling": 0,
+ "cpus": 1,
+ "create_config_disk": false,
+ "hda_disk_image": "chr-6.49.5.img",
+ "hda_disk_image_md5sum": "61acb0dabb1dc98d3e7757ace64f7a5a",
+ "hda_disk_interface": "ide",
+ "hdb_disk_image": "",
+ "hdb_disk_image_md5sum": null,
+ "hdb_disk_interface": "none",
+ "hdc_disk_image": "",
+ "hdc_disk_image_md5sum": null,
+ "hdc_disk_interface": "none",
+ "hdd_disk_image": "",
+ "hdd_disk_image_md5sum": null,
+ "hdd_disk_interface": "none",
+ "initrd": "",
+ "initrd_md5sum": null,
+ "kernel_command_line": "",
+ "kernel_image": "",
+ "kernel_image_md5sum": null,
+ "legacy_networking": false,
+ "linked_clone": true,
+ "mac_address": "0c:ce:8a:a0:00:00",
+ "on_close": "shutdown_signal",
+ "options": "",
+ "platform": "x86_64",
+ "process_priority": "normal",
+ "qemu_path": "/usr/bin/qemu-system-x86_64",
+ "ram": 256,
+ "replicate_network_connection_state": true,
+ "tpm": false,
+ "usage": ""
+ },
+ "symbol": ":/symbols/classic/router.svg",
+ "template_id": "a3256bda-b86b-4ff9-abd2-17d02353413e",
+ "width": 66,
+ "x": -226,
+ "y": -87,
+ "z": 1
+ },
+ {
+ "compute_id": "local",
+ "console": 5006,
+ "console_auto_start": false,
+ "console_type": "none",
+ "custom_adapters": [],
+ "first_port_name": null,
+ "height": 32,
+ "label": {
+ "rotation": 0,
+ "style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
+ "text": "Switch1",
+ "x": 6,
+ "y": -25
+ },
+ "locked": false,
+ "name": "Switch1",
+ "node_id": "efa06296-12f7-4fb9-9636-4355614ca760",
+ "node_type": "ethernet_switch",
+ "port_name_format": "Ethernet{0}",
+ "port_segment_size": 0,
+ "properties": {
+ "ports_mapping": [
+ {
+ "name": "Ethernet0",
+ "port_number": 0,
+ "type": "access",
+ "vlan": 1
+ },
+ {
+ "name": "Ethernet1",
+ "port_number": 1,
+ "type": "access",
+ "vlan": 1
+ },
+ {
+ "name": "Ethernet2",
+ "port_number": 2,
+ "type": "access",
+ "vlan": 1
+ },
+ {
+ "name": "Ethernet3",
+ "port_number": 3,
+ "type": "access",
+ "vlan": 1
+ },
+ {
+ "name": "Ethernet4",
+ "port_number": 4,
+ "type": "access",
+ "vlan": 1
+ },
+ {
+ "name": "Ethernet5",
+ "port_number": 5,
+ "type": "access",
+ "vlan": 1
+ },
+ {
+ "name": "Ethernet6",
+ "port_number": 6,
+ "type": "access",
+ "vlan": 1
+ },
+ {
+ "name": "Ethernet7",
+ "port_number": 7,
+ "type": "access",
+ "vlan": 1
+ }
+ ]
+ },
+ "symbol": ":/symbols/ethernet_switch.svg",
+ "template_id": "1966b864-93e7-32d5-965f-001384eec461",
+ "width": 72,
+ "x": -50,
+ "y": -83,
+ "z": 1
+ }
+ ]
+ },
+ "type": "topology",
+ "variables": null,
+ "version": "2.2.38",
+ "zoom": 100
+} \ No newline at end of file
diff --git a/Year 2/Computer Networks/Labs/lab02/project-files/qemu/d2ce8aa0-a751-40cf-849c-8f6f0d0fdb0c/hda_disk.qcow2 b/Year 2/Computer Networks/Labs/lab02/project-files/qemu/d2ce8aa0-a751-40cf-849c-8f6f0d0fdb0c/hda_disk.qcow2
new file mode 100644
index 0000000..c30fed0
--- /dev/null
+++ b/Year 2/Computer Networks/Labs/lab02/project-files/qemu/d2ce8aa0-a751-40cf-849c-8f6f0d0fdb0c/hda_disk.qcow2
Binary files differ
diff --git a/Year 2/Computer Networks/Labs/lab02/project-files/vpcs/8e50582b-7d55-45c6-b08d-bd2a40795bd1/startup.vpc b/Year 2/Computer Networks/Labs/lab02/project-files/vpcs/8e50582b-7d55-45c6-b08d-bd2a40795bd1/startup.vpc
new file mode 100644
index 0000000..25a034a
--- /dev/null
+++ b/Year 2/Computer Networks/Labs/lab02/project-files/vpcs/8e50582b-7d55-45c6-b08d-bd2a40795bd1/startup.vpc
@@ -0,0 +1,2 @@
+set pcname PC2
+ip 172.16.20.28 172.16.20.254 24
diff --git a/Year 2/Computer Networks/Labs/lab02/project-files/vpcs/f2841a66-ca04-4dba-ba86-a2bfcefb6dc0/startup.vpc b/Year 2/Computer Networks/Labs/lab02/project-files/vpcs/f2841a66-ca04-4dba-ba86-a2bfcefb6dc0/startup.vpc
new file mode 100644
index 0000000..f382365
--- /dev/null
+++ b/Year 2/Computer Networks/Labs/lab02/project-files/vpcs/f2841a66-ca04-4dba-ba86-a2bfcefb6dc0/startup.vpc
@@ -0,0 +1,2 @@
+set pcname PC1
+ip 172.16.10.28 172.16.10.254 24