GNS3

Good evening friends, today we will see how to enable IPv6 on a cisco router with cisco ios. To know what is IPv6, go here. Enabling IPv6 routing on a cisco router is pretty easy and involves only a few commands.

First of all, we have to enable the router to pass IPv6 traffic. In global configuration mode of the router, type command “ipv6 unicast-routing”. Then go to the specific interface on which you want to configure IPv6 addressing by typing command “interface <type> <number>”  as shown below.  Type command “ipv6 enable”.

ipv6 on a cisco router

Now let’s check whether IPv6 is enabled or not on our specified interface. Go back to Privileged Exec Mode  and type command “show ipv6  interface ethernet1/0″. To know about different modes on Cisco IOS, go here. Now when we type the above command, we can see that our device has been assigned a IPv6 address as shown below.

ipv6 on a cisco router

 

I am self learning for CCNA. A few months back, I got a thought if we can simulate routers in Vmware Workstation. While I was searching for it I found a different solution, GNS3. After simulating routers in GNS3 and practising CLI interface, I had another idea if we can simulate CISCO Graphical User Interface on our PC. This article is  result of that.

In this article, we are not only going to see how to connect Vmware and GNS3 but also see how to simulate CISCO Graphical user Interface (GUI). For this I use,

1. Vmware Workstation 9.

2. Windows XP as Guest OS.

3. Cisco Security Device Manager v25.

4. GNS3.

5.  C7200 Router Image.

Open Vmware Workstation. On the menu Select “Edit>Virtual Network Editor”. On the Virtal network editor, click on “Vmnet1″ network. It is a default Host-only type network adapter of Vmware. Observe its settings. Enable DHCP server.

vmgns1

 

Install Windows XP as a guest. On its virtual machine settings, change the network adapter to “Vmnet1″.

vmgns2

 

Power on the machine. Install Cisco SDM ( I leave the getting Cisco SDM part to you ). Open CMD and type “ipconfig” to see its IP address. Take note of this.

vmgns3

Open GNS3. Click on “Browse all devices”.

vmgns4

 

Select Router “c7200″ and drag it to the workspace. Do the same with “Cloud”.

vmgns5

 

Close the All Devices tab. Right click on the Cloud.  Select “Configure”, a ‘node configurator’ window will open. On this window, click on “C1″.

vmgns6

On the NIO Ethernet tab, in the “Generic Ethernet NIO tab” dropdown menu, select our network adapter (Vmnet1) from the dropdown menu and click on “Add”. Click on “OK” to close the window.

vmgns7

Right click on the router. Select “Configure”, click on “R1″. Select slots tab. In the Slot 1 dropdown menu, select “PA-4E”. Click on Apply an close the window. The selection PA-4E creates four Ethernet ports on the router. Right click on the router and start the router.

vmgns8

Add a link from “cloud( Vmnet1)” adapter to the “e1/0″ port on the router.

vmgns9

Hover your mouse over the router. We can see all the ports.

vmgns10

Similarly hover your mouse over the cloud to see its connections.

vmgns11

 

Right click on the router and select “Console”. In the global configuration mode, type the following commands.

ip http server”

ip http secure-server”

These commands set up http and https servers respectively which are needed for Cisco SDM.

vmgns12

Type the command “interface Ethernet 1/0″. We are entering into specific configuration mode of our connected interface. Type the command “ip address 192.168.10.3 255.255.255.0″. This sets the interface IP address and subnet mask. Make sure the router IP address is in the same subnet as that of our guest OS in Vmware workstation. Type “no shut” and exit to the privileged mode.

vmgns13

Let’s ping our guest from the router. to ensure that we are connected to Vmware Guest.

vmgns14

Since success rate is 100%  we have successfully connected Vmware and GNS3. Now let’s do the Cisco SDM part. On our Guest machine click on Cisco SDM. A SDM launcher window will open. Type the IP address of the router and click on Launch.

n16

 

