[stordis-toc]
Introduction
Welcome to the GNS3 SONiC on Proxmox deployment guide!
This article explains how to import the GNS3 SONiC Datacenter image into a Proxmox environment. By following these steps, you can run SONiC network simulations directly on your hypervisor without the need for additional physical hardware.
Hardware Requirements
- Virtual Environment: VMware ESXi 6, Proxmox 8, or newer versions
- CPU: 24 virtual cores (vCPU)
- Memory: min. 50 GB RAM required
- Storage: min. 100 GB disk space (final requirement depends on your specific storage configuration)
Download the GNS3 SONiC Datacenter Image
You can download the GNS3 SONiC Datacenter image from HERE.
Remember
Check the MD5 sums of all files after download.
80fa232c44c74b188511ac87847f3072 GNS3Datacenter/DataCenterinGNS3-0.vmdk
8af17ac1720865dd79123b9fff035629 GNS3Datacenter/DataCenterinGNS3-1.vmdk
6d03013d57568d752401d885d5eb1ac2 GNS3Datacenter/DataCenterinGNS3.mf
3e03fb9ee49bad42ee7af16d3a4f6683 GNS3Datacenter/DataCenterinGNS3.nvram
5ab2cf54a9d9af659e7395e3383f042e GNS3Datacenter/DataCenterinGNS3.ovf
13b85a5db15b2de09dcb0d1dd6865ed2 DataCenter_in_GNS3_(SONiC_4.4.1).zip
Import the Virtual Machine into Proxmox
STEP 1: Launch Proxmox page on your web browser.
STEP 2: Select "Create VM"
STEP 3: Name Virtual Machine:
STEP 4: In the OS section choose Do not use any media:
STEP 5: Leave default settings in the System section:
STEP 6: Remove the default virtual disk:
STEP 7: Configure CPU:
STEP 8: Set the memory as needed:
STEP 9: Leave the network settings default:
STEP 10: Turn off “Start after creation” in the confirmation step:
STEP 11: Upload and Import the Disk Image
- Use an SCP tool or command to copy your
.vmdkto the Proxmox host.
STEP 12: Convert and Import the Disk
-
Access the Proxmox shell:
-
Run import command (for both disk images):
qm importdisk <VMID> <name.vmdk> <storage> --format <format>
Example:
qm importdisk 114 DataCenterinGNS3-1.vmdk local --format qcow2
Note
This process can take up to 4 hours, depending on your system specifications and configuration.
-
Run the following to rescan the disks:
qm rescan
-
Attach the new disks via the Hardware tab and start the VM
-
In the Options tab, set the correct boot disk as first and make sure that it is enabled.
Remember
Need at least 100GB or 520GB free (depending on your storage configuration) in Your Datastore
STEP 13: Finalize Configuration and Boot the VM
-
Make sure that KVM hardware virtualization is enabled
-
Start the VM.
-
Once booted, note the displayed Web UI IP address for GNS3.
STEP 14: Access GNS3 and Import SONiC
- Open your browser and navigate to the displayed IP address (Web UI).
Congratulations!
You have successfully imported the GNS3 SONiC image into Proxmox.
Your environment is now ready for advanced network simulation and testing.
Enjoy virtualization with Proxmox and GNS3! 🧪
Useful Links
If you're interested in learning more about GNS3 virtualization, here are some articles that may be helpful:
Comments 0
Comments
Please sign in to leave a comment.