GNS3 on Ubuntu 9.10 the IPexpert Way

By Tyson Scott on July 5th, 2010

A brief introduction to GNS3 and Dynamips

GNS3 is a front end for Dynamips.  Dynamips, which was written by Chris and released at http://www.ipflow.utc.fr/blog/, is the backend that emulates the router platforms.  Sadly the final version released is 2.8 RC2. Reportedly Chris had worked on some enhancements after this release but those enhancements never made it into public hands.

Dynagen, written by Greg, was the first non-gui interface made for Dynamips to make life easier. It has a very nice command line interface and is quite stable. It also has a slight performance edge over GNS3. But the ease of use with GNS3 still makes it more attractive than a slight performance enhancement.

If you would like to use Dynagen, it can be downloaded from http://dynagen.org/

GNS3

GNS3 started as a project for university students. And it is the most successful graphical interface for Dynamips.  Although some Chinese authored a few GUI interfaces they never take off.  They are also out of scope for this guide to discuss those reasons.

GNS3 is maintained at following site: http://gns3.net/

Important Note: In this IPexpert Guide, GNS3 is used as a collective word for the combination of the backend software (Dynamips) and the frontend software (GNS3 itself).

GNS3 is well known as the non official Cisco emulator; it can run Cisco IOS on the platforms supported by the program. It’s important to note that, GNS3 is not a simulator it is an emulator. It can support all the commands and features supported on the hardware it emulates.  When people say, GNS3 cannot emulate switching; they are misunderstanding the purpose of GNS3. GNS3 supports switching based on the capabilities of the supported platforms. Restrictions in switching are not because GNS3 doesn’t support it.  The limitations are put on the hardware platform that is supported, namely the NM-16ESW.

Platforms and modules supported by GNS3.

  1. 1700 routers
  2. 2600 routers
  3. 3600 routers
  4. 3700 routers
  5. 7200VXR series
  6. NM-16ESW switching module
  7. WIC modules
  8. NM-CID
  9. NM-NAM
  10. NM-xT/ NM-xFT
  11. Native Etherswitch support and Frame-Relay support

Some important GNS3 components:

Autostart = False/True

This setting allows you to automatically start all the devices when you load you topology if it is set to “True”. We recommended this value be set to “False”.

Ghostios = True/False

This allows GNS3 to run multiple copies of a single image, reducing resources on the workstation. We highly recommended setting it to “True”, in all situations.

Sparsemem = False/True

This setting allows GNS3 to control memory handling. In case this feature is set to “True”, GNS3 will only utilize memory as needed by each running device and unused memory will be swapped to hard disk. This feature is good for machines which lack memory.

But this feature makes your overall performance much slower.  This is because excessive swapping of virtual memory with the hard drive.  If your computer can handle the memory required by to run all the devices (memory required by one device x number of devices) then you should set this to “False”.

IDLEPC = 0x????????

Many consider this “THE” most important part of GNS3 configuration.  It can dramatically change your overall experience. Basically, this value defines the resources the emulated Cisco Routers will use. The IDLE PC value instructs devices to release resources and go idle during while the router is running idle.  This then allows resources to be freed up and made available to the other devices. It is kind of co-operative multi-tasking being done among the emulated instances.  You should spend sufficient time to find a good combination of IDLEPC value suited for his/her IOS and computer platform.

It is important to understand that our goal is for you to have smooth GNS3 experience. If you can emulate the IPexpert topology with your PC’s CPU running around a scale of 60-70% when all of your devices powered on and you have a handful of configurations loaded, then don’t waste more time on finding better values. This is the performance you should expect.  Don’t waste additional time trying to tweak GNS3 settings to get better performance.  Just like in the actual lab you need to meet the requirements of the questions, no more, no less.

Image files: GNS3 supports (like normal routers) booting form compressed IOS images. During IOS initialization, routers being emulated have to decompress the image every time it boots and this takes a lot of time. The best way to save time during the initial boot process is to use GNS3 with decompressed images.

IOS files can be decompressed using command-line “uzip” utility easily. Ignore the warning that the decompression process wil report about corrupt headers – this is IOS “bootstrap”. Resulting file is decompressed IOS you can use with GNS3.

Enough talking, let’s move on to the actual setup!!!!!!

Linux (Ubuntu 9.10 Installation and dual booting)

