Apr
16

Once you have ESXi 5.1 up and running download the CSR1000v OVA (Open Virtualization Archive) file here. Note that you will need to use your Cisco CCO login to download. Once the download is complete you need to open your vSphere Client and connect to your ESXi server. Once connected select the Deploy OVF Template option from the file menu.

CSR1000v Installation

Select the source of the OVA file you downloaded from your local machine.

The next screen should be simular to the one below after the source has been selected.

The next screen will display the name for the virtual machine. You can change this if you would like.

Now you need to select the datastore:

Next you will be offered the select the disk format. The default option of Thick Provision Lazy Zeroed is fine but for better performance you can select Thick Provision Eager Zeroed. To read more on the options go here.

The next screen will ask you for the mappings for the three Gigabit Ethernet interfaces that are defined in the OVF file. Just select the default here for now and we'll come back to them after our machine is installed as we need to make a couple other changes anyways that can't be done here.

The next screen will be a summary screen so just click finish and then VMWare will start importing the OVA file.

It may take a few minutes to import depending on the connection speed between your vSphere client and the ESXi server.

Once your machine uploaded you can then edit the settings.

Two things we want to do here. First is that we want to alter the Network Adapter settings if needed and add a serial port so that we can use the virtual serial on the CSR1000v. This functionality (network based serial port) requires the Enterprise version of ESXi 5.1. I would recommend that you use the demo version which gives you 59 days unless you have to reinstall the demo ;-)

From here click "Add.." and then select Serial Port and click "Next"

Select "Connect via Network"

Now here is where you want to select "Server" and then enter the IP address of the ESXi server along with the TCP port you want to assign to this machine. Also check "Connect at power on".

After this click finish and we're ready to start up the CSR1000v. Once booted you should see the GRUB menu. Select CSR 1000V Serial Console and hit enter.

You will need to alter the default security settings for the ESXi server to allow TCP port 2005 or whatever port you selected to allow you to telnet to the CSR1000v's serial port. To alter the security settings go to the ESXi's configuration and then select "Security Profile"

From here click on the Firewall Properties link on the right. It will open a window like below:

Here you will need to allow TCP port 2005 or if you are in a lab environment just select "VM serial port connected over network" which will open up all TCP high ports. Now telnet to the IP address of the ESXi machine and port number you entered for the serial port and you should see the router booting.

ccie2210$ telnet 10.4.101.168 2005
Trying 10.4.101.168...
Connected to 10.4.101.168.
Escape character is '^]'.
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Expanding super package on /bootflash
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Creating /boot/grub/menu.lst
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): CD-ROM Installation finished
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Ejecting CD-ROM tray
%IOSXEBOOT-4-BOOT_CDROM: (rp/0): Rebooting from HD

GNU GRUB version 0.97 (638K lower / 3143552K upper memory)

-------------------------------------------------------------------
0: CSR1000v - packages.conf
1: CSR1000v - GOLDEN IMAGE
-------------------------------------------------------------------

Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, or 'c' for a command-line.

Entry 0 will be booted automatically in 1 seconds.
Booting 'CSR1000v - packages.conf'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /packages.conf rw quiet root=/dev/ram console= max_loop=64 HARDWARE=virt
ual SR_BOOT=bootflash:packages.conf
Calculating SHA-1 hash...done
SHA-1 hash:
calculated 6f85a7c5:ebd0151a:b5ada94a:f7a7be4b:d7de713f
expected 6f85a7c5:ebd0151a:b5ada94a:f7a7be4b:d7de713f
package header rev 1 structure detected
Calculating SHA-1 hash...done
SHA-1 hash:
calculated d4ab3a48:ae55f382:4237a12a:7be2c99b:d8f1f594
expected d4ab3a48:ae55f382:4237a12a:7be2c99b:d8f1f594
Package type:0x7531, flags:0x0
[Linux-bzImage, setup=0x2e00, size=0x32e4620]
[isord @ 0x7e0f6000, 0x1ef9800 bytes]

%IOSXEBOOT-4-WATCHDOG_DISABLED: (rp/0): Hardware watchdog timer disabled: watchdog device not found
%IOSXEBOOT-4-EUSB_PROVISIONING: (rp/0): Unsupported low capacity eUSB detected in VXE board

Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-ADVENTERPRISEK9-M), Version 15.3(2)S0a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 30-Mar-13 19:08 by mcpre

