Installing Sonic Network Switch on EVE-NG
Latest eve-ng has template for sonic switch., at path /opt/unetlab/html/templates/intel/sonicsw.yml
If you do not have template in this folder you can download one and paste in the folder path as above
https://github.com/ercintorun/MsSonicEveNG/blob/main/mssonic.yml
I assume you already have template in folder as mentioned above, with name sonicsw.yml
Create a folder at below path with version number that you will download in the next step
/opt/unetlab/addons/qemu/sonicsw-210216
Download the sonic switch image from below link
https://sonic.software/
Upload eve-ng at this path /opt/unetlab/addons/qemu/sonicsw-210216/
Navigate to the above path and gunzip the image
gunzip /opt/unetlab/addons/qemu/sonicsw-210216/sonic-vs.img.gz
after this you get the file with name sonic-vs.img
now change the the file name to virtioa.qcow2, with below command
mv /opt/unetlab/addons/qemu/sonicsw-210216/sonic-vs.img /opt/unetlab/addons/qemu/sonicsw-210216/virtioa.qcow2
fix the permission with below command
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
And you are good to go now
Below is the image of my sonic switch installed with above steps, and I was able to make the lab as can be seen in the same snapshot
Comments
Post a Comment