Installing the CORE Network Emulator in Ubuntu Linux

February 21, 2013 — 8 Comments

We tool a first look at the Common Open Research Emulator (CORE) in a previous post. We used the VCORE virtual appliance that we downloaded from the CORE web site to evaluate CORE but we found some issues with missing software. Now, we will install CORE on an Ubuntu Linux system as the first step toward building a system with the complete components of CORE.

Ubuntu Linux 12.04 Desktop - Parallels Desktop

Installing the CORE Network Emulator on Ubuntu Linux is a simple process. The CORE Network Emulator also has documentation that describes the installation process, but it is missing a few steps.

In this post, I will describe the procedure I followed to install the basic packages of the CORE Network Emulator version 4.6 on Ubuntu Linux 13.04.

NOTE: I updated this post in March 2014 so it shows up-to-date instructions on how to install the CORE Network Emulator version 4.6 in Ubuntu 13.04, the latest release for which pre-built CORE packages are available.

Our goal is to create on a host Linux computer the same functionality that is available in the VCORE virtual appliance.

Update Ubuntu system

First, ensure your system is fully up-to-date by running the Update Manager application and checking for updates.

Install pre-requisite software

The Linux networking utilities and some other software must be installed in order for the CORE Network Emulator to run after it is installed. To install all the required software, run the following command:

$ sudo apt-get update
$ sudo apt-get install bash bridge-utils ebtables \
  iproute libev-dev python tcl8.5 tk8.5 libtk-img \
  xterm mgen traceroute

Note that the mgen and traceroute packages are not listed in the CORE installation instructions but they need to be installed.

Install quagga

Next, install the quagga software. Use either the Ubuntu Software Centre application or the command-line command:

$ sudo apt-get install quagga

In my case, I am not testing the wireless network features in the CORE network emulator so I will install the standard version of quagga. I used the Ubuntu Software Centre application and also added the optional SNMP Agent add-on.

Installing quagga with SNMP agent

Installing quagga with SNMP agent

Download the CORE Network Emulator

Now, download the CORE packages from the CORE web site and install them. In my case, I used a web browser to download the files, core-gui_4.6-0ubuntu1_raring_all.deb and core-daemon_4.6-0ubuntu1_raring_amd64.deb, from the CORE downloads packages directory.

Or, you can execute the following commands to download the package file:

$ cd ~/Downloads
$ wget http://downloads.pf.itd.nrl.navy.mil/core/packages/4.6/core-daemon_4.6-0ubuntu1_raring_amd64.deb
$ wget http://downloads.pf.itd.nrl.navy.mil/core/packages/4.6/core-gui_4.6-0ubuntu1_raring_all.deb

I am running a 64-bit version of ubuntu so I downloaded the package for amd64 systems. If you have a 32-bit system, download the i386 version of the file from the same packages folder.

Install the CORE Network Emulator

Install the downloaded CORE package. The CORE documentation also describes a procedure using the Ubuntu Software Center program but I do not recommend using Software Manager. I have found it is not reliable when installing downloaded packages. Use the Debian Package Manager application, dpkg, instead.

$ sudo dpkg -i core-daemon_4.6-0ubuntu1_raring_amd64.deb
$ sudo dpkg -i core-gui_4.6-0ubuntu1_raring_all.deb

Run the CORE Network Emulator

Run CORE by starting the core daemon (as root) and then starting the core GUI as a normal user:

$ sudo /etc/init.d/core-daemon start
$ core-gui

Leave the terminal window open. CORE messages will appear in the console window that can help you debug any problems.

The CORE window will appear on the desktop.

The CORE Network Emulator

The CORE Network Emulator

To test that everything works, try some of the steps outlined in the CORE Network Emulator test drive post. Or, open a sample topology file. For example, sample3-bgp.imn. In the CORE GUI menu, click on the commands, File → Open and select the file, sample3-bgp.imn.

To quit the CORE Network Emulator, stop the lab session by clicking on the red Stop the Session button on the GUI or use the appication menu command, Session → Stop. The use the menu command File → Quit to quit the GUI.

Conclusion

Installing the CORE Network Emulator version 4.6 on Ubuntu Linux version 13.04 is a simple process. In the future, I will also identify and install the other software packages that support the full functionality of the CORE network emulator and see if that resolves the problems I encountered during my first look at this tool.

8 responses to Installing the CORE Network Emulator in Ubuntu Linux

  1. Thanks a lot man, helped me so much.
    By times we found interesting content in web, but very few times we found up to date content. This is very important, so, I appreciate this little guide.

  2. Thank you very much for the tutorial. I’m looking forward to follow your tutorials so keep posting. Cheers!

  3. Hello would you mind letting me know which web host you’re working with?
    I’ve loaded your blog in 3 completel different web browsers and I must saay thnis blog loads a lot quicker then most.
    Can you recommend a good web hosting provider aat a fair price?
    Many thanks, I appreciate it!

  4. I have Ubuntu 14.04 LTS on my laptop and I installed core-network, core network daemon and quagga via Ubuntu software center and everything works fine.

  5. Hi there to every one, because I am genuinely eager of reading this web site’s post to be updated regularly.
    It includes good material.

Trackbacks and Pingbacks:

  1. Install the CORE Network Emulator from source code | Open-Source Routing and Network Simulation - March 20, 2014

    […] previously discussed installing the CORE Network Emulator using pre-built packages. Now I want to install the newest version of CORE — version 4.6 — in a newer Linux […]

Leave a Reply

Text formatting is available via select HTML. <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*