Cisco IOS-XE software, Copyright (c) 2005-2013 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.

% failed to initialize nvram

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco CSR1000V (VXE) processor with 1141424K/6147K bytes of memory.
Processor board ID 940WXLZ2LL4
2 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
7774207K bytes of virtual hard disk at bootflash:.

SETUP: new interface GigabitEthernet2 placed in "shutdown" state
SETUP: new interface GigabitEthernet0 placed in "shutdown" state

Press RETURN to get started!

*Apr 16 03:17:58.679: %IOSXE_RP_NV-3-NV_ACCESS_FAIL: Initial read of NVRAM contents failed
*Apr 16 03:17:59.305: %VXE_THROUGHPUT-6-LEVEL: Throughput level has been set to 2500 kbps
*Apr 16 03:18:02.785: %IFMGR-7-NO_IFINDEX_FILE: Unable to open nvram:/ifIndex-table No such file or directory
*Apr 16 03:18:04.449: DSENSOR: protocol cdp is registered with sensor
*Apr 16 03:18:04.470: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Apr 16 03:18:04.911: %LINK-3-UPDOWN: Interface Lsmpi0, changed state to up
*Apr 16 03:18:04.912: %LINK-3-UPDOWN: Interface EOBC0, changed state to up
*Apr 16 03:18:04.912: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*Apr 16 03:18:04.912: %LINEPROTO-5-UPDOWN: Line protocol on Interface LI-Null0, changed state to up
*Apr 16 03:18:05.356: %IOSXE_MGMTVRF-6-CREATE_SUCCESS_INFO: Management vrf Mgmt-intf created with ID 1, ipv4 table-id 0x1, ipv6 table-id 0x1E000001
*Apr 16 03:18:05.406: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to down
*Apr 16 03:18:05.410: %LINK-3-UPDOWN: Interface LIIN0, changed state to up
*Apr 16 03:18:05.455: %DYNCMD-7-CMDSET_LOADED: The Dynamic Command set has been loaded from the Shell Manager
*Apr 16 03:18:05.871: %LINK-3-UPDOWN: Interface GigabitEthernet1, changed state to down
*Apr 16 03:18:05.880: %LINK-3-UPDOWN: Interface GigabitEthernet2, changed state to down
*Apr 16 03:17:58.400: %IOSXE-5-PLATFORM: R0/0: xinetd[19698]: xinetd Version 2.3.14 started with no options compiled in.
*Apr 16 03:17:58.400: %IOSXE-5-PLATFORM: R0/0: xinetd[19698]: Started working: 1 available service
*Apr 16 03:17:58.434: %IOSXE-5-PLATFORM: R0/0: xinetd[19709]: xinetd Version 2.3.14 started with no options compiled in.
*Apr 16 03:17:58.434: %IOSXE-5-PLATFORM: R0/0: xinetd[19709]: Started working: 3 available services
*Apr 16 03:17:59.634: %CMRP-5-PRERELEASE_HARDWARE: R0/0: cmand: F0 is pre-release hardware
*Apr 16 03:18:00.823: %CMLIB-6-THROUGHPUT_VALUE: R0/0: cmand: Throughput license found, throughput set to 2500 kbps
*Apr 16 03:18:03.063: %CPPHA-7-START: F0: cpp_ha: CPP 0 preparing image /tmp/sw/fp/0/0/fp/mount/usr/cpp/bin/qfp-ucode-csr
*Apr 16 03:18:03.179: %CPPHA-7-START: F0: cpp_ha: CPP 0 startup init image /tmp/sw/fp/0/0/fp/mount/usr/cpp/bin/qfp-ucode-csr
*Apr 16 03:18:06.407: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down
*Apr 16 03:18:06.409: %LINEPROTO-5-UPDOWN: Line protocol on Interface LIIN0, changed state to up
*Apr 16 03:18:06.872: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1, changed state to down
*Apr 16 03:18:06.881: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2, changed state to down
*Apr 16 03:18:07.325: %DYNCMD-7-PKGINT_INSTALLED: The command package 'platform_trace' has been succesfully installed
*Apr 16 03:18:25.342: AUTOINSTALL: GigabitEthernet1 is assigned 10.4.101.228
*Apr 16 03:18:41.567: %LINK-5-CHANGED: Interface GigabitEthernet0, changed state to administratively down
*Apr 16 03:18:41.782: %LINK-5-CHANGED: Interface GigabitEthernet2, changed state to administratively down
*Apr 16 03:18:43.361: %IOSXE_OIR-6-INSCARD: Card (rp) inserted in slot R1
*Apr 16 03:18:43.361: %IOSXE_OIR-6-INSCARD: Card (fp) inserted in slot F0
*Apr 16 03:18:43.361: %IOSXE_OIR-6-ONLINECARD: Card (fp) online in slot F0
*Apr 16 03:18:43.423: %SYS-5-RESTART: System restarted --
Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-ADVENTERPRISEK9-M), Version 15.3(2)S0a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 30-Mar-13 19:08 by mcpre
*Apr 16 03:18:43.501: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Apr 16 03:18:43.501: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Apr 16 03:18:43.540: %LINK-3-UPDOWN: Interface GigabitEthernet1, changed state to up
*Apr 16 03:18:44.541: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1, changed state to up
%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
%Error opening tftp://255.255.255.255/router-confg (Timed out)
%Error opening tftp://255.255.255.255/ciscortr.cfg (Timed out)
%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
%Error opening tftp://255.255.255.255/router-confg (Timed out)
%Error opening tftp://255.255.255.255/ciscortr.cfg (Timed out)
Router>

