Tôi cài GNS3, Dynamips, winpopCap đầy đủ, Chạy riêng Dynamips thì OK, nhưng khi khởi động GNS3 thì đều báo Can't start Dynamips đã vào cấu hình để chỉnh lại đường dẫn của Dynamips trong GNS3 nhưng vẫn lỗi, Ai rành chỉ giúp với
Announcement
Collapse
No announcement yet.
Khắc phục lỗi với GNS3
Collapse
X
-
OKies
Nếu Pác nào gặp lỗi như tôi có thể sửa như sau:
Chỉ cần cài GNS3 với đủ 3 lựa chọn sau (WinpopCap, Dynamips, GNS3) khi cài xong vào mục EDIT-Preferences Chọn mục Dynamips sau đó thay đường dẫn trong mục Working Directory %USERPROFILE%\Local Settings\Temp bằng đường dẫn khác.
CHÚC VUI----------------
Good luck for you.
-
Originally posted by mon_hy View PostTôi cài GNS3, Dynamips, winpopCap đầy đủ, Chạy riêng Dynamips thì OK, nhưng khi khởi động GNS3 thì đều báo Can't start Dynamips đã vào cấu hình để chỉnh lại đường dẫn của Dynamips trong GNS3 nhưng vẫn lỗi, Ai rành chỉ giúp vớiAttached Files
Comment
-
Originally posted by boylies1986 View Postminh dung GNS3 0.4.1
minh da cau hinh path cho dynamip nhung khi keo tha~ thi luon bi bao loi~ :
203-Bad number of Parameters (5 with min/max = 2/2)
???
khong hieu tai sao lai bi nhu vay ?!
bac nao bit xin chi~ du`m em gap
da ta. cac bac'
Vào proccess kiểm tra thử xem có dynamips.exe đang chạy không nếu có end proccess.
Chúc bạn vui !!!Trần Mỹ Phúctranmyphuc@hotmail.com
Hãy add nick để có thông tin đề thi mới nhất :tranmyphuc (Hỗ trợ tối đa cho các bạn tự học)
Cisco Certs : CCNP (Passed TSHOOT 1000/1000)
Juniper Certs : JNCIP-ENT & JNCIP-SEC
INSTRUCTORS (No Fee) : CISCO (Professional) , JUNIPER (Professional) , Microsoft ...
[version 4.0] Ôn tập CCNA
Comment
-
SECTIONS:- I. Easy way to install Dynamips/Dynagen (older version)
II. A bit harder way to install Dynamips/Dynagen (latest version)
III. GNS-3 - graphical front-end
IV. Dia - diagram editor
V. Extras:- - 'nautilus-open-terminal' plugin
- Wireshark
- - 'nautilus-open-terminal' plugin
I. Easy way to install Dynamips/Dynagen (older version)
The easiest way to install any program on Ubuntu linux is via Synaptic, although in most cases slightly older versions of programs are available . Just go to (on your Gnome desktop):
1. System > Administration > Synaptic (package manager)
2. Search for Dynagen / Dynamips
3. Tick the boxes next to the chosen programs, apply changes, and wait until it finish installation.
4. That's it!
Now you can run it from terminal:
Code:dynamips -H 7200 &
Code:dynagen simple1.net
Helpful link (Ubuntu Guide - great source on howto's for Ubuntu desktop):
----------------------------------------------------------------------------------
II. A bit harder way to install Dynamips/Dynagen (latest version)
Alternatively, to get the latest version, rather then messing up with source .tar.gz archives (it's not recommended with linux versions based on packages, such as Ubuntu is based on .deb files - debian packages, sort of windows .exe files), follow the steps:
1. Download the latest .rpm (red hat package) for Dynamips server (dynamips-0.2.8RC1-1.i386.rpm) and Dynagen (dynagen-0.10.1-1.noarch.rpm ) from here.
2. Convert .rpm files to .deb with 'alien' program.
Once you haven't got 'alien' program installed by default, install it running following command from the terminal window:
(Alt+F2, and then gnome-terminal)
Code:sudo apt-get install alien
Code:cd ~/Desktop/ #changes to directory where you downloaded .rpms sudo alien dynamips-0.2.8RC1-1.i386.rpm #converts .rpm to .deb sudo alien dynagen-0.10.1-1.noarch.rpm
4. First time you run the program:
Code:dynamips -H 7200 &
Code:$ dynamips: error while loading shared libraries: libpcap.so.0.9.4: cannot open shared object file: No such file or directory
5. To fix the problem, check the version of lipcap you have installed with:
Code:ls /usr/lib | grep libpcap.so.*
Code:$ libpcap.so.0.8 $ libpcap.so.0.9.7
(change the numbers in the following command if you've got different vesions!)
Code:sudo ln -s /usr/lib/libpcap.so.0.9.7 /usr/lib/libpcap.so.0.9.4
Code:dynamips -H 7200 &
Code:$ Cisco Router Simulation Platform (version 0.2.8-RC1-x86) Copyright (c) 2005-2007 Christophe Fillot. Build date: Sep 10 2007 21:54:52 Hypervisor TCP control server started (port 7200).
Code:ps | grep dynamips
Code:10110 pts/1 00:00:00 dynamips
:!: (Your process number might be different!)
Code:kill 10110
Code:$ [1]+ Terminated dynamips -H 7200
Code:dynagen simple.net
Here is my simple.net lab example:
Code:# 3 routers lab [localhost] [[7200]] image = "ENTER PATH TO YOUR IOS IMAGE HERE" npe = npe-400 ram = 160 [[ROUTER R1]] s1/0 = R2 s2/0 s2/0 = R3 s1/0 [[router R2]] s1/0 = R3 s2/0 [[router R3]]
III. GNS-3 - graphical front-end:
:!: (You should have the latest version of dynamips server installed, if you don't go back to section II of this howto.)
1. Get a copy of the program from here (one of the source .tar archive)
2. Unpack downloaded file (right-click and 'unpack here' option)
2. Install dependencies:
Code:sudo apt-get install python-qt4
Code:cd ~/Desktop/GNS3-0.3.2/
Code:./gns3
To run the emulation, configure GNS-3 first. Basically:
under Edit>Preferences
=> set the path to dynamips executable, which is: /usr/bin/dynamips
=> specify working directory for dynamips (anything you like, I created 'GNS-3' folder on my desktop, the place, where the program throws config files)
=> probably you should untick 'Enable IOS ghost feature' (once it was on I get some errors when tried to emulate two routers...
Code:***Error: 203-Bad number of parameters (5 with min/max=3/3)
under Edit>IOS images and hypervisors
=> point to your IOS image file, choose platform and click save
Now, drag&drop two routers connect them with serial cable, cross you fingers and click 'Emulation Mode'.
(To find out more get a copy of the official documentation from here)
----------------------------------------------------------------------------------
IV. Dia - diagram editor:
Dia seem to be good tool to draw network diagrams, to install, run from terminal:
Code:sudo apt-get install dia-gnome
----------------------------------------------------------------------------------
V. Extras:
Helpful little thing that you may find useful is 'nautilus-open-terminal' plugin, which let you open terminal in arbitrary local path, straight from the context menu (under right-click):
Code:sudo apt-get install nautilus-open-terminal
Code:sudo /etc/init.d/gdm restart
Network traffic analyzer - Wireshark, to install:
Code:sudo apt-get install wireshark
Good luck! Enjoy
Chúc bạn vui !!!Trần Mỹ Phúctranmyphuc@hotmail.com
Hãy add nick để có thông tin đề thi mới nhất :tranmyphuc (Hỗ trợ tối đa cho các bạn tự học)
Cisco Certs : CCNP (Passed TSHOOT 1000/1000)
Juniper Certs : JNCIP-ENT & JNCIP-SEC
INSTRUCTORS (No Fee) : CISCO (Professional) , JUNIPER (Professional) , Microsoft ...
[version 4.0] Ôn tập CCNA
Comment
- I. Easy way to install Dynamips/Dynagen (older version)
-
Originally posted by boylies1986 View Postminh dung GNS3 0.4.1
minh da cau hinh path cho dynamip nhung khi keo tha~ thi luon bi bao loi~ :
203-Bad number of Parameters (5 with min/max = 2/2)
???
khong hieu tai sao lai bi nhu vay ?!
bac nao bit xin chi~ du`m em gap
da ta. cac bac'no car...no house...no money, but have only a sharing and friendly heart. What's the most important thing in this life "Heart or Money ?". Anything else can stead money ?
:32::53::X:106:
Nothing last forever...
Comment
-
help me!
mình sử dụng GNS30.7 và dynagen-0.10.1_dynamips-0.8.0-RC1_Win_XP_setup
Tạo xong giao dien kết nối 2 router trên GNS3 và 2 switch -> lưu lại thành file1.net
khi mình chạy file1.net thì Dynagen thông báo lỗi
***Eror: could not connect to server: localhost:7200
mình không khắc phục được
bạn giúp mình với.Last edited by nguyenort; 18-05-2010, 09:27 AM.
Comment
-
Cả Dynagen và GNS3 đều là các chương trình giúp chúng thao tác dễ dàng hơn khi xây dựng mô hình mạng, còn thực chất chương trình để thao tác với các Cisco IOS là Dynamips. Bạn phải chạy Dynamips trước, sau đó mới chạy file .net.
ThânTừ nay quyết chí đi tu, ráng luyện công mong ngày thành chính quả. Nam mô a di đà phật. Thiện tai. Thiện tai.
Comment
Comment