Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Dynamips in Ubuntu

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces Ubuntu how to install Dynamips, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Method 1:

1. Install libpcap on Ubuntu platform

◆ installs gcc compiler sudo apt-get install gcc

◆ installs flex compiler sudo apt-get install flex

◆ installs bison compiler sudo apt-get install bison

◆ decompresses the packet "libpcap-0.9.8.tar.gz" tar-zxvf libpcap-0.9.8.tar.gz

In addition, Ubuntu does not support rpm installation files. Rpm is the standard installation file format for the Red Hat operating system. You can use alien to convert rpm packages to deb packages.

Install alien:sudo apt-get install alien

Alien uses: alien XXX.rpm to generate XXX.deb supported by Ubuntu

Install the deb package: sudo dpkg-I XXX.deb or double-click install

Compile

. / configure

Make

Make install

Move folder: mv

Delete folder: rm-rf XXX

two。 Download dynamips source code "dynamips-0.2.8-RC2-amd64.bin" http://www.ipflow.utc.fr/blog/

3. Download dynagen source code "dynagen-0.11.0.tar.gz" http://dynagen.org/

4. Copy "dynamips-0.2.8-RC2-amd64.bin" to opt cp dynamips-0.2.8-RC2-amd64.bin / opt/dynamipsln-s / opt/dynamips/dynamips-0.2.8-RC2-amd64.bin dynamips this command is to create a shortcut key dynamips, the shortcut key points to "dynamips-0.2.8-RC2-amd64.bin", at this time the path of the program needs to be absolute.

5. Decompress and copy dynagentar-zxvf dynagen-0.11.0.tar.gzmv dynagen-0.11.0/ optln-s / opt/dynagen-0.11.0/dynagen dynagen

6. Put the ios and .net files in a custom folder. The location of the ios doesn't matter. You can specify "image = / opt/ios/c7200-js-mz.123-.T11.extracted.bin" with the absolute path in .net.

7. Start dynampis online using "nice dynampis-H 7200", where this 7200 is a port, but my test failed: frank@frank-laptop:/opt#nicedynamips-H 7200nice: dynamips: without this file or directory permissions have been changed, * there is no way, simply do not use nice, just execute:

Frank@frank-laptop:/opt/dynampis$ sudo. / dynamips-H 7200

Cisco Router Simulation Platform (version 0.2.8-RC2-amd64)

Copyright (c) 2005-2007 Christophe Fillot.

Build date: Oct 14 2007 10:46:52

ILT: loaded table "mips64j" from cache.

ILT: loaded table "mips64e" from cache.

ILT: loaded table "ppc32j" from cache.

ILT: loaded table "ppc32e" from cache.

Hypervisor TCP control server started (port 7200).

Then open another terminal and start dynagen

Frank@frank-laptop:/opt/dynampis$ sudo. / dynagen self-Mpls.net [sudo] password for frank:Dynagen management console forDynamips and Pemuwrapper 0.11.0Copyright (c) 2005-2007 Greg Anuzelli, contributions Pavel Skovajsa= >? Documented commands (type help):

= =

Capture confreg cpuinfo export hist list py save show suspend

Clear console end filter idlepc no reload send start telnet

Conf copy exit help import push resume shell stop ver

The rest will be the same as windowns.

The second way to install Ubuntu and install Dynamips: lazy people can do it, anyway, some people do it.

There is a software package manager in ubuntu, use it to search for a done by others, directly bring it to use on ok. Lazy enough.

Thank you for reading this article carefully. I hope the article "how to install Ubuntu Dynamips" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report