At this point I haven't activated the license so the router is limited to 2.5Mbps throughput. To activate the demo license use the platform hardware throughput level command in global configuration mode.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#platform hardware throughput level ?
10000 throughput in kbps
25000 throughput in kbps
50000 throughput in kbps

Router(config)#platform hardware throughput level 50000
Feature Name:prem_eval

PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR
LICENSE KEY PROVIDED FOR ANY CISCO PRODUCT FEATURE OR USING SUCH
PRODUCT FEATURE CONSTITUTES YOUR FULL ACCEPTANCE OF THE FOLLOWING
TERMS. YOU MUST NOT PROCEED FURTHER IF YOU ARE NOT WILLING TO BE BOUND
BY ALL THE TERMS SET FORTH HEREIN.

Use of this product feature requires an additional license from Cisco,
together with an additional payment. You may use this product feature
on an evaluation basis, without payment to Cisco, for 60 days. Your use
of the product, including during the 60 day evaluation period, is
subject to the Cisco end user license agreement
http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html
If you use the product feature beyond the 60 day evaluation period, you
must submit the appropriate payment to Cisco for the license. After the
60 day evaluation period, your use of the product feature will be
governed solely by the Cisco end user license agreement (link above),
together with any supplements relating to such product feature. The
above applies even if the evaluation license is not automatically
terminated and you do not receive any notice of the expiration of the
evaluation period. It is your responsibility to determine when the
evaluation period is complete and you are required to make payment to
Cisco for your use of the product feature beyond the evaluation period.

Your acceptance of this agreement for the software features on one
product shall be deemed your acceptance with respect to all such
software on all Cisco products you purchase which includes the same
software. (The foregoing notwithstanding, you must purchase a license
for each software feature you use past the 60 days evaluation period,
so that if you enable a software feature on 1000 devices, you must
purchase 1000 licenses for use past the 60 day evaluation period.)

Activation of the software command line interface will be evidence of
your acceptance of this agreement.

ACCEPT? (yes/[no]): yes

*Apr 16 04:30:21.271: %LICENSE-6-EULA_ACCEPTED: EULA for feature prem_eval 1.0 has been accepted. UDI=CSR1000V:940WXLZ2LL4; StoreIndex=0:Built-In License Storage
Router(config)#
*Apr 16 04:30:23.939: %VXE_THROUGHPUT-6-LEVEL: Throughput level has been set to 50000 kbps
Router(config)#

This technically isn't needed if you are going to use it in a lab environment. At this point your router is ready to go.

Router(config)#do sho run
Building configuration...