By nature GNS3 is a CPU intensive application and requires a lot of resources.  Windows client operating systems are not best suited for Dynamips for this reason as they are not the best tuned for applications like this.  Linux, on the other hand, is a very stable Operating System and is better suited for applications, such as GNS3, that require optimized CPU resources.  Linux can also better control the utilization of these resources in a more optimized way. Now there are many flavors of Linux on the market.  You will have many users which prefer one versus the other but for someone first being introduced to Linux there is none better than Ubuntu.  Ubuntu has a very large user community and many of the support forums are heavily supported and have a lot of good resources for guidance in unfamiliar territories.  For this reason we will use Ubuntu in this guide as our recommended Flavor.

Ubuntu is available in both 32bit and 64bit version, for this IPexpert guide we will only discuss 64 bit version of Ubuntu. Although there is no difference among 32 bit or 64 bit installation. The current version of 64bit Ubuntu can be obtained from following link: http://www.ubuntu.com/GetUbuntu/download

If you are going to be starting with a clean installation, meaning you have no previous OS installed, then you can start installation of Ubuntu without any other requirements to keep in mind.  If case your computer already has another operating system installed, the following links can help with steps to install Ubuntu using a dual boot of Linux and Window’s. (Dual booting Ubuntu and other OS is simple process but if you don’t take the necessary steps for this process you can damage your data; it is always a wise decision to backup your data before proceeding).

Dual boot Windows XP (XP installed first) and Ubuntu:

http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm

Dual boot Windows Vista (Vista installed first) and Ubuntu :

http://apcmag.com/how_to_dualboot_vista_with_linux_vista_installed_first.htm

Dual booting Windows 7 and Ubuntu will follow the same strategy as the Vista link given above.

Let’s prepare Ubuntu for GNS3 installation now!

Preparing Ubuntu for GNS3 installation

GNS3, in itself, is a small application but it has some dependencies (Linux terminology meaning required software components prior to installation). Installation of these dependencies is the most difficult part of the GNS3 installation, but we are fortunate enough that Ubuntu can do this process automatically with the Synaptic Package Manager.

GNS3 Installation:

Step 1: Launch Synaptic Package Manager software by going to SystemAdministrationSynaptic Package Manager

A window like Fig-1 below will appear

Fig-1

In quick search type gns3 and it will fetch software related to GNS3. You can see from above Fig-1 that for me it fetched gns3 and dynamips. Click on check box for gns3 and dynamips one by one and select “Mark for Installation”.  When you will select “Mark for Installation”, it will bring a pop up window that will show all of the dependencies which these two packages require. Click “Markfor these as well.

Note: Without these dependencies GNS3 will not work.

After that, from top bar click “Apply”, this will start downloading dynamips, gns3 and all of dependencies automatically. After all the applications have been downloaded, Synaptic Software Manager will start installation of applications automatically.

Installation of Tabbed terminal client:

When the installation of GNS3 is done, again open Synaptic Software manager and install a tabbed telnet client called Konsole. If you don’t want to use tabbed telnet client then you can skip this step.

Fig-2

In the Synaptic Software Manager window type konsole in quick search. It will fetch a few related software packages, just select konsole by clicking on “Mark for Installation”. This will bring once again show a dependencies pop up message and you have to click on “Mark”. Same as previous, click on “Apply” from top bar, this will start downloading and installation of konsole (tabbed terminal client).

Running GNS3 under root:

In Ubuntu (Linux) separation of roles is a very important concept.  Meaning normal users are separated from the root and other important system accounts.  GNS3 can be run as a normal user but for simplicity sakes I highly recommend running GNS3 as root. This will keep everything simple and straightforward. This will avoid a lot of permission issues, which can cause you some major headaches in normal operation of GNS3. If you have plenty of time and wish to spend that time on Linux issues rather than putting that time into CCIE studies then go ahead and figure out things that way… I am not in that mood :)

Creating necessary Shortcuts and supporting folder structure:

We will create shortcuts and folder structure in following way

images will be used for storing images.

projects will be used for storing .net files.

configs will be used for storing initial and final configs for IPexpert labs.

captures will used for capturing network traffic.

supporting files here you can find all the files necessary or useful for running your GNS3 more easily.

tmp will be used for temporary files created by GNS3

Automatic way of GNS3 Configuration: Life cannot be easier than this

Note: For proper operation of GNS3 and to make life easier we will create supporting directory structure. This structure and supporting files can be obtained from attached IPexpert.tar.gz file.  Click here to download this file

