CORE—Common Open Research Emulator—INSTALL—Network Emulator

http://www.brianlinkletter.com/install-the-core-network-emulator-from-source-code/
March 20, 2014 — 4 Comments

https://www.nsnam.org/workshops/wns3-2010/wns3-emulation.pdf

wget https://launchpad.net/ubuntu/+archive/primary/+files/core-network_4.8.orig.tar.gz

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/ 

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(36) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
原文地址:https://www.cnblogs.com/ztguang/p/12649464.html