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.
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: Updated May 11, 2017 — Since I wrote this post, CORE has been updated to version 4.8 and Ubuntu 16.04 LTS was released. CORE 4.8 will run on Ubuntu 16.04 if you install it from source code. So, this post is out of date. Please see my post about installing CORE from source code.
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.
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 <a http://downloads.pf.itd.nrl.navy.mil/core/packages/4.6/core-daemon_4.6-0ubuntu1_raring_amd64.deb”>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.
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.
Pingback: Install the CORE Network Emulator from source code | Open-Source Routing and Network Simulation
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.
Hi Iago,
Thanks for your comment. I’m glad you found this information useful.
–Brian
Thank you very much for the tutorial. I’m looking forward to follow your tutorials so keep posting. Cheers!
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!
I list the hosting setup I use in the Colophon section of my About page. I currently use BlueHost.
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.
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.
Hello Brian,
I get the following errorwhen i type”sudo dpkg -i core-daemon_4.6-0ubuntu1_raring_amd64.deb”
“dpkg: error processing archive core-daemon_4.6-0ubuntu1_raring_amd64.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
core-daemon_4.6-0ubuntu1_raring_amd64.deb”
I have the same issue
Ok. Here is what I did. Found this:
https://brianlinkletter.com/core-network-emulator-updated-to-4-8/
downloaded those two packages, installed and then, just as It says, started CORE daemon, and then the CORE gui.