Note: If you prefer manually configuring GNS3, skip these steps and proceed to Manual configuration.

Decompressing Ipexpert.tar.gz file:

Copy this IPexpert.tar.gz file to your desktop and double click it. Extract the files to the desktop, from here you can move files to proper locations. Here we extracted two folders to the desktop, shortcuts and IPexpert, along with gns3.ini file as shown in Fig.

Fig-3

Move the “GNS3 File Browser (root)” and “gns3 Graphical Network Simulator (root)” shortcuts on Desktop, these two shortcuts are in folder “shortcuts” folder. These two shortcuts will launch browser and GNS3 as root.

Fig-4

When you will first time launch application then you will see an error message like following:

Fig-5

Click Mark as Trusted and it will fix the issue.

Next move the contents in the IPexpert folder to the root directory. To move these files to root, open “GNS3 File Browser (root)” and navigate to /home/yourusername/Desktop, from here copy the IPexpert folder, navigate back to / and past it there. (You can reach to / by clicking on “File System”)

Fig-6

Now copy gns3.ini file to /root/.gns3 location (this folder may not appear by default, you have to press crtl+h). If after pressing crtl+h it does not appear then create one.

You can save original file as gns3-old.ini

Fig-7

Setting Proper Permissions

After moving the IPexpert folder to root (/IPexpert), we have to adjust permissions on this folder. Right click the IPexpert folder, then chose properties. A new window will open; click on Permissions and set permissions as shown in fig (don’t forget to click on “Apply Permissions to Enclosed Files” button). Click Close

Fig-8

Next set the permission settings on the folder /root/.gns3 (this folder may not appear by default, you have to press crtl+h) should be like fig-07

Fig-9

Make sure you have configured permissions properly as shown in above figures.

And that is it!!!!!!!! Now you can proceed to Creating first project step and can skip manual configuration steps.

GNS3 Configuration Manually:: Let me see all what it takes

If you opt not to use the attached file use the following Steps.  If you have already followed the steps for the Automatic way please skip to the Creating First project Steps.

First, create a browser shortcut which will explore files in “/root” anything launched through this explorer will be automatically launched to “/root” directory.

Run the following commands in a terminal session, (terminal can be reached by ApplicationsSystem Toolskonsole or ApplicationsAccessoriesTerminal)

In the terminal window execute the following command:

sudo gedit /usr/share/applications/Nautilus-root.desktop

This will ask you to enter root password which is same as your user password. Once you entered password and its correct then a new window will open in that window paste the following code:

[Desktop Entry]
Name=GNS3 File Browser (Root)
Comment=Browse the filesystem with root privileges
Exec=gksudo “nautilus”
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;

After saving the document close the window.

Enter the following command to refresh the “Desktop” in the terminal window.

killall gnome-panel

Go to ApplicationsSystem Tools and right clickGNS3 File Browser (root)”  and select “Add this launcher to desktop”.

Create a second shortcut for GNS3 by right clicking on ApplicationsEducationGNS3 Graphical Network Simulater and choosing “Add this launcher to desktop”.

After you are done, will see the following shortcuts on Desktop:

Fig-10

Right click on GNS3 shortcut select “Properties” and enter the text (gksudo gns3) as shown in following fig, in command box.

Fig-11

Creating the Supporting Folder Structure

Open file browser by double clicking the created shortcut “GNS3 File Browser (Root)”, the first time it will ask for root password, this is same password you used for your login on this system.

Click on File system and create a folder called “IPexpert”, keep in mind in Ubuntu file names are case sensitive which means ipexpert and IPexpert are not same folders.

Fig – 12

Now create the directory structure inside IPexpert as shown in the figure below, remember this structure is provided in attached IPexpert.tar.gz file also.

Inside IPexpert folder we will create the directories of images, projectsconfigscaptures, supporting files, and tmp.

Fig-13

Before preceding further please put at least one IOS image in /IPexpert/images/ directory in an unzipped format.

I used c3725-advipservicesk9.124-15.T6.bin image along with 0x6271c1a0 idlepc value. This image has proved to be stable and provide all the functionality required for the CCIE R&S blue print.

Configuration of GNS3

1- Launch GNS3 by double clicking on GNS3 shortcut on Desktop. It will ask for the root password which is same as your normal user password. After entering root password, it will show the following window.

Fig-14

For now just press Cancel, we need to configure and fine tune GNS3 before we do anything else.

