vSRX via GNS3 Qemu (OSX Yosemite)

It took me awhile and lots of Googling to figure this one out. For some reason qemu-img could not convert the .vmdk file into .img. What I did was converted the .vmdk file into .vdi using VirtualBox. Then when I got the .vdi file, I use the qemu-img to convert it to .img.

This is the command

nixmbpr:~ Karlo$ cd /Applications/GNS3.app/Contents/Resources/qemu/bin/
nixmbpr:~ Karlo$ sudo ./qemu-img convert -O qcow2 /Users/Karlo/GNS3/images/junos-vsrx-12.1X47-D15.4/junos-vsrx-12.1X47-D15.4-domestic-disk1.vdi /Users/Karlo/GNS3/images/junos-vsrx-12.1X47-D15.4/junos-vsrx-12.1X47-D15.4-domestic-disk1.img

Once you get the .img, you can add it to GNS3. Make sure you navigate to GNS3 > Preferences > QEMU > QEMU VMs > (select your vsrx) > Edit > Advance SettingsUnder Options, change the default options -vga none -vnc none to smp -2 

By changing the options, qemu should recognize the interfaces otherwise you won’t see any physical interface.

The only thing that sucks about running the vSRX via qemu is the boot time is very slow compare to VirtualBox. VirtualBox is fast, I mean really fast boot time.


About networkshinobi

My name is Karlo, I work as a Network Engineer. A little about myself. I started as a PC gamer back when I was in high school. PC gaming became my addiction and pushed me to learn more about computers. Slowly got my some certifications and landed an IT Tier 1 Helpdesk job. This job opened the door for me to work to push further on my certifications and going deeper into the IT world. My goal was to get my Cisco CCIE Routing and Switching, but my journey for CCIE has changed due to I always ended up working on non-Cisco network appliances. Therefore, I have to pivot and decided to jump to the dark side and go with Juniper. Hopefully, I would get my JNCIE in the near future. All the entries/post I made are based on my views, opinion and for educational purposes only. If you see some mistakes, feel free to drop some comments. I would appreciate all the helpful comments. Thanks
This entry was posted in GNS3, Juniper, Misc. and tagged , , , , , , , . Bookmark the permalink.

One Response to vSRX via GNS3 Qemu (OSX Yosemite)

  1. Toro says:

    Hi there

    I in options already change to –smp -2 , but always stop in [Process completed] , do u know why?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s