Current configuration : 1047 bytes
!
version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no platform punt-keepalive disable-kernel-core
platform console serial
platform hardware throughput level 50000
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
spanning-tree extend system-id
!
!
redundancy
mode none
!
!
!
!
!
!
ip tftp source-interface GigabitEthernet0
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet1
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet2
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
shutdown
negotiation auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end

Router(config)#

Now that my router is ready to go I'll clone it because a single router isn't much to learn on. Ideally if you are going to reuse this machine in the future you wait to activate the license after the device is cloned. To clone the machine go to the server configuration tab and then select the datastore where you installed the CSR1000v onto and then right click on it. From there select "Browse Datastore..."

From here go under the directory for the CSR1000v and copy the contents of the directory. From there click on the root of the datastore and then select the folder icon to add a new directory.

Enter the directory name and then paste the contents into the new directory. After it has been pasted in, right click on the "Cisco CSR1000v Cloud Services Router.vmx" file and select "Add to Inventory". Change the default name if you would like and select the "Resource Pool" and finally finish.

You should now see the second CSR1000v in your ESXi server's inventory. From there we'll edit the settings to change the TCP port number for the virtual serial port and apply any VLANs from the ESXi to the CSR1000v's Gigabit Ethernet interfaces.

You are now ready to start up the second router. Note that after you start it VMware will ask you if you copied the virtual machine or moved it. Select "I copied it" and then click ok. Your router will now boot up.

ccie2210$ telnet 10.4.101.168 2006
Trying 10.4.101.168...
Connected to 10.4.101.168.
Escape character is '^]'.
Entry 0 will be booted automatically in 1 seconds.
Booting 'CSR1000v - packages.conf'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /packages.conf rw quiet root=/dev/ram console= max_loop=64 HARDWARE=virt
ual SR_BOOT=bootflash:packages.conf
Calculating SHA-1 hash...done
SHA-1 hash:
calculated 6f85a7c5:ebd0151a:b5ada94a:f7a7be4b:d7de713f
expected 6f85a7c5:ebd0151a:b5ada94a:f7a7be4b:d7de713f
package header rev 1 structure detected
Calculating SHA-1 hash...done

The router will now be booting up and ready to go.

Use the same procedure outlined above to create as many routers as you like. You will of course want to create VLANs within the ESXi server to allow communication between the routers. For an overview of how to manage the ESXi's networking configuration go here.

Tomorrow I'll post another installation guide on how to install the CSR1000v in VMware Workstation and use it as a production router providing internet access.

Lastly if anyone would like to try out a few of these send me an email and I'll get you access.

Oct
02

Below are the links to the INE CCIE R&S TS Lab 1 GNS3 files. If you are familiar with GNS3 it shouldn't be too hard to get up and working. The IOS image needs to be referenced and the idle PC values set for your machine. I would also highly recommend tuning up any protocol timers to their max values as this eases the load on GNS3 with such a big topology.

Note that in the ticket 4 isn't an issue for the GNS3 topology.

Download Link

Mar
27

INE is proud to announce that our long awaited CCIE Service Provider Lab Workbook Version 3.0 is now available!  The initial pre-release of the workbook contains over 500 pages of technology focused labs to help you prepare for Cisco’s newest CCIE Service Provider Lab Exam.  Similar to other “rough cut” books, the pre-release of the workbook is for students that want to begin work on their hands-on preparation for the lab exam without further delay.  Over the next few weeks the workbook will be updated to include more technology labs, along with the full scale labs.  The workbook includes a GNS3/Dynamips .net file that is compatible with the topology, and rack rentals that include IOS XR will be available soon.  A sample of the workbook can be found here.

INE’s CCIE Service Provider Lab Workbook Version 3.0 is broken down into two main sections , Advanced Technologies Labs and Full Scale Labs.  The first workbook section, the Advanced Technologies Labs, is the hands on practice companion to INE’s CCIE Service Provider Advanced Technologies Class Version 3.0.  This section consists of hands-on, individually-focused, advanced technology labs that present topics in an easy to follow, goal-oriented step-by-step approach.  The purpose of this section is to isolate each topic on its own so that you are able to see firsthand the various ways to configure each technology. By understanding these fundamental technologies, you will then be able to predict advanced and sometimes subtle interactions when configuring multiple technologies together.  The second workbook section, Full Scale Labs, consists of 8-hour lab scenarios that are designed to simulate the actual CCIE Service Provider Lab Exam, and at the same time illustrate the principles behind the technologies that it covers.