IOS Images and Hypervisors

I assume that you have finished the file structure steps explained previously. Now we will use that file structure for GNS3 configuration.

1- Configure ISO images and Hypervisor. Click on Edit > ISO Images and hypervisors

Fig-15

Use the following steps for IOS Images:

1-    Image file: Select the image you have placed in the /IPexpert/images folder. You must have at least one image for the platform you will be using in the topology.  (We are using /IPexpert/images/c3725-advipservicesk9.124-15.T6.bin) image.

2-    Choose Platform, this should match with the IOS image you provided in the previous step. (We used the 3725 image so will choose the 3700 platform)

3-    Choose the correct Model of your selected platform.

4-    Provide the IDLE PC value, if you have one. (We used 0x6271c1a0.  For the 3725 with the selected IOS image above, this value has shown promising results.  But you may find this not to work so be aware this may need to be adjusted).

5-    Select the Default RAM for the Platform.  For best results use Cisco feature navigator to seek recommended RAM for the particular model. This model’s recommended RAM is 256 MB, but our experience has shown giving 128MB is sufficient.

Our Topology uses 15 devices so using 128MB for each device, 128×15 = just shy of 2GB. So your laptop/PC should have a minimum of 3GB.  With 4GB or more you will have smooth sailing.

6-    Put the check in Default Image for this platform.  And Click Save.

Fig-16

Click on External hypervisor and duplicate the Settings as shown in Fig-10.

1-    Host 127.0.0.1

2-    Working directory /IPexpert/tmp

Note: Click Save at least 4 times to create 4 Hypervisors. You should see four instances when finished in the right window as shown above. Using four instances will make these settings optimal for Intel’s Core Ix processors, which support Hyper-Threading.

Click Close.

Configuring Preferences

Fig-17

Click on Edit -> Preferences you will see a dialog box as shown in Fig-10

Click on General

Change the Terminal Command to the following line:

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

Note: This setting is only required if you want to use konsole as the default terminal software.     In real CCIE lab the terminal emulation program provided doesn’t have tabs.  We have found the benefit of tabs for doing practice labs, that in our opinion, far outweighs the benefit of duplicating the actual lab.  Of course you will have your own opinion on this as well.

Setting gb profile:

In the above config line for console, we used “gb”, this is name for a Konsole profile “gb”. This profile loads green text on black back ground. To configure this profile open Konsole (terminal software) menu; go to Settings -> Manage Profiles and create a new profile named “gb”, edit settings as you like e.g Green on Black. After you have created new profile delete default profile named shell. Close your terminal and open again all will be set to go.

Last change the Project directory and Image directory settings as shown in Fig-11, then Click Apply.

Dynamips Settings:

Fig-18

1-    Change the Working directory to /IPexpert/tmp

2-    Leave “Enable ghost IOS feature” and “Enable mmp feature” checked.

3-    Uncheck “Enable sparse memory feature”.

4- Click Apply.

5-    Click Test.  If everything works well you will see “Dynamips successfully started” in green as shown in Fig-11.

Note: this test will only be successful if you have completed all the steps and already have software that supports a telnet client.

Configuring Capture Directory:

Fig-19

If you want to use packet captures, which is supported by GNS3 with no extra software or settings, you can use the settings as shown above.  You should have Wireshark or some other capture reader installed prior to configuring this.  Instructions for this are beyond the scope of this document.

Define path for captured packets, /IPexpert/captures

Click Apply and OK to close this dialog box.

Creating the First Project:

1 – Go to /ipexpert/projects folder and create one file and rename it Ipexpert-test.net. Right click it and chose “Open with”, then “Open with other application”. In the command line type gns3, and click open.

NOTE: This will help you to open any .net file by double clicking on it, (this is the way of handling .net files because of an open bug in GNS3 for Linux).

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.

3- Click Save As to save it.

Loading IPexpert topology:

We will load the IPexpert topology now to see how it all works. This topology is shipped with the zip file, and should be located in the folder “/IPexpert/projects/” if you used our file to create your folder structure.

Fig-20

Important Notes: This guide recommends using GNS3 IPexpert topology on at least an Intel Core 2 Duo 2.0 processor and we recommend a minimum RAM of 4GB for optimal performance. For best results if Intel Core i”x” can be acquired then that will be great.

Written by contributing Customer: Nadeem Rafi

