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

This blog is about the things I learned about computers and networking to help me to remember them as I push further my studies. I created this blog to help myself to continue my education; and if you find this blog helpful for your studies, that is great. That is one of the reasons why I made this blog, to share my interest and knowledge. Also, all the entries/posts 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 BTC: 14wVPFBWNAKmfNsgUrPpw8EytkXFLjxYoU ETH: 0x8528793dF77a57186f5B15dA6DC1eaA3c5e92c4a LTC : LMpW2rGYnYdUwvnHA4huB6TGcPEEc1JzXw
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