Internet Explorer will open as below. Make sure Internet Explorer is configured to allow pop ups and to allow Activex to run from the computer.

n17

 

After some time the following popup will open. Don’t close it.

n18

 

Then we might see a certificate warning. Click on Yes.

n19

 

After some processing, Cisco SDM will open.

n20

 

We have successfully simulated Cisco GUI on our PC. Happy practice friends.

One day, I was intently searching for a method to emulate a router or switch in Oracle VirtualBox  After a long search, I didn’t find a method but I found  another virtualizing software called GNS3.  GNS3 is a network emulation software which can be really helpful to someone preparing for CCNA,CCNP,CCIE,JNCIA,JNCIS and JNCIE. It can emulate  Cisco IOS’s, Junos routers and also  complex networks functioning as close as possible to the real networks without needing the network hardware like routers and switches. The best part of it is that it is open source. However we will have to download Cisco IOS and Junos separately.

GNS3 is available for Windows,Linux and MacOS X. In this article, I am going to show you how to install GNS3 in Windows step by step.

Download the software suitable for your Windows from here. The all-in-one download is recommended.

Click on the executable file downloaded. The welcome message pops up.Click on “Next”.

w1

Then the License Agreement is displayed.Click on “I Agree”.

w2

 

Then you are asked to choose the start menu folder in which your  program’s shortcuts will be stored. If you choose the default folder, click “Next”. You can also create a new folder if you want.

w3

 

Then you can choose which components you want to install from the components shown. I suggest you to choose all the options. Click on “Next”.

w4

 

Then you are asked to choose where you want to install your program. you can choose a different folder if you want but the default folder should be OK. Click on “Install”.

w5

 

Then the WinPcap installation wizard starts. WinPcap is an opensource library for packet capture and network analysis for Win32 platforms. Click on “Next”.

w6

 

Click on “Next”.

w7

 

On the WinPcap License Agreement, click on “I Agree”.

w8

 

On the review WinPcap installation options, Click on “Install”.

w9

 

The installation starts.

w10

 

After the installation is finished, Click on “Finish”.

w11

 

Then the  Wireshark installation wizard” opens (only if you selected the component for installation above). Wireshark is a network sniffer. Click on “Next”.

w12

 

You are shown the License Agreement of Wireshark. Click on “I Agree”.

w13

 

Then you are prompted to select the components of Wireshark you want to install. Choose all and Click on “Next”.

w14

 

Then you are prompted to select which shortcuts you want to create. The choice is yours. Click on “Next”.

w15

 

 

Then choose the directory in which you want to install Wireshark and click on “Next”.

w16

 

Then Wireshark starts installing.

w17

 

After the installation is completed, Click on “Next”.

w18

 

Then Completion of Wireshark installation Wizard appears. You are prompted to choose if you want to run Wireshark. Don’t make any selection. Click on “Finish”.

w19

 

Then the installation of GNS3 starts.

w20

 

After the installation is completed, click on “Next”.

w21

 

Completion of GNS3 wizard appears. Click on “Finish”.

w22

 

Start GNS3. The following window appears when we start GNS3 for the first time. Click on 1(the space enclosed in a red box).

w23

 

This is to check whether path to Dynamips and the path to its working directory are valid or not. Dynamips is the core program that allows IOS simulation.Click “OK”.

w24

 

Let’s go to Step 2. Here we configure path to our IOS image directory.We have to store all our images in this directory.Make changes to the path if you want otherwise click on “OK”.

w25

 

Step 3: In this step, we will add one or more uncompressed IOS images of a router or switch. As already said, IOS images should be downloaded separately due to license agreements.

w26

Browse to the folder where your IOS image is.I am adding a CISCO c3700 router for example. Click on Save and your window should like this.

w27

 

Click on “Close” and your GNS3  windows appears.

w28

 

In the Node Types section, click on C700 (the type we just added)  and drag it to the right to see if our router has been added or not. If it is like below, then your installation is success. Happy practising.

w29