How to install dynamips in CentOS5.1

Source: Internet
Author: User
For details about how to install dynamips on CentOS5.1-Linux Enterprise Application-Linux server application, see the following. Build a CCNP_BSCI Environment

Download the following three software:

Dynagen-0.10.1.tar.gz

Dynamips-0.2.8-RC2-x86.bin

Libpcap-0.9.8.tar.gz

Create a dynamips folder under/root as the running directory and put ios, net, and other running files in this folder.

After downloading, follow these steps:

1. Install libpcap

Tar-zxvf libpcap-0.9.8.tar.gz
./Configure
Make
Make install

2. Copy/root/dynamips-0.2.8-RC2-x86.bin to/usr/local/bin/
Cp dynamips-0.2.8-RC2-x86.bin/usr/local/bin

Chmod 777 dynamips-0.2.8-RC2-x86.bin
Ln-s dynamips-0.2.8-RC2-x86.bin dynamips

3.decompress dynagen-0.10.1.tar.gz
Tar-zxvf dynagen-0.10.1.tar.gz

Music dynagen-0.10.1/root/dynamips
Cd/usr/local/bin/
Ln-s/root/dynamips/dynagen-0.10.1/dynagen

Obtain idle_pc
Dynamips-P 7200-t 7200/root/dynamips/unzip-c7200-js-mz.123-20.bin

After entering the route> command line, press "ctrl +]" and then press I. You can get many idle_pc numbers and copy the largest count to the net file.

Start dynamips:
Nice dynamips-H 7200

Start the console:
Dynagen/root/dynamips/net/route.net

After entering the console, you should know how to do it!

Full device startup

Below is my NET File

Autostart = false


[Localhost]

Port = 7200

Udp = 10000

Workingdir = ../tmp/


[[Router P1R1]

Image = ../ios/unzip-c7200-js-mz.123-20.bin

Model = 7200

Console = 3001

Npe-400 npe =

Ram = 96

Confreg = 0x2142

Idlepc = 0x60671c74

Exec_area = 64

Mmap = true

Slot1 = PA-4T

F0/0 = P1R3 f0/0

S1/1 = P1R2 s1/1

S1/0 = FR1 1


[[Router P1R2]

Image = ../ios/unzip-c7200-js-mz.123-20.bin

Model = 7200

Console = 3002

Npe-400 npe =

Ram = 96

Confreg = 0x2142

Idlepc = 0x60671c74

Exec_area = 64

Mmap = true

Slot1 = PA-4T

F0/0 = P1R4 f0/0

S1/0 = FR1 2



[[Router P1R3]

Image = ../ios/unzip-c7200-js-mz.123-20.bin

Model = 7200

Console = 3003

Npe-400 npe =

Ram = 96

Confreg = 0x2142

Idlepc = 0x60671c74

Exec_area = 64

Mmap = true

Slot1 = PA-4T

S1/0 = P1R4 s1/0


[[Router P1R4]

Image = ../ios/unzip-c7200-js-mz.123-20.bin

Model = 7200

Console = 3004

Npe-400 npe =

Ram = 96

Confreg = 0x2142

Idlepc = 0x60671c74

Exec_area = 64

Mmap = true

Slot1 = PA-4T



[[Router BBR1]

Image = ../ios/unzip-c7200-js-mz.123-20.bin

Model = 7200

Console = 3005

Npe-400 npe =

Ram = 96

Confreg = 0x2142

Idlepc = 0x60671c74

Exec_area = 64

Mmap = true

Slot1 = PA-4T

F0/0 = BBR2 f0/0

S1/0 = FR1 3


[[Router BBR2]

Image = ../ios/unzip-c7200-js-mz.123-20.bin

Model = 7200

Console = 3006

Npe-400 npe =

Ram = 96

Confreg = 0x2142

Idlepc = 0x60671c74

Exec_area = 64

Mmap = true

Slot1 = PA-4T

S1/0 = FR1 4


[[FRSW FR1]

=

=

=

2: 203 = 3: 302

=

=

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.