The recommended approach for using this workbook is as follows:

  • Watch the videos in the CCIE SPv3 Advanced Technologies Class
  • Follow the recommended readings from class, including the Cisco Documentation
  • Configure the associated labs in the Advanced Technologies Labs section
  • Revisit the videos and readings for further clarification
  • Configure the labs in the Full Scale Labs section
  • Take and pass the CCIE SPv3 Lab Exam!

The physical topology for INE’s CCIE Service Provider Lab Workbook Version 3.0 uses 10 routers and 2 switches, which include a mix of 7200s, 2600s, XR 12000s, Catalyst ME3400s, and Catalyst 3550s.  This topology has the flexibility to mimic the requirements of Cisco’s actual CCIE Service Provider Version 3.0 hardware blueprint, while still minimizing the cost for users building their own lab at home or work, and allowing for users to run the regular IOS portion of the topology in GNS3/Dynamips.

Specifically the platforms used in the development of this workbook are as follows:

Physical wiring for the topology is as follows:

 

 

Jan
03

INE would like to thank Nadeem Rafi for this guest blog post on using GNS3 with Ubuntu! Nadeem is one of our prized CCIE 2.0 Self-Paced students currently studying hard for his CCIE R&S exam. You will often see Nadeem in the INE Online Community working with his fellow students. Nadeem is currently enjoying 100 rack rental tokens from Graded Labs for his excellent post here!

Installing and Dual Booting Ubuntu

Linux is a stable Operating System and applications that do intense calculations can be handled in a more optimized way, as compared to other proprietary Operating Systems. Perhaps one of the best things, however,  is the fact that it is free and can co-exist with other Operating Systems.

Ubuntu is more user friendly than many other Linux flavors, especially considering that almost everything works out of the box with most laptop installations.

Ubuntu can be obtained in both 32-bit and 64-bit versions from:

http://www.ubuntu.com/GetUbuntu/download

For more information about how to install and dual boot with Windows XP (XP installed first), visit:

http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm

For more information about how to install and dual boot with Windows Vista (Vista installed first), visit:

http://apcmag.com/how_to_dualboot_vista_with_linux_vista_installed_first.htm

After you have installed and booted Ubuntu successfully, you can proceed to the installation of GNS3 and the supporting software.

GNS3 and Supporting Software Installation

Installation of GNS3 is quite simple.

Step 1 - System - Administration - open the Synaptic Package Manager. You will be prompted for a password. Use your login password here.

Step 2- In the search box, type gns3, which returns the GNS3 and Dynamips packages. Select both of the packages (mark for installation).  In the pop up window it will show all of the dependencies which these two packages require. Click Mark for these as well.  Click Apply and installation will start by downloading and configuring GNS3 + Dynamips along with all required applications.

e-pic-1

Step 3 - After successful installation, you will see the following icon: Applications - Education - GNS3 Graphical Network Simulator.

Step 4 - For a multi tab console we need to install the utility called konsole.  In the Synaptic Package Manager type konsole and install it as previously described.

For best results, it is now time to configure Ubuntu for ease of use with GNS3.

Configuring Ubuntu for GNS3

For best operation of GNS3, we will create some directories. This will help to have a managed hierarchy of folders and files. Note: file and folder names under Linux are case sensitive, so the best option is to use lowercase names in all situations.

Step 1 - Create one root context-enabled Explorer. Go to Applications - System Tools and right click File Browser. Select Add this launcher to desktop.

Step 2 - You will see a new shortcut on the desktop for the file browser. Right-click it and choose Properties. In the Properties box you will see a command similar to “nautilus --no-desktop --browser %U”, which we need to replace with “gksudo nautilus” (without quotes). Now whenever you launch this version of the file browser, it will launch in root context and anything opened within this browser will automatically operate in the root context.

e-pic2

Step 3 - Now we will create one more shortcut for GNS3; using the above method. The only difference will be the command line text “gksudo gns3”. This shortcut will help you to launch GNS3 in the root context.

