Install the CORE Network Emulator from source code

March 20, 2014 — 4 Comments

I 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 distrubution for which the CORE development team has not yet created pre-built packages. In this case, I will install CORE in Xubuntu 13.04.

CORE Network Emulator throughput widget

Read the rest of this post to learn how to install and set up the CORE network emulator on a host computer running any Debian-based Linux distribution, such as Xubuntu.

UPDATE August 18 2014: I recently installed CORE version 4.7 on Xubuntu 14.04. The installation worked fine. Just replace the text “4.6” with “4.7” in the steps below. However, there are some major issues in CORE 4.7 that are not yet fixed. I recommend installing CORE 4.6, instead.

Install CORE from source code

To build and install the CORE Network Emulator from source code, enter the following commands (the current version is CORE 4.6):

  1. Install all required supporting software:
    $ sudo apt-get install bash bridge-utils ebtables \
      iproute libev-dev python tcl8.5 tk8.5 libtk-img \
      autoconf automake gcc libev-dev make python-dev \
      libreadline-dev pkg-config imagemagick help2man
    
  2. Download the CORE source code and install files1.
    $ cd ~/Downloads
    $ wget http://downloads.pf.itd.nrl.navy.mil/core/source/core-4.6.tar.gz
    
  3. Uncompress the source files and build the CORE system.
    $ tar xzf core-4.6.tar.gz
    $ cd core-4.6
    $ ./bootstrap.sh
    $ ./configure
    $ make
    $ sudo make install
    

Test CORE

To test that the CORE Network Emulator is working, start the CORE daemon and the GUI.

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

Then, using the CORE tool bar, create a simple network with two PCs connected to each other and start the simulation.

core-install-060

At his point, I should be able to test that CORE is working by opening a shell on one of the PCs and using the ping command to see that the simulation is working correctly by testing that each node can ping the other node.

Conclusion

We successfully installed the CORE Network Emulator from source code using a procedure that should work in most Debian-based Linux distributions.

At this point, we can simulate a basic switched LAN with simple PCs connected to a switch. We still need to install the network services that will run in each virtual node before we can use CORE to emulate the operation of different types of IP networks.

We will discuss network services and utilities in another post.


  1. You can also use an internet browser to obtain the CORE source files from the CORE downloads page at the following URL: http://downloads.pf.itd.nrl.navy.mil/core/ 

4 responses to Install the CORE Network Emulator from source code

  1. For fedora, use the following package names to install supporting software:

    yum install bash bridge-utils ebtables \
    iproute libev python tcl tk tkimg tkimg-devel \
    autoconf automake gcc libev-devel make python-devel \
    readline readline-devel pkgconfig ImageMagick help2man

Trackbacks and Pingbacks:

  1. Quagga vtysh shell (END) problem | Open-Source Routing and Network Simulation - April 7, 2014

    […] we installed the CORE Network Emulator from source code and installed the network services used by CORE. Now, we want to run a simulated networking […]

  2. Install the CORE Network Emulator on Amazon AWS | Open-Source Routing and Network Simulation - May 13, 2015

    […] I’ve already described how to install the CORE network emulator in previous posts so I will list the installation steps below without any explanation. For details, please see my post on how to install the CORE Network Emulator from source code. […]

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>

*