Skip to main content

Posts

Showing posts with the label GNS3

Cisco ASA in GNS3

Here is another tutorial running Cisco ASAv on GNS3 using Qemu. For Configure GNS3 In My case I have used ASAv952-204.qcow2 Go  to the GNS3>Edit>Preferences>QEMU>Qemu VMs>New Follow on screen procedure.  Don't forget to enable kvm and memory allocation.  Now you can see I can run ASAv 9.5.2 Blank Password.

EoMPLS Configuration

EoMPLS is point to point L2 VPN services which is used to transport all Ethernet frame received on particular Ethernet or VLAN,  its also called Any Transport over MPLS(ATOM) means this technology can connect like Frame-Relay, PPP, Ethernet,ATM etc. IOS used c7200-adventerprisek9-mz.151-4.M Logical Topology   Make sure MPLS with IGP  is confugure as shown in a diagram. I'm not going to configure MPLS here. This tutorial only show how to configure xconnect tunnel peer with other side customer faces interface in our network diagram we interconnect PE1 fa1/0 with PE2 fa0/0 interfaces. Config of PE1 PE1#sh run Building configuration... Current configuration : 1337 bytes ! upgrade fpd auto version 15.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname PE1 ! ip cef interface Loopback0  ip address 2.2.2.2 255.255.255.255  ip ospf network point-to-point  ip ospf 1 area 0 ! interface FastEthernet0/0  ip ad

Configuring a Basic MPLS VPN

It's been a long time I'm away from blogging due to some R&D on the network with Juniper boxes. On this tutorial I'm going to configure very basic MPLS VPN configuration in GNS3. After that we go for EoMPLS configuration. This is the logical topology for this tutorial.   Here I only post the configuration file from PE other router configuration is almost same. Here is the points should be remember. 1. Make sure IGP with MPLS is configure on PE,P, it shouldn't be configure on customer facing interface. 2. Make sure all loopback interface is reachable.  3. Configure VRF with RD and RT, then applied it on right interface. 4. Configure MP-BGP on PE and peer it. 5. Make sure to redistribute the CE IGP protocol into the BGP and vice versa. Below command can be copy paste into your router. Before that make sure you had make change necessary things. Config from PE1 PE1#sh run Building configuration... Current configuration : 2126 bytes ! versi

Juniper DHCP Server Configuration

We already configure our QEMU in GNS3 and run our vSRX Router. Now its time to configure DHCP server in our vSRX router. Lets began. Logical Diagram for this tutorial To configure DHCP server Assign Lowest and highest IP range root# set system services dhcp pool 192.168.1.0/24 address-range low 192.168.1.50 high 192.168.1.200 Assign DNS server (in my case I had used Router interface IP) root# set system services dhcp pool 192.168.1.0/24 name-server 192.168.1.1 Assign IP address of the router root# set system services dhcp pool 192.168.1.0/24 router 192.168.1.1 Assign the lease time root# set system services dhcp pool 192.168.1.0/24 default-lease-time 3600 Assign DHCP as an allowed inbound service for the interface which we are going to enable DHCP. root# set security zones security-zone untrust interfaces ge-0/0/1 host-inbound-traffic system-services dhcp Assign IP address to the client faced interface. root# set interfaces ge-0/0/1 unit 0 family inet ad

vSRX GNS3 QEMU

In this tutorial I'm going to run vSRX JunOS in QEMU and configure it as DHCP Server. Lets began with installing vSRX into QEMU. I have try vSRX to run into Vbox but never succeeded. So I better to choose QEMU otherwise waste of time. In my case I had used junos-vsrx-12.1X46-D10.2-domestic to mount into QEMU. Search for it. Now we have to convert our .vdi file into .image, for that use following command cd d:\junos\ c:\Program Files\GNS3\qemu\>qemu-img.exe convert -O qcow2 d:\junos\junos-vsrx-12.1X46-D10.2-domestic-disk1.vdi d:\junos\junos-vsrx-12.1X46-D10.2-domestic.img We just made our image ready to run into QEMU. Go the GNS3 Note: Strongly recommended to use QEMU in linux and enable KVM otherwise it eats up all your CPU and RAM. -nographic -smp 2 -enable-kvm >edit>preference>choose "QEMU VMs" Click on "New" Choose "Default " Gave Name "vSRX" (in my case). I'll use following topology

Juniper Message from syslogd

While doing some lab test, this weird syslogd message appear every seconds on the console terminal, so it was very difficult to complete the lab. This messages are due the following syslog configuration .  So for now we are going to de-activate it to generating the message #deactivate system syslog user *  #commit

vSphere Client Displays Empty Inventory

Suddenly my home datacenter  vsphere lab show empty inventory in vSphere client. There was no any host at all. I have three ( Cisco IOU, CentOS 7, Ubuntu server) host configure for lab  purpose. So I must recover those host to complete my lab because I almost completed all labs.  Thus here is process how to retrieve those lost host from vSphere client in vSphere 6 database. Step 1: Login to the vSphere client choose your database from Configuration Tab > right click database and choose "Browse Dababase". Step 2: Now next window open the database page. From here open your host folder then choose ".vmx" right click and choose "Add to inventory" then follow the onscreen instruction. Next window  Select the database Next click to finish Now your server is in the inventory list, you can run the server. In my case its my CentOS 7 server, it will run smoothly. 

JunOS VirtualBox GNS3

 This is the Step 2 in our GNS3 Lab with JunOS, Quagga and Cisco router. I have tried different tutorial posted in other blogs. I've never found any tutorial  work until now. Every-time I stuck at the middle of the tutorials.  In this blog post, I'll show you how to install JunOS in VBox and later I'll integrate it into GNS3 lab. I have take Olive12.1R1.9.img, I know you're smart to get it from the Internet. Lets begin the installation of JunOS. Before that, convert the JunOS image into Vbox vdi Image. For easy installation and to avoid error during this tutorial, enter into the JunOS folder, in my case. This tutorials assume that you have already install GNS3 and VBox . Step 1 Prepare JunOS for VBox. C:\Users\jpudasaini\Desktop\jun>"C:\Program Files\Oracle\VirtualBox\VBoxmanage" convertdd Olive12.1R1.9.img Olive12.1.R1.9.vdi Its take time to convert the image, wait for few minute depends on your PC configuration. Now go to the jun fol