e-pic3

Step 4 - Open explorer using your newly created shortcut (root context file browser). Click on File System and create one new folder named gns3 (all lowercase).

e-pic4

Step 5 - Inside the gns3 folder, create the following folders: images, projects, configs, ie, capture, and tmp.

  • images will be used for storing images
  • projects will be used for storing .net files
  • ie will be the working directory for router temp files
  • capture will used for capturing network traffic
  • tmp will be used for temporary files created by GNS3

Configuring GNS3

Before we start configuring GNS3, you have to provide at least one IOS image, preferably in an unzipped format. Ensuring the image is unzipped will save  time when your routers boot and they will not need to unzip each time they are launched.

Step 1 - GNS3 requires to be run by the root account (admin account), for that we have created a shortcut which launches GNS3 in the root context. Launch Gns3 using this shortcut.

e-pic5

Step 2 - For the time being, cancel the first dialog box, and click on Edit - IOS Images and Hypervisors and click on the IOS Images in the newly opened window. (I assume that you have already placed one IOS Image of your choice into the /gns3/images folder). Please navigate to that folder and select your image, platform, and model accordingly. If you have a good Idlepc value, you can place it here also along with the default RAN for this IOS image. Do not forget to click on the Default image for this platform.

e-pic6

Step 3 - Now click on the External Hypervisors tab. Provide the proper working directory here /gns3/tmp and hit save 6 times. It will create 6 instances of Hypervisor.

e-pic7

Step 4 - Now go to Edit - Preferences and in the newly opened window, click on General and then on the General Settings tab. Configure this window as shown in following image, and replace the terminal command with the following:

/usr/bin/konsole --profile "gb" --new-tab -p tabtitle=%d -e telnet %h %p >/dev/null 2>&1 &

NOTE: The blog software is truncating one of the two  hyphens (-) before the keyword new in the above command.

NOTE: This modification is only required if you want to use konsole (multi tab terminal emulator), otherwise you can leave it as is.

e-pic8

Step 5 - Now click on Dynamips - Dynamips and configure this window per the following graphic:

e-pic9

Step 6 - After applying the above configuration, press Test. If everything succeeded, you will see "Dynamips successfully started”. If you want to capture and examine packets, click on Capture and provide the path to your capture directory: /gns3/capture (this directory was created earlier). You also need Wireshark for packet analysis.

Creating the First Project

Step 1 - Go to your /gns3/projects folder and create one file and rename it test.net.  Right click it and chose “Open with”, then “Open with other application”. In the command line type gns3, and click open. NOTE: Next time you can open any .net file by double clicking it, (this is the way of handling .net files because of a bug in GNS3 for Linux).

Step 2 - From the node types area, drag two instances of a router 3700 to the middle of the workspace ( I used the 3700 image, if you have used any other supported image, then drag that platform). Connect the devices using the Connect tool and then run the topology using the Run button.

pic10

You are now ready to create your topologies and start emulating. Remember, you can save your topologies to your /gns3/projects directory for later usage.

Happy emulating everyone! :-)

Dec
22

As many of you know - I am NOT the Dynamips guru around here. For advanced questions on GNS3 and or Dynamips, I immediately direct students to our forum on ieoc.com. That is where all the emulating whiz kids hang out. With that said, I like to have a copy running on every computer I own. While I do not do full practice labs on the platform (I use Graded Labs for that), I love to be able to build little mini-scenarios on the fly whenever I quickly need to test a feature.

Last night I purchased Windows 7 Home Premium and set out to eradicate Windows Vista, doing a "clean install" for the upgrade. I thought I would walk you through the installation of GNS3 on this system as I heard that students have been having issues. Well, here we go (fingers crossed!):

Step 1: Download the all-in-one package for Windows from the download area of the gns3.net website.

Step 2: Install all components using a spousal approach (say "yes dear" to every prompt).

Step 3: Launch GNS3 using the Start Menu icon.

Step 4: Click 1 - Configure the test....

Step 5: Click Dynamips, then click the Test button. Dynamips fails to start. I notice the path to dynamips-wxp.exe is incorrect.

