diff options
[CN/labs] Added solutions to lab01, lab02 and lab03
4 files changed, 278 insertions, 0 deletions
diff --git a/Year 2/Computer Networks/Labs/lab01/lab01.gns3 b/Year 2/Computer Networks/Labs/lab01/lab01.gns3 new file mode 100644 index 0000000..bdb8d7f --- /dev/null +++ b/Year 2/Computer Networks/Labs/lab01/lab01.gns3 @@ -0,0 +1,274 @@ +{ + "auto_close": true, + "auto_open": false, + "auto_start": false, + "drawing_grid_size": 25, + "grid_size": 75, + "name": "lab01", + "project_id": "f22aca24-db43-4f56-babf-2b36cb530a39", + "revision": 9, + "scene_height": 1000, + "scene_width": 2000, + "show_grid": false, + "show_interface_labels": false, + "show_layers": false, + "snap_to_grid": false, + "supplier": null, + "topology": { + "computes": [], + "drawings": [ + { + "drawing_id": "0008b34b-fc60-4427-ac4f-f43a545a726f", + "locked": false, + "rotation": 0, + "svg": "<svg width=\"245\" height=\"121\"><rect width=\"245\" height=\"121\" fill=\"#ffffff\" fill-opacity=\"1.0\" stroke-width=\"2\" stroke=\"#000000\" /></svg>", + "x": -308, + "y": -156, + "z": 0 + }, + { + "drawing_id": "f5682c06-d275-418f-b734-844c8a1394df", + "locked": false, + "rotation": 0, + "svg": "<svg width=\"245\" height=\"121\"><rect width=\"245\" height=\"121\" fill=\"#ffffff\" fill-opacity=\"1.0\" stroke-width=\"2\" stroke=\"#000000\" /></svg>", + "x": -45, + "y": -156, + "z": 0 + }, + { + "drawing_id": "0d674b5e-7d45-4d3f-a4d3-e3f3b3d7f4ea", + "locked": false, + "rotation": 0, + "svg": "<svg width=\"157\" 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 10.11.12.0/24</text></svg>", + "x": -264, + "y": -180, + "z": 2 + }, + { + "drawing_id": "52145a0c-cd47-4f16-9aa1-1315d4090bf9", + "locked": false, + "rotation": 0, + "svg": "<svg width=\"158\" 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 20.30.40.0/24</text></svg>", + "x": -6, + "y": -178, + "z": 2 + } + ], + "links": [ + { + "filters": {}, + "link_id": "4e8dd4d5-533e-4231-80b4-403fd8ce792d", + "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": "Ether1", + "x": -6, + "y": 24 + }, + "node_id": "0b33659a-fe6e-4ca5-923b-230c7c91742c", + "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": 72, + "y": 27 + }, + "node_id": "0cf73709-59c7-493c-9362-2414583ec689", + "port_number": 0 + } + ], + "suspend": false + }, + { + "filters": {}, + "link_id": "77c4be4d-7fc6-4b66-b738-449164893a37", + "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": 23 + }, + "node_id": "0b33659a-fe6e-4ca5-923b-230c7c91742c", + "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": -7, + "y": 28 + }, + "node_id": "2e51c9e3-876f-40d1-9d46-515c9d26bbc6", + "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": "0cf73709-59c7-493c-9362-2414583ec689", + "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": -278, + "y": -119, + "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": "2e51c9e3-876f-40d1-9d46-515c9d26bbc6", + "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": 107, + "y": -121, + "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": "0b33659a-fe6e-4ca5-923b-230c7c91742c", + "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:33:65:9a: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": -88, + "y": -115, + "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/lab01/project-files/qemu/0b33659a-fe6e-4ca5-923b-230c7c91742c/hda_disk.qcow2 b/Year 2/Computer Networks/Labs/lab01/project-files/qemu/0b33659a-fe6e-4ca5-923b-230c7c91742c/hda_disk.qcow2 Binary files differnew file mode 100644 index 0000000..b6995b1 --- /dev/null +++ b/Year 2/Computer Networks/Labs/lab01/project-files/qemu/0b33659a-fe6e-4ca5-923b-230c7c91742c/hda_disk.qcow2 diff --git a/Year 2/Computer Networks/Labs/lab01/project-files/vpcs/0cf73709-59c7-493c-9362-2414583ec689/startup.vpc b/Year 2/Computer Networks/Labs/lab01/project-files/vpcs/0cf73709-59c7-493c-9362-2414583ec689/startup.vpc new file mode 100644 index 0000000..fd6f036 --- /dev/null +++ b/Year 2/Computer Networks/Labs/lab01/project-files/vpcs/0cf73709-59c7-493c-9362-2414583ec689/startup.vpc @@ -0,0 +1,2 @@ +set pcname PC1 +ip 10.11.12.28 10.11.12.254 24 diff --git a/Year 2/Computer Networks/Labs/lab01/project-files/vpcs/2e51c9e3-876f-40d1-9d46-515c9d26bbc6/startup.vpc b/Year 2/Computer Networks/Labs/lab01/project-files/vpcs/2e51c9e3-876f-40d1-9d46-515c9d26bbc6/startup.vpc new file mode 100644 index 0000000..51fd3ae --- /dev/null +++ b/Year 2/Computer Networks/Labs/lab01/project-files/vpcs/2e51c9e3-876f-40d1-9d46-515c9d26bbc6/startup.vpc @@ -0,0 +1,2 @@ +set pcname PC2 +ip 20.30.40.28 20.30.40.254 24 |
