Yep, It been quit a while Juniper’s FireFly and Gns3 version 1 are on the air. Its time to squeeze them together :). Firefly will be running as Qemu appliance.
These single-VM versions of vMX include 14.1R1.10, 14.1R3.5, and 14.1R4.8. First, click Edit-Qemu VMs-Newin GNS3. I just called it “vMX”, but you could include the version number in the name, as well. Next, assign it 1GB of RAM, and select your qemu binary. Configure a vSRX Chassis Cluster in Junos OS vSRX. The vSRX Virtual Firewall automates and scales with maximum control and efficiency while protecting your organization from advanced malware with our cloud-delivered Juniper Advanced Threat Prevention Cloud option. Simply download, install, and begin your evaluations. This tutorial will explain how to set up a Juniper vSRX firewall appliance using a combination of Virtual Box, VMplayer and finally GNS3.
As usual, there is the basic requirements as below. For those who want to skip the pre-cooking parts, can download directly from http://1drv.ms/1qUbkd4 . ( Download junos-vsrx-12.1X46-D10.2-domestic.img and GNS3-ER-1.0-beta3-all-in-one.exe )
For GNS3 Version 1 new user, used my credential as below
Email : ‘[email protected]’
Number : ‘GNS30605’
1) Converted juniper firefly image.
Firefly OVA image can be download from here. And upload the ova to linux machine.
1.1) Extract OVA file
Thats generate ovf, mf and vmdk files. We will convert vmdk file to img file which is compatible with Qemu.
![Boson Boson](/uploads/1/3/7/3/137380385/165650725.jpg)
1.2) Convert vmdk to img
Then, download img file to Window machine which GN3 version 1 is installed.
2) Screen capture of Qemu setting in GNS3 which is located in Edit>Preference. Configure Qemu parameter as picture below.
Motorcycle sketch. Note : Do note omit Qemu options ‘-smp 2’.
So you are now ready to drop up Qemu appliance in GNS3.
Let run simple IP configuration and OSPF neibhour relationship.
Gns3 Vsrx No Ge Interfaces
3) Checking connectivity between two Firefly vSRX instance.
As diagram, we will login into instance with username ‘root’ and there is no password in first boot. And we will configure basic ip connectivity.
vSRX-1 Configuration
vSRX-2 Configuration
By default vSRX is treated as firewall, we need to change to router mode
Both vSRX-1 and vSRX-2
Gns3 Vss
Then, we will reboot to take effect. That have to be done in both vSRX instances.
After reboot, let check connectivity.
It works as expected. Let configure OSPF in both instances.
Verify on OSPF neighbor.
Its all up to you, you can create vSRX instance to build your lab.
- 3GNS3 on a Ubuntu VM (on ESXi)
Introduction
In order to build Proof of Concept networks to test new features in mixed-vendor networks I have decided to create a setup with some virtual routers that I can test and use together with my existing lab environment.
I am going to implement:
- Juniper vSRX on ESXi
- Various Cisco IOS routers trough GNS3 on a Ubuntu VM (on ESXi)
- Juniper vMX on ESXi
Juniper vSRX on ESXi
I downloaded the 'junos-vsrx-12.1X47-D20.7-domestic.ova' file and deployed the OVA (trough the vSphere desktop client) using this and this link.
In order to get make sure the vSRX behaves like a router (packet-mode) a few commands needed to be executed:
GNS3 on a Ubuntu VM (on ESXi)
I started with installing the Ubuntu Server (ubuntu-14.04.3-server-amd64.iso).Ubuntu server installs itself without the GUI that we need for GNS3 later, so I used this link to install the gui with the commands:
I used this guide install all the dependancies for GNS3 and GNS3 itself.
Once GNS3 was installed I created some extra directories (images, projects, configs, ie, capture, and tmp) as a best practice that I found here.
I copied all my IOS images to the 'images' folder and added some routers using this link.
IOU licence generator
Gns3 Vs Boson
There is an option to also use IOU images trough GNS3. In order to do this you need to have an IOU licence which can be created with the script found on this website.
Create a file named 'CiscoKeyGen.py' with the following content:
After the script is runned on the machine I got the following output:
Juniper vMX on ESXi
For the Juniper vMX I used the file 'jinstall-vmx-14.1R1.10-domestic.img' and this link to set it up in ESXi.
Retrieved from 'http://www.iwan.wiki/index.php?title=Virtual_router_instances_Juniper_vSRX,_Juniper_vMX_and_GNS3&oldid=365'