Step 6: Click the Browse button for the Executable Path and navigate to Program Files (x86) - GNS3 - Dynamips and select dynamips-wxp.exe and click Open.

Step 7: Click Test and Allow Access through the Windows Firewall.

Step 8: Dynamips starts successfully. Now time to setup the image. Click OK.

Step 9: Click 2 - Add one or more....

Step 10: Use the Browse button to select your image file.

Step 11: Click Save, then Close, then OK.

Step 12: Now time to set the critical Idle PC value. Drag an icon for your platform into the workspace.

Step 13: Right-click the device and choose Start.

Step 14: Use your favorite Telnet application and Telnet to the device.

Step 15: Respond to all prompts and access User Mode.

Step 16: Right-click the device in the workspace and choose Idle-PC.

Step 17: Choose the first Idle-PC value marked with a asterisk.

Happy emulating! Be sure to use the Task Manager to check on CPU usage as you work with the emulator.

Dec
11

We are thrilled to announce Lab 1 of the Version 4 R&S Dynamips product is released and available in all member accounts that are Volume II subscribers or previous Dynamips subscribers.

Lab 2 should also be completed this week as well.

All 20 labs are targeted for release by Feb 1, 2010.

Happy emulating everyone!

Sep
11

Hello all. I have had some peers ask me for help in getting up and running quickly with GNS3 to help master the PIX/ASA.

Here is my step-by-step on that.

I am installing on the following system:

  • Alienware

  • Windows Vista Home Premium

  • AMD Athlon 64 X2 Dual Core Processor 5600+ 2.80 GHz

  • 4 GB RAM

Notice I am running Vista (sigh). There is a lot of misinformation out there about GNS3 not working with Vista. This is not true, as you will read below.

I head up to www.gns3.net and download the WIN32-all-in-one EXE file available from the Download area. I run this EXE and proceed with the install. This is a “spousal” installation, just say YES (next) to everything the install wizard has to ask you. :-)

In order to get ready to run my first emulations, I have created a folder called c:\Cisco Images and I have placed the following images there c3725-advsecurityk9-mz.124-15.T7.bin, pix723.bin, and pix724.bin. I should mention that for all of this I want to be logged in as a Vista Administrator.

I now launch GNS3 and perform the following:

Step 1: In the Setup Wizard dialog click the large 1 button.

Step 2: Click the Dynamips option in the left pane and click the Test button on the Dynamips tab to ensure that Dynamips can be found successfully.

Step 3: Click Pemu in the left pane and in the Defaults PIX settings area, click the button and select your PIX image from your Cisco Images folder. In my case, this results in C:\Cisco Images\pix724.bin.

Step 4: Click the button for Base Flash: and select your base flash image. In my case, this results in C:\Cisco Images\pix723.bin.

Step 5: Click OK in the Preferences dialog.

Step 6: Click the large 2 button.

Step 7: Under the Settings area, click the button and choose your IOS image file from your Cisco Images folder.

Step 8: Choose Save and then Close from the IOS images and hypervisors dialog.

Step 9: Click OK in the Setup Wizard.

Step 10: In GNS3, drag your router model from the Nodes Type pane into the main topology pane. Right-click the router (R0) and choose Start.

Step 11: Right-click the router and choose Idle PC. Click OK in the IDLE PC dialog. Click OK in the next IDLE PC dialog.

Step 12: Drag the PIX firewall from the Nodes Type pane into the main topology pane. Right-click the firewall (FW0) and choose Start. NOTE: If your firewall fails to start with an error 209, it might be a Vista permissions issue. Close everything down. Right-click the file C:\Program Files\GNS3\pemuwrapper.exe and choose Run As Administrator. Then from the Start Menu, right-click GNS3 and choose Run As Administrator. You should be fine now.

Step 13: From the GNS3 toolbar, choose the Add a Link button. Click Manual. Click R0 and choose an interface and then click FW0 and choose an interface.

Step 14: You are now ready to configure your devices and start having some fun! Hover your mouse over a device you want to configure and notice the port number. Use your favorite terminal program (Terra Term, CRT, HyperTerminal) and connect to Localhost and that port number you just found.

Happy Emulating!

Subscribe to INE Blog Updates

New Blog Posts!