GNS3 on Ubuntu 9.10 the IPexpert Way, 4.3 out of 5 based on 7 ratings
Be Sociable, Share!

    Tags: CCIE, Dynamips, GNS3, Linux, r&s, Security, sp

    23 Responses to “GNS3 on Ubuntu 9.10 the IPexpert Way”

    1. Mohamed Nazir says:

      THIS IS IT !!!!

      I like the way you guys prepared and presented this most important stuff.

      Thanks for you great work

      VA:F [1.9.22_1171]
      Rating: 5.0/5 (1 vote cast)
    2. Mic says:

      Nice work!!

      VA:F [1.9.22_1171]
      Rating: 5.0/5 (1 vote cast)
    3. “Unfortunately I cannot find any suitable software which can decompress IOS files on Linux. Best way to do so is to decompress in windows and use that uncompressed file in Ubuntu.”

      $ sudo apt-get install unzip
      $ unzip c7200-k91p-mz.122-25.S13.bin

      VA:F [1.9.22_1171]
      Rating: 3.5/5 (2 votes cast)
    4. Fraser Reid says:

      Very Nice !
      I bought the V4 BLS and I have this all set up now but I would like some help with replacing the virtual switches with real 3560′s that I have – any takers on this one to giude me on what extra I need to get this working ? I have 8 of them in total so if I need any more switches in between for anything else I am still good to go……..

      VA:F [1.9.22_1171]
      Rating: 5.0/5 (1 vote cast)
      • Tyson Scott says:

        There are two ways to do it. One is to use a breakout switch to another third party device and then to your 4 catalyst switches. This guy has it on his blog.

        http://joshatterbury.com/blog/my-lab-setup-for-serviceprovider/

        The other option is to use a bunch of NIC’s on a computer to the switches themselves. This will be the next blog put up in regards to GNS3 but it may be a bit for the instructions for this.

        VN:F [1.9.22_1171]
        Rating: 5.0/5 (1 vote cast)
        • Fraser Reid says:

          Thanks Tyson for the fast reply – I will check out the website now – what I forgot to mention is that I have a quad ethernet card just for this purpose set aside as well as the onboard teamed ethernets for access to the server.

          I was thinking 4 switches = quad ethernet card, 1 ethernet trunk per switch….but just let me check the website out.

          Thanks again Tyson.

          VA:F [1.9.22_1171]
          Rating: 5.0/5 (1 vote cast)
          • Fraser Reid says:

            Hey Tyson ! When will part 2 be ready – I am waiting :-) I have now got my Windows Server formatted and am now running Ubuntu 10.2……

            Fraser

            VA:F [1.9.22_1171]
            Rating: 0.0/5 (0 votes cast)
    5. Prakash says:

      This is very good help

      VA:F [1.9.22_1171]
      Rating: 5.0/5 (1 vote cast)
    6. Brandon says:

      Can you provide me the model numbers you used in the diagram above? Or provide some details of what each router has in it for WIC cards ect?

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:

        Brandon,

        The .net file is attached. It is contained in the tar.gz file in the IPexpert directory. Please just download the support files under “automatic configuration” and you will have everything in place to use these settings.

        VA:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
    7. Lance says:

      When I tried to start with Lab 6 Frame Relay my interfaces for the routers do not match the configs. I do not hav a serial 0/1/0 on any of my routers. Has anyone else run into this while running GNS3 with Ubutunu 10.10?

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:

        Please download the support files for the Windows 7 Guide. Within the guide it has the updated diagram for the dynamips topology. The routers are different models thus interfaces will not line up.

        http://blog.ipexpert.com/2010/03/31/gns3-on-windows-7-the-ipexpert-way/

        VA:F [1.9.22_1171]
        Rating: 3.0/5 (1 vote cast)
        • Lance says:

          Okay so I see the diagrams have been updated, but is there updated configs so they will line up? I am just wondering what is the best way to do this to follow the instructions in the workbooks that I have recieved from IPExpert.

          VA:F [1.9.22_1171]
          Rating: 5.0/5 (1 vote cast)
            • Lance says:

              How do you get this attachment this person is talking about to paste into the configs to automate the process?

              VA:F [1.9.22_1171]
              Rating: 0.0/5 (0 votes cast)
          • Lance says:

            How do you run the SED script against your configs in Linux Ubuntu?

            ed -i ‘s/half-duplex/duplex full/’ *
            sed -i ‘s/duplex auto/full-duplex/’ *
            sed -i ‘s/speed auto/speed 100/’ *
            sed -i ‘s/frame-relay lmi-type cisco/frame-relay lmi-type ansi/’ R*.txt
            sed -i ‘s/FastEthernet0/FastEthernet1/’ Cat*.txt
            sed -i ‘/interface FastEthernet1\/9/d’ Cat1*
            sed -i ‘s/interface FastEthernet1\/11/interface FastEthernet1\/9/’ Cat1*
            sed -i ‘s/interface FastEthernet1\/12/interface FastEthernet1\/2/’ Cat2*
            sed -i ‘s/interface FastEthernet1\/13/interface FastEthernet1\/3/’ Cat2*
            sed -i ‘s/switchport mode trunk/switchport mode dynamic desirable/’ Cat*.txt
            sed -i ‘s/2200/22/’ Cat*.txt
            sed -i ‘s/2300/23/’ Cat*.txt
            sed -i ‘s/2567/25/’ Cat*.txt
            sed -i ‘s/3434/34/’ Cat*.txt
            sed -i ‘s/no ip http server/ip http server/’ *
            sed -i ‘s/ip http server/no ip http server/’ *
            sed -i ‘s/no ip http secure-server/ip http secure-server/’ *
            sed -i ‘s/ip http secure-server/no ip http secure-server/’ *
            sed -i ‘/password 7/d’ *
            sed -i ‘/enable secret/d’ *
            sed -i ‘/^!/d’ *
            sed -i ‘/^banner motd/d’ *
            sed -i ‘/^sh run/d’ *
            sed -i ‘/^Building configuration/d’ *
            sed -i ‘/^Current configuration/d’ *
            sed -i ‘/^$/d’ *
            sed -i ‘/^R\S#/d’ R*
            sed -i ‘/^Cat\S*#/d’ Cat*
            sed -i ‘/^scheduler/d’ *
            sed -i ‘/^interface GigabitEthernet0/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/16/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/17/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/18/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/19/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/20/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/21/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/22/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/23/d’ Cat*
            sed -i ‘/^interface FastEthernet1\/24/d’ Cat*
            sed -i ‘$!N; /^\(.*\)\n\1$/!P; D’ Cat*
            sed -i ‘s/Serial0\/2\/0/Serial2\/0/’ R9.txt
            sed -i ‘s/Serial0\/2\/1/Serial2\/1/’ R9.txt
            sed -i ‘s/Serial0\/2\/0/Serial2\/0/’ R6.txt
            sed -i ‘s/Serial0\/2\/1/Serial2\/1/’ R6.txt
            sed -i ‘s/Serial0\/0\/0/Serial0\/0/’ R*.txt
            sed -i ‘s/Serial0\/1\/0/Serial0\/1/’ R*.txt
            sed -i ‘s/Serial0\/2\/0/Serial0\/2/’ R*.txt
            sed -i ‘s/Serial0\/3\/0/Serial0\/3/’ R*.txt

            VA:F [1.9.22_1171]
            Rating: 0.0/5 (0 votes cast)
            • Lance says:

              I tried copying and pasting the files into a text file than changing it to a .sh script and changing the permissions to u+x then running ./script.sh R1.txt > newR1.txt but the new file is blank. Please send suggestions.

              VA:F [1.9.22_1171]
              Rating: 0.0/5 (0 votes cast)
            • Tyson Scott says:

              It is written to run against the entire folder. Just copy the commands while you are in the directory you want and then look at your original files. -i means edit inline.

              VN:F [1.9.22_1171]
              Rating: 0.0/5 (0 votes cast)
    8. Lance says:

      I just loaded the IPExpert files for GNS3 like it instructs above, but when I try and do the lab with the cisco 3725s the interfaces to not match that of the configs and workbooks????

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    9. [...] more up to date switches like the 3560s used in version 4 of the CCIE Routing and Switching lab. In GNS3 on Ubuntu, you were provided with guidance on setting up GNS3 on Ubuntu GNU/Linux. You were shown how to run [...]

    10. bond007 says:

      Finally in the end got it working …thanks for Nice Tutorial

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    11. bond007 says:

      if you only see fastethernet link under link menu do as follows go to root folder from ipexpert browser (root) then ctrl+h it shows .gns3 folder open it and under that u will see .ini file open it with gedit then search for gui_use_manual_connection=false if value is false then make it true

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)

    Leave a Reply