PDA

View Full Version : Hướng dẫn sử dụng GNS3


tranmyphuc
28-05-2008, 04:04 PM
Hướng dẫn sử dụng:

1.Sau khi cài đặt, mở menu Edit/Preference...
http://vsic.com/forum/Hinhanh/GNS3-1.png

2. Cấu hình đường dẫn đến chương trình Dynamips (quan trọng - mặc định sẽ là C:\Program Files\..., nếu bạn cài Windows trên D: thì phải chỉ lại đường dẫn mới) và thư mục làm việc cho Dynamips (Vd: D:\Dynamips)
http://www.vsic.com/forum/images/statusicon/wol_error.gifẢnh này đã được chỉnh nhỏ lại. Bạn vui lòng nhấn vào dòng này để hiện kích thước gốc. Kích thước gốc của ảnh là 694x565.http://vsic.com/forum/Hinhanh/GNS3-2.png

3. Cấu hình IOS Image:
http://vsic.com/forum/Hinhanh/GNS3-3.png

http://www.vsic.com/forum/images/statusicon/wol_error.gifẢnh này đã được chỉnh nhỏ lại. Bạn vui lòng nhấn vào dòng này để hiện kích thước gốc. Kích thước gốc của ảnh là 672x497.http://vsic.com/forum/Hinhanh/GNS3-4.png

4. Design network, cấu hình Slot cho Router (Vd: 4 Serial + 1 FastEthernet):
http://vsic.com/forum/Hinhanh/GNS3-5.png

http://www.vsic.com/forum/images/statusicon/wol_error.gifẢnh này đã được chỉnh nhỏ lại. Bạn vui lòng nhấn vào dòng này để hiện kích thước gốc. Kích thước gốc của ảnh là 681x528.http://vsic.com/forum/Hinhanh/GNS3-6.png

5. Tạo kết nối và chuyển sang Simulation mode:
http://vsic.com/forum/Hinhanh/GNS3-7.png

http://vsic.com/forum/Hinhanh/GNS3-8.png

6. Khởi động Router & cấu hình:
http://vsic.com/forum/Hinhanh/GNS3-9.png

http://vsic.com/forum/Hinhanh/GNS3-10.png

Bổ sung :

http://www.vinaanh.com/photo/4873edc917ddc.jpg

Chúc mọi người vui !!!

File đính kèm là một bản dịch tiếng việt từ tài liệu hướng dẫn trên www.gns3.net . Các bạn có thể down thêm để tham khảo !!!

ghostrider
08-06-2008, 03:05 PM
Cám ơn bạn nhiều nhé. Chắc bạn phải master lắm rồi mới có nhiều bài post như vậy. Học theo bạn như vậy có ngày mình sẽ master.@_@

duanvcd
08-06-2008, 03:14 PM
Có tài liệu hướng dẫn cách thêm port NM-16ESW vào để chạy Switch nhưng mình ko thấy slot nào như vậy cả...
GNS có thể chạy Switch được ko?

tranmyphuc
08-06-2008, 03:31 PM
Có tài liệu hướng dẫn cách thêm port NM-16ESW vào để chạy Switch nhưng mình ko thấy slot nào như vậy cả...
GNS có thể chạy Switch được ko?

Chào !!!
GNS3 chính là chương trình dynamips với giao diện đồ họa.Do đó, tất nhiên là nó sẽ giả lập được switch giống như dynamips

Chúc bạn vui !!!

thanhtam
08-06-2008, 09:27 PM
nhưng chạy cái này ì lắm, dynamic vẫn nhanh hơn

khungbo33
08-06-2008, 10:42 PM
to tranmyphuc1988: bài viết rất cần thiết , giúp cho những bạn mới dùng dynampis có chỗ tham khảo !
Theo mình nhận thấy hiện tại GNS3 là tốt nhất , rất trực quan , demo lab nhanh và giả lập PIX rất dễ dàng . Tốc độ thì có thể chậm hơn dynagen chút ít vì dùng GUI mà .
Nếu ai muốn hiểu kỹ dĩ nhiên là phải đọc tutorial dynagen : http://dynagen.org/tutorial.htm

duanvcd
20-06-2008, 01:35 AM
Vấn đề là thông thường dynagen hay GNS thường sử dùng IOS 7200, nhưng IOS này ko giả lập được Switch (chẳng hiểu vì sao nữa, mình đã thử cho cả Dynagen và GNS---->trong mục chọn Slot của GNS3 ko có mục NM-16ESW).
Vì thế nếu muốn giả lập Switch thì nên dùng IOS 3660.

cuibapcaca
24-06-2008, 04:54 PM
Làm lab port security với GNS3 thì sao nhĩ?

duanvcd
24-06-2008, 06:30 PM
bạn dùng 1 con Router giả làm Sw là làm được Port Sercurity thôi...(lưu ý là nếu dùng con 7200 thì đừng mơ giả làm được Sw nhé---dùng 3660 í ^^)

lovelygirl
26-06-2008, 11:58 PM
cho mình hỏi một xíu.Mình dùng boson netsim thì có giả lập đc switch 3560 đc hay ko vậy?sao mình làm mà bị báo lỗi liên tục.

binhld
28-06-2008, 06:05 PM
Mình đã chạy thử GNS3 nhưng khi chạy được hai con router(IOS 7200) thì performance của CPU đã lên 100% rùi ,cho mình hòi có cách nào chỉnh để cho nó giảm xuống ko? (lúc trước mình dủng dynamips thỉ cũng bị như vậy nhưng không biết chỉnh sau cho nó giảm xuống /:))
Khi mỉnh nhấp vô router để cấu hình thì ở thẻ General có mục npe = npe-400 cho mình hỏi npe là thông số gì?..
thanks:)

Mr.LeVy
28-06-2008, 07:39 PM
Mình đã chạy thử GNS3 nhưng khi chạy được hai con router(IOS 7200) thì performance của CPU đã lên 100% rùi ,cho mình hòi có cách nào chỉnh để cho nó giảm xuống ko? (lúc trước mình dủng dynamips thỉ cũng bị như vậy nhưng không biết chỉnh sau cho nó giảm xuống /:))
Khi mỉnh nhấp vô router để cấu hình thì ở thẻ General có mục npe = npe-400 cho mình hỏi npe là thông số gì?..
thanks:)

Điều chỉnh thông số idle đi. Còn NPE-400 là card engine của nó đó. Bác bên giảm xuống đi, trừ khi bác muốn tận dụng tính năng của nó.

athaygiao
29-06-2008, 02:52 AM
Bạn cho mình hỏi là mình có 1 máy bàn và 1 laptop nối mạng Lan với nhau và dùng Laptop với 1GB Ram làm Server và Máy bàn 512 MB Ram làm Client thì làm sao kết nối 2 máy với nhau để cùng config.
Nếu dùng với Dynagen/Dynamips thì đã đọc qua cách cấu hình nhưng chưa thử còn cái GNS thì chưa thấy nói tới vấn đề này!

cntt1986
29-06-2008, 04:55 PM
Mình đã chạy thử GNS3 nhưng khi chạy được hai con router(IOS 7200) thì performance của CPU đã lên 100% rùi ,cho mình hòi có cách nào chỉnh để cho nó giảm xuống ko? (lúc trước mình dủng dynamips thỉ cũng bị như vậy nhưng không biết chỉnh sau cho nó giảm xuống /:))
Khi mỉnh nhấp vô router để cấu hình thì ở thẻ General có mục npe = npe-400 cho mình hỏi npe là thông số gì?..
thanks:)

Chào bạn. Bạn có thể chỉnh trong cửa sổ console của GNS3. bạn dùng lệnh: idlepc get tenthietbi (phân biệt chử hoa chử thường).
Hoặc bạn có thể cài đặt idlepc sẵn trong phần edit->IOS images->idle PC.

sonnd
08-07-2008, 07:34 PM
Hi tranmyphuc1988!

Bạn cho mình hỏi. Mình cài GNS3 trên Vista thì không thể tạo kết nối giao tiếp với mạng thực được mình dùng “Network device list” thì nó hiện ra thông báo .
================================================== ==
Network adapters on this machine:

Unable to create lock file "c7200_i0_lock".
VM default: unable to create instance!
C7200: unable to create instance!


Use as follows:
F0/0 = NIO_gen_eth:\Device\NPF_{...}


Press any key to continue . . .
================================================== =
Bạn có cách nào giúp không ?
Thanks

tranmyphuc
08-07-2008, 10:29 PM
Hi tranmyphuc1988!

Bạn cho mình hỏi. Mình cài GNS3 trên Vista thì không thể tạo kết nối giao tiếp với mạng thực được mình dùng “Network device list” thì nó hiện ra thông báo .
================================================== ==
Network adapters on this machine:

Unable to create lock file "c7200_i0_lock".
VM default: unable to create instance!
C7200: unable to create instance!


Use as follows:
F0/0 = NIO_gen_eth:\Device\NPF_{...}


Press any key to continue . . .
================================================== =
Bạn có cách nào giúp không ?
Thanks

Chào !!!
Bạn thấy đám mây trong phần thiết bị cấu hình ko??
GNS3 sẽ tự lấy thông tin thiết bị, đám mây đó chính là mạng thực đó.
Bạn tự khám phá xem khi đó bạn mới thấy rằng GNS3 hay như thế nào

Chúc vui !!!

tv04dth1
27-07-2008, 04:19 PM
Chào mấy pác.!!
Sao e làm theo chỉ dẫn nhưng khi vào Emulatation Mode thì hiện thông báo lỗi
Error: 209-unable to start WM instant 'ghost-c7200-ik9o3s-mz.124-12c.bin-localhost'. Mong mấy pác chỉ giúp. :106:

mon_hy
04-08-2008, 10:51 AM
Có ai biết sử dụng thiết bị PC ảo (giống với Boson Netsim) ở trong GNS3 không nhỉ, mình muốn sử dụng một số PC ảo để test thử hệ thống thông qua GNS3. nếu cài máy ảo = Virtual PC hoặc VMware thì tốn bộ nhớ lắm. Mong chỉ giáo

hieun
05-08-2008, 09:11 AM
Mình gặp sự cố khi sử dụng gns3 như sau: mình right click lên con router, rồi chọn idlepc, chờ một lát rồi bị treo máy, mình nhấn nút reset, từ sau đó là không vào Windows được, nhưng vào được ở chế độ safemode.
Mình đã vào chế độ safemode của Windows để gở chương trình gns3, rồi boot lại nhưng vẫn không vào được Windows.
Xin chỉ mình giải quyết sự cố trên

chip
07-08-2008, 09:47 AM
start router len roi,nhung vao console k duoc,bao la:"the system cannot find the file specified " ban nao giup minh .Thank!

kmasterit
11-08-2008, 11:04 PM
start router len roi,nhung vao console k duoc,bao la:"the system cannot find the file specified " ban nao giup minh .Thank!
Lúc đầu mới học mình cũng gặp lỗi này một lần!
C1: Nếu bạn để ý chút xíu sẽ thấy trong GNS3 > Preferences > General. Phần Terminal command nó có để dòng ...putty.exe...
Đó là chương trình mà GNS3 dùng để telnet đến router. Windows không có chương trình này nên khi chạy console trên router sẽ báo lỗi là không tìm thấy chương trình đó.
Bạn hãy vào trang web sau: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Download file putty.exe về.
Ở mục Terminal command của GNS3 bạn sẽ thấy đường dẫn ở chỗ cần đặt file putty.exe
Theo mặc định thì bạn sẽ phải tạo thư mục Putty sau đó chép file putty.exe vào thư mục đó.
Bây giờ bạn chạy console sẽ bình thường.
C2: Nếu bạn không thích dùng chương trình putty thì bạn cũng có thể dùng tiện ích telnet có sẵn trong windows. Khi đó trong Terminal command, dòng lệnh khai báo sẽ là start telnet %h %p . Lưu ý một điều là nếu bạn dùng Windows Vista thì mặc định chương trình telnet sẽ không được cài đặt nên khi chạy console thì bạn sẽ gặp lỗi trên. Do đó nếu muốn dùng telnet trên Vista thì bạn phải cài nó vào (Trong Control panel > Programs and Features > Turn Windows features on or off, sau đó click chọn Telnet client để cài đặt)

Good luck!

thangnq
01-09-2008, 11:05 AM
Tớ đang tìm hiểu về dynamips và GNS, đã biết nghịch dynamips với dynagen rồi, tuy nhiên khi chạy dynamips với GNS 3 thì lại không được. GNS toàn báo lỗi: "A hypervisor is already running on port 7200, it will not be shutdown after you quit GNS3" thôi. Không hiểu vì sao ? Bạn nào giúp tớ với !

tranmyphuc
01-09-2008, 11:08 AM
Chào !!!
Khi dùng GNS3 bạn không được mở dynamips

Chúc vui !!!

ducminh08
08-09-2008, 08:50 PM
mình có vấn đề về telnet khi xài NGS3
mình tạo ra 3 router 1721
khi telnet /all thì chỉ có 2 cái là vào được đền CLI của router
còn 1 cái thì kô được (thường là cái cuối)

tương tự như với xài dynamips/dynagen

[localhost:7200]
[[1721]]
image = c:\C1700.bin
ram = 32
[[router R1]]
model = 1721
console = 2000

mình chỉ viết 1 đoạn đơn giản như vậy
nnhưng khi chạy lên và đánh lệnh telnet R1
thì nó có hiển thị của sổ telnet nhưng kô thê vào CLI của router được

có cách nào giải quyết không ???

evn
12-09-2008, 04:38 PM
Help voi, sao khi console hoac telnet router deu bi cac dong chu chay lien hoi, CPU 100%.

VoT
13-09-2008, 12:32 PM
o IOS c3725-adventerprisek9-mz.124-15.T5
o IOS c3660-jk9o3s-mz.124-19.bin

Bạn nào có IOS này thì cho mình xin với được không? up lên bất cứ host nào cũng đc, cám ơn nhiều

duanvcd
13-09-2008, 02:17 PM
Bạn tìm ở trong này xem có không nhé:
http://www.smallservers.net/

Asturias
13-09-2008, 08:31 PM
o IOS c3725-adventerprisek9-mz.124-15.T5
o IOS c3660-jk9o3s-mz.124-19.bin

Bạn nào có IOS này thì cho mình xin với được không? up lên bất cứ host nào cũng đc, cám ơn nhiều


của bạn đây

http://www.4shared.com/file/51897594/139de2bb/c3660-jk9o3s-mz124-5a.html?s=1
http://www.4shared.com/file/54204799/82ae8b36/c3725-adventerprisek9-mz124-15T5.html?s=1

anhbaa21
04-10-2008, 01:44 PM
em cài đặt y chang như trên test thành công mà sao lúc console vo thi no noi
"the system cannot find the file specified" ai co thể giúp đỡ chi tiết giúp dùm em
cám ơn nhiều. Em đã đọc các bài trước rồi nhưng ko hiểu

VoT
11-10-2008, 07:21 PM
của bạn đây

http://www.4shared.com/file/51897594/139de2bb/c3660-jk9o3s-mz124-5a.html?s=1
http://www.4shared.com/file/54204799/82ae8b36/c3725-adventerprisek9-mz124-15T5.html?s=1

Cám ơn bạn rất nhiều :X
nhưng mình đang hỏi xin IOS c3660-jk9o3s-mz.124-19.bin , bản của bạn là c3660-jk9o3s-mz124-5a
Còn link c3725-adventerprisek9-mz.124-15.T5 die rồi bạn à

mutinhoc
13-10-2008, 03:36 PM
sao em down file ios của router 2600, 2691, nhưng bây giờ làm sao em plugin thêm card serial,vào, mong được giúp đở

minhcorp
18-10-2008, 09:43 PM
mình có vấn đề về telnet khi xài NGS3
mình tạo ra 3 router 1721
khi telnet /all thì chỉ có 2 cái là vào được đền CLI của router
còn 1 cái thì kô được (thường là cái cuối)

tương tự như với xài dynamips/dynagen

[localhost:7200]
[[1721]]
image = c:\C1700.bin
ram = 32
[[router R1]]
model = 1721
console = 2000

mình chỉ viết 1 đoạn đơn giản như vậy
nnhưng khi chạy lên và đánh lệnh telnet R1
thì nó có hiển thị của sổ telnet nhưng kô thê vào CLI của router được

có cách nào giải quyết không ???


Minh cung bi y chang truong hop nay, co cach nao giai quyet khong nhi!

anh29881
20-10-2008, 11:03 AM
co ban nao chi minh cach ket noi tu CRT vao GNS3 voi minh co lam giong mot so huong dan ma tren forum ma ko chay

htvicky
24-10-2008, 10:01 PM
Anh Phúc biết cách kết hợp với CRT ko. Và cách dung Vpc ko.

thanhbobo
31-10-2008, 10:43 PM
Ai gặp lỗi giả lập PIX như mình không nhỉ, chỉ mình cách khắc phục với !
khi Start FW0 thì nó báo
***Error: 209-unable to start instance 'FW0'
Đã thử qua mấy cái image pix802 và 722 rồi vẫn không ăn thua :(

Thanks

huyhung
01-11-2008, 01:51 AM
co ban nao chi minh cach ket noi tu CRT vao GNS3 voi minh co lam giong mot so huong dan ma tren forum ma ko chay

Bạn tạo 1 script: securecrt.vbs đặt vào thư mục GNS3
Code:
----------------------------
#$Language="VBScript"
#$Interface="1.0"

Sub main

crt.window.caption = crt.arguments(0)

End Sub
------------------------------
và sử dụng command
start C:\progra~1\SecureCRT\SecureCRT.EXE /script C:\progra~1\gns3\securecrt.vbs /arg %d /telnet %h %p


(Tham khảo tại http://7200emu.hacki.at/viewtopic.php?t=3814&sid=9538f13111b6b06859723fe067a821c3)

thanhbobo
01-11-2008, 02:44 AM
Ai gặp lỗi giả lập PIX như mình không nhỉ, chỉ mình cách khắc phục với !
khi Start FW0 thì nó báo
***Error: 209-unable to start instance 'FW0'
Đã thử qua mấy cái image pix802 và 722 rồi vẫn không ăn thua :(

Thanks

Mình đã khắc phục được lỗi này bằng cách vào Preferences, Pemu, thay đổi Working Directory thành Program Files/GNS3/Dynamips/ :D Sướng tỉnh người !!

GNS3 -beta 0.6
http://www.gns3-labs.com/wp-content/uploads/2008/misc/GNS3-Labs.Com-GNS3-beta-0.6-win32-all-in-one.rar

VoT
02-11-2008, 01:07 AM
Mình vào http://www.gns3.net/download vẫn chỉ thấy gns3 v0.5, bồ làm thế nào có 0.6 hay vậy?

thanhbobo
02-11-2008, 03:25 AM
Mình xem ở trang này đó bạn :D
http://www.gns3-labs.com

doanpv22
06-11-2008, 03:57 PM
ehhehe! Bác TranMyPhuc này PRO lắm! ehehhehe! Các Pro khác cũng loi gương để anh em đi sau như bọn em được học hỏi nha!

warwin86
16-12-2008, 11:45 PM
Khi chạy GNS3 và start 1 Router thì làm sau mà giảm PF Usage xuống thấp
Mong mọi người giúp đỡ

tranmyphuc
16-12-2008, 11:58 PM
Khi chạy GNS3 và start 1 Router thì làm sau mà giảm PF Usage xuống thấp
Mong mọi người giúp đỡ
Chào,
Bạn click chuột phải vào router và chọn idlepc . Chọn thông số có dấu *

Chúc bạn may mắn và vui vẻ.

warwin86
28-12-2008, 09:14 AM
http://i264.photobucket.com/albums/ii168/warwin86/1.jpg

Anh ơi cho hỏi làm sao giảm cái trong hình

còn cái cpu usage thì dùng idle pc thì ok rồi

nhưng cái thằng PF usage thì nó tăng lên dữ quá làm sao giảm xuống

tranmyphuc
28-12-2008, 03:31 PM
http://i264.photobucket.com/albums/ii168/warwin86/1.jpg

Anh ơi cho hỏi làm sao giảm cái trong hình

còn cái cpu usage thì dùng idle pc thì ok rồi

nhưng cái thằng PF usage thì nó tăng lên dữ quá làm sao giảm xuống
Chào,
Bạn chỉ có thể tăng RAM ảo cho máy thôi hoặc mua Ram mới gắn thêm vào.

Hiện không có chức năng giảm dung lượng RAM

Chúc bạn vui.

Asturias
28-12-2008, 11:47 PM
http://i264.photobucket.com/albums/ii168/warwin86/1.jpg

Anh ơi cho hỏi làm sao giảm cái trong hình

còn cái cpu usage thì dùng idle pc thì ok rồi

nhưng cái thằng PF usage thì nó tăng lên dữ quá làm sao giảm xuống


Đây là một đoạn mình copy trong GNS3 manual

Building More Complex Topologies

Although a single router is useful to get familiar with commands, it would be nice to build more complex topologies.
With GNS3 very complex topologies may be built. Just as performance when running virtual machines within VMware or
Virtual PC depends on your computer resources, running many router instances will affect the performance of your
computer. The faster your CPU and the more RAM that you have, the better. However, idlepc does a lot to help with
CPU usage. Ghostios and sparsemem are two additional utilities that will help with RAM usage. Ghostios is enabled by
default in GNS3. Sparsemem must be enabled, since it is off by default. These will be discussed in detail in the section on
Memory Usage. As an example, with 2 Gigabytes of RAM and a 2.5 GHz processor, you should have no problems running
a lab with good performance with a half dozen routers and several workstations.

Memory Usage

The Ghostios option can significantly reduce the amount of real host RAM needed for labs with multiple routers running
the same IOS image. With this feature, instead of each virtual router storing an identical copy of IOS in its virtual RAM,
the host will allocate one shared region of memory that they will all utilize. So for example, if you are running 10 routers
all with the same IOS image, and that image is
60 MB in size you will save 9*60 = 540 MB of
real RAM when running your lab. Ghostios is
enabled, by default, in GNS3.

real memory, but instead reduces the amount
of virtual memory used by your router
instances. This can be important, because your
OS limits a single process to 2 GB of virtual
memory on 32-bit Windows, and 3 GB on 32-bit
Linux. Enabling sparsemem only allocates virtual
memory on the host that is actually used by the
IOS in that router instance, rather than the
entire amount of RAM configured. This can
allow you to run more instances.
Both features rely on mmap, so this must also
be enabled. Select Preferences under the Edit
menu within GNS3. Check the appropriate
boxes to enable these features.

tuandung_net
04-01-2009, 01:24 PM
Hướng dẫn sử dụng:

1.Sau khi cài đặt, mở menu Edit/Preference...
http://vsic.com/forum/Hinhanh/GNS3-1.png

2. Cấu hình đường dẫn đến chương trình Dynamips (quan trọng - mặc định sẽ là C:\Program Files\..., nếu bạn cài Windows trên D: thì phải chỉ lại đường dẫn mới) và thư mục làm việc cho Dynamips (Vd: D:\Dynamips)
http://www.vsic.com/forum/images/statusicon/wol_error.gifẢnh này đã được chỉnh nhỏ lại. Bạn vui lòng nhấn vào dòng này để hiện kích thước gốc. Kích thước gốc của ảnh là 694x565.http://vsic.com/forum/Hinhanh/GNS3-2.png

3. Cấu hình IOS Image:
http://vsic.com/forum/Hinhanh/GNS3-3.png

http://www.vsic.com/forum/images/statusicon/wol_error.gifẢnh này đã được chỉnh nhỏ lại. Bạn vui lòng nhấn vào dòng này để hiện kích thước gốc. Kích thước gốc của ảnh là 672x497.http://vsic.com/forum/Hinhanh/GNS3-4.png

4. Design network, cấu hình Slot cho Router (Vd: 4 Serial + 1 FastEthernet):
http://vsic.com/forum/Hinhanh/GNS3-5.png

http://www.vsic.com/forum/images/statusicon/wol_error.gifẢnh này đã được chỉnh nhỏ lại. Bạn vui lòng nhấn vào dòng này để hiện kích thước gốc. Kích thước gốc của ảnh là 681x528.http://vsic.com/forum/Hinhanh/GNS3-6.png

5. Tạo kết nối và chuyển sang Simulation mode:
http://vsic.com/forum/Hinhanh/GNS3-7.png

http://vsic.com/forum/Hinhanh/GNS3-8.png

6. Khởi động Router & cấu hình:
http://vsic.com/forum/Hinhanh/GNS3-9.png

http://vsic.com/forum/Hinhanh/GNS3-10.png

Bổ sung :

http://www.vinaanh.com/photo/4873edc917ddc.jpg

Chúc mọi người vui !!!

File đính kèm là một bản dịch tiếng việt từ tài liệu hướng dẫn trên www.gns3.net (http://www.gns3.net) . Các bạn có thể down thêm để tham khảo !!!
khong xem dc hinh anh anh trai oi!up lai di, co moi hinh anh truc quan thi ko nhin dc

Lione
10-01-2009, 03:58 PM
bạn nào biết cách cấu hình GNS3 chạy kểu server để rồi mình dùng PC khác telnet vào cấu hình không? chỉ cho mình với
cảm ơn nhiều

windownt82
23-02-2009, 08:35 PM
Bác tranminhphuc ơi.Bác có thể cho em biet tại sao em dùng GNS3 giả lập pix firewall và truy nhập vào colonse của nó đánh các câu lệnh thì toàn báo lỗi không thiết lập được vậy mong bác chỉ giáo với.Thanks

windownt82
23-02-2009, 08:42 PM
em nhầm tên tranmyphuc sorry

muncam
26-02-2009, 03:00 PM
Hiện tại mình đang làm đồ án tốt nghiệp "Mobile Ip trong mạng GPRS/UMT", và mình đang cần phần mềm để mô phỏng. Thấy GNS3 cũng dùng nhiều nên mình đang cài để tìm hiểu. Các file mình đã down gần đủ chỉ còn IOS là mình tìm down mãi đều không được. Một là không tìm thấy file trong rapide hai là chúng dòi đăng ký. Admin và các bạn giúp mình với nhé. Cảm ơn nhiều!!!!!:X

htvicky
05-03-2009, 09:38 PM
anh phúc ơi làm sao để connect một máy ảo vmware với GNS vâyh

thabeo
05-03-2009, 09:56 PM
anh phúc ơi làm sao để connect một máy ảo vmware với GNS vâyh

Trong GNS, sử dụng biểu tượng Cloud để kết nối với máy ảo chạy vmware

changzheng
11-03-2009, 09:39 AM
Lỗi này là sao các đại ca ơi

1638

invalid_user
12-03-2009, 06:00 PM
Chào mọi người. Mình đang tự học BSCI. Muốn thực hành các bài Lab với công cụ này. Mong các bạn giúp đỡ mình trong việc cài đặt và làm thế nào để thực hành được các bài Lab trong core BSCI. Cám ơn các bạn

Bác cho em hỏi, khi cài đặt, em đã test phần kết nối với dynamip nhưng toàn bị fail. Bác cho em hỏi là em đã cài bộ GNS3 all-in-one rồi. Có cần cài riêng bộ Dynamip không hay chỉ cần sử dụng bộ dynamip đã được cài sẵn với GNS. Chỉ giúp cho em với

logmeinvietnam
12-03-2009, 10:49 PM
Test mà bị file là do sai đường dẫn là chủ yếu.

GNS3 all-in-one là một bộ tích hợp đầy đủ. bạn không cần cài thêm bất cứ thứ gì cả.

Dưới là file đính kèm bạn down về xem cách cài đặt.

http://www.4shared.com/file/92656873/3aa32d03/GNS3.html


Bạn xem bài viết của TranMyPhuc. Kỳ sau bạn nên xem kĩ box trước khi post bài. Vài ngày nữa mình sẽ move bài bạn vào box phần mềm mô phỏng
http://vnpro.org/forum/showthread.php?t=16328&highlight=gns3

http://dynagen.org/tutorial.htm

invalid_user
14-03-2009, 10:03 PM
cam on bac. minh da cai duoc roi. Nhung minh thuc hien LAB voi tam 3 con router thi performace da cao ngat nguong la 100%. RAM minh 1G. lam the nao de giam duoc khong, minh da chon Idle cho router roi.Giup voi

Trả lời
Nếu Idlepc bạn chọn xong lúc bật lên 1 con chưa tới 10% là được. Còn nếu cao quá thì chọn lại giá trị idle PC khác.

nguyenduclong
14-03-2009, 10:31 PM
Hi moi nguoi. Minh muốn dùng phần mềm này thực hành cho core II. Nhưng khong biết làm thế nào để thực hành được với Switch layer 3. Mong moi người giúp đỡ

trainingit
16-03-2009, 09:27 AM
GNS3 (dynamips) chỉ giả lập tốt switch layer 2, với switch layer 3 còn rất nhiều hạn chế :

Restrictions

The following functions are not supported in this release:

•CGMP client, CGMP fast-leave

•Dynamic ports

•Dynamic access ports

•Secure ports

•Dynamic trunk protocol

•Dynamic VLANs

•GARP, GMRP, and GVRP

•ISL tagging (The chip does not support ISL.)

•Layer 3 switching onboard

•Monitoring of VLANs

•Multi-VLAN ports Network Port

•Shared STP instances

•STP uplink fast for clusters

•VLAN-based SPAN

•VLAN Query Protocol

•VTP Pruning Protocol

•Web-based management interface

để làm tốt các bài lab BCMSN, bạn cần có switch layer 3 thật :)

trainingit
16-03-2009, 09:35 AM
cam on bac. minh da cai duoc roi. Nhung minh thuc hien LAB voi tam 3 con router thi performace da cao ngat nguong la 100%. RAM minh 1G. lam the nao de giam duoc khong, minh da chon Idle cho router roi.Giup voi



Memory Usage Optimizations

As described in the Resource Utilization section your labs can consume a large amount of real and virtual memory. The “ghostios” and “sparemem” options were added to address both of these issues, respectively.

The Ghostios option can significantly reduce the amount of real host RAM needed for labs with multiple routers running the same IOS image. With this feature, instead of each virtual router storing an identical copy of IOS in its virtual RAM the host will allocate one shared region of memory that they will all utilize. So for example, if you are running 10 routers all with the same IOS image, and that image is 60 MB in size you will save 9*60 = 540 MB of real RAM when running your lab. Enabling ghostios is as simple as specifying “ghostios = true” in your network file. This option can be used in several places:
If used at the top level, ghostios is applied to all router instances in the lab
If used at the defaults section (e.g. “[[7200]]”) it applies only to that model of router on that dynamips server
Note that ghostios (and all other top level parameters for that matter) cannot be specified at the server level. They will be ignored. ghostios also cannot be specified at the router level

Typical usage is to specify “ghostios = true” at the top level. Dynagen is smart enough only to use ghostios if there is more than one router using the same IOS image.

When enabled, you will notice additional files in the same directory as you router nvram files with names like “c3660-ik9o3s-mz.124-10.image.ghost”. This is the mmap’ed file that contains the shared memory region. The other files typically created with a router instance are created as well (log, nvram, and possibly bootflash files).

Measuring the amount of host memory saved with ghostios can be a little tricky due to the complexities of memory management in modern OSs. See this sticky post in the General section of Hacki’s Forum titled “Understanding memory usage and RAM Ghosting: for the gory details.

The “sparsemem” feature does not conserve real memory, but instead reduces the amount of virtual memory used by your router instances. This can be important, because OS limits a single process to 2 GB of virtual memory on 32-bit Windows, and 3 GB on 32-bit Linux. For example, on Windows, after the VM space used by cygwin and other libraries dynamips depends on, this only leaves room for 4 router instances @ 256 MB each! Enabling sparsemem only allocates virtual memory on the host that is actually used by IOS in that router instance, rather than the entire amount of RAM configured. This can allow you to run more instances per dynamips process before you have to resort to running multiple dynamips processes. See this FAQ item for more info on this issue.

Neither ghostios nor sparemem are enabled by default, so you must turn them on with:

ghostios = true
sparsemem = true

in your network file. If you use ghostios, the shared memory will be memory-mapped no matter what your mmap setting is. If you enable sparse-mem, no memory mapping will occur for router memory. You can choose to use ghostios or sparsemem separately or together.

Here is an example network file with typical ghostios and sparsemem usage – configured at the top level so that they are applied to all router instances in the lab:

model = 3660
ghostios = true
sparsemem = true

[localhost]

[[3660]]

image = \Program Files\Dynamips\images\c3660-ik9o3s-mz.124-10.image

[[router r1]]

fa0/0 = sw 1 # Note that you can use two letter interfaces names

# for increased clarity if you wish

[[router r2]]
fa1/0 = sw 2

[[router r3]]
fa1/0 = sw 3

[[ETHSW sw1]]
1 = access 5
2 = access 25
3 = access 35
4 = dot1q 1 NIO_gen_eth: NIO_gen_eth:\Device\NPF_{B00A38DD- F10B-43B4-99F4-B4A078484487}

(see: http://dynagen.org/tutorial.htm#_Toc193248009)

nguyenduclong
17-03-2009, 07:52 AM
trời. Không support nhiều như thế thì đúng là mua Switch layer 3 thật. Có lẽ mua xong rồi cho vào bảo tàng trưng bày mất thôi

minhvn123
17-03-2009, 08:57 AM
Mua Switch layer 3 để thực hành à $-)

nguyenduclong
17-03-2009, 01:32 PM
Mua Switch layer 3 để thực hành à $-)

uh.Đang định chơi trội. Mua con layer 3 về xong rồi hết học hành luôn:))

invalid_user
17-03-2009, 01:53 PM
bác trainingit ơi. Bác nói rõ được không. Mình đọc thấy vất vả quá, chả sao mà hiểu nổi. Mong bác giúp đỡ

trainingit
17-03-2009, 02:31 PM
hi,
trong GNS3 cũng như dynamíps, giá trị idlepc dùng để làm giảm process của CPU:

Calculating Idle-PC values

You may have noticed that the previous lab caused your system’s CPU to peg at 100% and stay there. This is because Dynamips does not know when the virtual router is idle and when it is performing useful work. The “idlepc” command performs analysis on a running image to determine the most likely points in the code that represent an idle loop in IOS. Once applied, Dynamips “sleeps” the virtual router occasionally when this idle loop is executed significantly reducing CPU consumption on the host without reducing the virtual router’s capacity to perform real work

CPU sử dụng 100% bởi vì Dynamips ko biết khi nào router ảo ở trạng thái "idle" (khoảng thời gian router không ở trạng thái xử lý), và lúc nào router ở trạng đang thực hiện công việc của nó. Lệnh idlepc phân tích IOS đang chạy để tìm trong mã lệnh của nó những trạng thái "idle", Khi được xác lập, router sẽ ở trạng thái "ngủ - sleeps", do vậy làm giảm bớt năng lực của CPU, mà vẫn ko làm giảm hiệu năng của virtual router.

==> chỉ cần tìm đúng giá trị idlepc và apply là OK :D

(bạn xem thêm ở đây : http://dynagen.org/tutorial.htm#_Toc193247999 )

phần post ở trên dùng để tối ưu dung lượng RAM, khi bạn chạy nhiều virtual router.

nguyenduclong
19-03-2009, 11:50 AM
các bạn oi. Minh tìm hiểu trên mạng có một số con router có thể giả lập được switch để thực hành cho BCMSN. Có bạn nào biết không hướng dẫn cho mình với vì mình cũng đã thử nhưng không có lệnh để thực hiện cấu hình.thank a lot

tranmyphuc
21-03-2009, 12:32 PM
Chào các bạn,
Chúng ta hãy cùng nhau tiếp cận với một phần mềm khá hay dùng để giả lập, tôi tin nhờ nó mà cac bạn có thể tự học tập và nghiên cứu thật tốt.

http://vinaanh.com/images0/42177/f/49c4713975bbe_f.jpg



Xin giải thích cái tiêu đề: GNS3 Graphical Network Simulator

Tạm hiểu là: Phần mềm GNS3 – một phần mềm giả lập mạng có giao diện dạng đồ họa, kiểu như là packet tracer .

GNS3 là một phần mềm giả lập mạng dạng đồ họa, nó cho phép bạn mô phỏng với các mạng phức tạp. Các bạn đã quá quen thuộc với các phần mềm như VMware hoặc PC virtual để chạy các hệ điều hành khác nhau như là Windows XP rofessional hoặc Ubuntu Linux trong môi trường ảo trên chính PC cá nhân của mình. GNS3 cũng tương tự như vậy, nó sử dụng hệ điều hành mạng Cisco.

Nó cho phép bạn chạy một Cisco IOS trong một môi trường ảo trên máy tính cá nhân. GNS3 là “phần mặt trước” (front to end) của một sản phẩm được gọi là Dynagen (các bạn hiểu nôm na thế này: GNS3 chỉ là giao diện đồ họa để cho mình sử dụng thôi, còn cái cốt lõi là thằng dynagen, nó được dùng để chạy các IOS). Dynamip là một chương trình lõi cho phép bạn mô phỏng các IOS.
Dynagen chạy trên dynamip để tạo ra sự gần gũi hơn với môi trường dạng văn bản. Một người sử dụng có thể tạo ra một topo mạng chỉ đơn giản là sử dụng Windows ini-type files với dynagen. GNS3 thực hiện những điều này một cách đơn giản bằng một môi trường đồ họa.

http://vinaanh.com/images0/42177/f/49c4713eba1c4_f.jpg


GNS3 cho phép bạn mô phỏng Cisco IOS trên Windows hoặc Linux, nó có khả năng mô phỏng nhiều dạng router và PIX. Sử dụng card EthernetSwitch trong một router, nó cũng có thể mô phỏng đến mức độ mà chức năng card hỗ trợ. Điều đó có nghĩa GNS3 là một công cụ hữu ích cho các học viên tham gia các khóa học chứng chỉ Cisco như CCNA và CCNP. Trên thị trường cũng có khá nhiều các phần mềm mô phỏng router nhưng chúng bị giới hạn các câu lệnh do người phát triển thiết kế. Nó thường xuyên có các lệnh hoặc các tham số không được hỗ trợ khi mà thực hành trong môi trường thực tế. Trong những phần mềm giả lập này các bạn chỉ có thể nhìn thấy những thông tin ra của một router được giả lập.



Chính vì vậy mà sự chính xác của nó cũng chỉ ở mức mà người phát triển thiết kế ra. Với GNS3 thì bạn coi như đang chạy trên một Cisco IOS thực vì vậy bạn có thể xem được chính xác những thông tin mà IOS thực cung cấp và bạn cũng có thể truy cập tới bất cứ lệnh hoặc tham số nào mà Cisco IOS hỗ trợ. Thêm nữa, GNS3 là một phần mềm mã nguồn mở, là một chương trình miễn phí cho bạn sử dụng. Tuy nhiên bạn sẽ phải cung cấp chính Cisco IOS của mình để làm việc với GNS3. GNS3 có thông lượng là 1000 packets trên giây trong môi trường ảo. Một router thông thường có thể cung cấp thông lượng gấp trăm, nghìn lần như vậy.



GNS3 không thể thay thế một router thực nhưng nó là một công cụ hữu ích để học tập và để test các bài lab trong môi trường thực hành.

Dưới đây là ccs website hữu ích cho các bạn tham khảo:
http://www.gns3.net
http://wiki.gns3.net
http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
http://www.ipflow.utc.fr/blog/
http://dyna-gen.sourceforge.net/
http://www.ipflow.utc.fr/bts/
http://7200emu.hacki.at

Sites hữu ích nhất đó là www.gns3.net và http://7200emu.hacki.at. Site GNS3 là dành nói về GNS3 còn site hacki là forum hữu ích, nơi mà bạn có thể trao đổi, thảo luận với những người khác.

HƯỚNG DẪN NHANH GNS3 CHO NGƯỜI SỬ DỤNG WINDOWS

Phần này sẽ hướng dẫn bạn từng bước bắt đầu với GNS3 trong mô trường Windows
Bước 1: Download GNS3
Vào trang http://www.gns3.net.

http://vinaanh.com/images0/42177/f/49c4714258bed_f.jpg


Click nút Download
Cách tốt nhất cài đặt GNS3 trong môi trường Windows là sử dụng file đầu tiên
GNS3-0.5-win32-all-in-one.exe.
Click vào mirror 1 hoặc mirror 2 để download
Bước 2: Cài đặt GNS3
Tìm file bạn vừa download lúc nãy, nháy đúp để bắt đầu cài đặt GNS3 Setup Wizard sẽ xuất hiện, click nút Next

http://vinaanh.com/images0/42177/f/49c4714503528_f.jpg

Chọn nút I Agree để tiếp tục

http://vinaanh.com/images0/42177/f/49c4714a677d2_f.jpg

Click vào nút Next để cho phép GNS3 tạo một thư mục Start menu với tên mặc định là GNS3

http://vinaanh.com/images0/42177/f/49c4714cadc62_f.jpg

GNS3 sẽ yêu cầu một vài chương trình khác để hoạt động, những chương trình này bao gồm WinPCAP, Dynamips và Pemuwrapper. Những thành phần này cùng với GNS3, tất cả được lựa chọn mặc định để cài đặt. Click vào nút next để tiếp tục

http://vinaanh.com/images0/42177/f/49c4714edf504_f.jpg


Vị trí cài đặt mặc định đã được GNS3 lựa chọn

http://vinaanh.com/images0/42177/f/49c47151678f2_f.jpg


Phần được cài đặt đầu tiên cho GNS3 là WinPcap. Click nút next để bắt đầu WinPcap Setup Wizard.

http://vinaanh.com/images0/42177/f/49c47153e443f_f.jpg
Click nút I Agree để chấp nhận License Agreement cho WinPcap

http://vinaanh.com/images0/42177/f/49c47156dd4bc_f.jpg

Quá trình cài đặt WinPcap sẽ bắt đầu. Nếu bạn đã có một phiên bản trước đó của WinPcap thì wizard sẽ hỏi bạn để gỡ bỏ phiên bản cũ sau đó cài đặt phiên bản mới Sau khi WinPcap được cài đặt, GNS3 Setup Winzard sẽ trở lại cài đặt GNS3

http://vinaanh.com/images0/42177/f/49c47159ba2d6_f.jpg

Khi winzard kết thúc, bạn có thể bỏ dấu Show Readme và sau đó click Finish
http://vinaanh.com/images0/42177/f/49c4715bd22e4_f.jpg

(Còn tiếp)...

octieua1
23-03-2009, 09:50 AM
Cho em hỏi là muốn tạo 1 PC ảo để ping giữa các host với nhau trong GNS3 thì làm như thế nào...thks các anh chị nhìu

tranmyphuc
30-03-2009, 12:26 AM
Chào các bạn,
Sau khi chúng ta đã học được các giả lập PIX/ASA tại TOPIC :Hướng dẫn giả lập PIX và cài đặt ASDM ! (http://vnpro.org/forum/showthread.php?t=14831) chúng ta đã có thể tiếp cận những bài LAB thuộc module thứ 3 của chứng chỉ CCSP là : 642-524 SNAF (https://cisco.hosted.jivesoftware.com/community/certifications/ccsp/snaf?view=overview)

Tiếp sau đây, tôi sẽ gởi cho các bạn: bài hướng dẫn cấu hình IPS (hệ thống chống xâm nhập) bằng SDM trong GNS3 giúp tiếp cận với các bài LAB trong module thứ 4 của CCSP : 642-533 IPS (https://cisco.hosted.jivesoftware.com/community/certifications/ccsp/ips?view=overview)
(Tôi sẽ cố gắng có 1 bài hướng dẫn về việc làm sao để có CCSP Cert)

This tutorial will help you setup and configure your Ios Ips (Intrusion Prevention System) using SDM in less than 10 minutes.Cisco SDM is a web-based configuration tool that simplifies & eases router and security configuration through smart wizards , which help customers quickly and easily deploy , configure , and monitor a Cisco router without requiring knowledge of the command-line interface (CLI) .
I will walk you through the process to download IOS IPS signature package using SDM Auto Update feature, launch IPS Policies Wizard to configure IOS IPS and verify IOS IPS configuration .


NOTE : You will need 12.4(15)T3 and later release Cisco IOS version in order to configure IOS IPS using Cisco Router and Security Device Manager (SDM) version 2.5.

Enjoy !
http://www.brainbump.net/images/Playbutton-282x108.png (http://www.brainbump.net/tutorials/voice/configureiosipsusingsdm.htm)

tranmyphuc
30-03-2009, 12:48 AM
Chào các bạn , những ứng cử viên của CCIE Voice LAB,
Tôi xin giới thiệu đến các bạn những file hướng dẫn giả lập trong những bài LAB về CCIE Voices , hi vọng nó sẽ giúp các bạn ít nhiều.

I have been able to install and integrate the following.
CUCM 4, 5, 6, 7. On VMWare

Unity Manager 5 Win2k3 on VMWare.
Unity Connection 6 on VMWare.

CCME4.3 on 3725 Router

Phones 7961 (IP Blue), 7971 (CIPC)

Please i need HELP on the some of the impelementation of the lab part.
Maily SRST and AAR on the GNS3.

I would be very thankfull if you could buzz me on my yahoo. chikkiv@yahoo.com



How to build a voice lab with GNS3 and VMWare (design)
http://www.blindhog.net/how-to-build-a-voice-lab-with-gns3-and-vmware/

How to install Call Manager 6.x in VMWare
http://www.blindhog.net/how-to-install-call-manager-6x-in-vmware/

Voice Lab - Call Manager basic preparation
http://www.blindhog.net/voice-lab-call-manager-basic-preparation/

Voice lab - Running GNS3 as root
http://www.blindhog.net/voice-lab-running-gns3-as-root/

Voice Lab - Headquarters build
http://www.blindhog.net/voice-lab-headquarters-build/

Voice Lab - Frame-Relay WAN
http://www.blindhog.net/voice-lab-frame-relay-wan/

How to run multiple IP Blue softphones on a single PC
http://www.blindhog.net/how-to-run-multiple-ip-blue-softphones-on-a-single-pc/


Post by Jayanam Using Dynampis. For Complete CCIE Voice Lab.
http://corner-il.blogspot.com/2007/05/ccie-voice-home-lab-with-dynamipsvmware.html

Cisco_Unified_Call_Manager_7.0_Installation_on_VMW are
-------------------------------------------------------
http://rapidshare.com/files/213413428/C ... VMWare.swf (http://rapidshare.com/files/213413428/Cisco_Unified_Call_Manager_7.0_Installation_on_VMW are.swf)

Cisco_Unity_Connection_7.0__VM_Config
----------------------------------------
http://rapidshare.com/files/213502361/C ... Config.swf (http://rapidshare.com/files/213502361/Cisco_Unity_Connection_7.0__VM_Config.swf)

http://rapidshare.com/files/213530955/C ... VMWare.swf (http://rapidshare.com/files/213530955/Cisco_Unity_Connection_7.0_Installation_on_VMWare. swf)


Cisco Unified Presnce7_Installation_on_VMware
------------------------------------------------
http://rapidshare.com/files/213536592/C ... VMware.swf (http://rapidshare.com/files/213536592/CUPs7_Installation_on_VMware.swf)


Chúc các bạn luôn vui vẻ.

tranmyphuc
30-03-2009, 12:55 AM
Chào các bạn,
Su thế ảo hóa đang và sẽ là công nghệ phát triển trong tương lai gần. Chính vì thế, tôi rất vui khi giới thiệu đến các bạn : Tuyển tập một số bài LAB hay giả lập trên GNS3.(Thiết bị thực tế cũng tương tự như vậy )

Bài lab 1 : Single-Area OSPF Link Costs and Interface Priorities

(Mô hình là file ảnh đính kèm)

Yêu cầu :
Learning Objectives
• Configure single-area OSPF on a router
• Advertise loopback interfaces into OSPF
• Verify OSPF adjacencies
• Verify OSPF routing information exchange
• Modify OSPF link costs
• Change interface priorities
• Utilize debugging commands for troubleshooting OSPF

File dùng để cấu hình là file.rar đính kèm

Chúc các bạn luôn vui vẻ.

tranmyphuc
30-03-2009, 01:02 AM
LAB 2 : EIGRP Authentication and Timers

(Mô hình mạng là hình đính kèm)

Learning Objectives

• Review basic configuration of EIGRP
• Configure and verify EIGRP authentication parameters
• Configure EIGRP hello interval and hold time
• Verify the hello

Bài LAB là file.rar đính kèm

Chúc các bạn vui vẻ.

tuandung_net
01-04-2009, 11:19 PM
Anh Phúc ơi cho em hỏi em cài GNS3 nhưng sao không mở được file .net của mình, với lại cũng không mở được các file .net trong thư mục sample lab, và còn nữa em không kết nối được 2 switch với nhau, toàn báo lỗi connect thui!!anh giải thích giùm em với! thanks bác nhiều nha

tranmyphuc
01-04-2009, 11:25 PM
Chào bạn,
Bạn cần phải mở lên và chỉnh sửa IOS cho giống với máy mà bạn đang có vì file up ở trên đã được dùng cho máy của tôi nên sẽ không giông IOS mà bạn có và cả thư mục lưu IOS.

Chúc bạn vui vẻ.

tuandung_net
05-04-2009, 04:48 PM
Chào bạn,
Bạn cần phải mở lên và chỉnh sửa IOS cho giống với máy mà bạn đang có vì file up ở trên đã được dùng cho máy của tôi nên sẽ không giông IOS mà bạn có và cả thư mục lưu IOS.

Chúc bạn vui vẻ.
Không anh à, bình thường file.net em tạo ra ở máy mình ấy cũng không load được vào, nó chỉ chạy dc biểu tượng của GNS3 thui rùi tự tắt luôn!!

mrh09
19-04-2009, 11:56 AM
GNS3 không config cho switch được hả mọi người

thepdatoi87
19-04-2009, 05:08 PM
hinh nhu la vay

thepdatoi87
19-04-2009, 05:09 PM
ah dung rui, no khong cau hinh duoc Switch

tranmyphuc
22-04-2009, 12:30 AM
Update: use GNS3 (http://www.gns3.net/). It even provides one installation file that contains all the packages (dynamips, dynagen, winpcap etc). Please RTFM.

Several months ago I wrote 'How to Become a CCIE (http://brokenpipes.blogspot.com/2006/02/how-to-become-ccie.html)', a step-by-step for wanna-be-CCIE out there based on my own experience passing two lab exams. In point no. 3 I mentioned that it's compulsory to have a home lab to be able to practice anytime.

How if we can save some money by not buying the equipment but using simulator instead? Thanks to Christophe Fillot (cf@utc.fr), the author of Dynamips - Cisco 7200 Simulator (http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator), now it's possible to have a full CCIE lab in our PC.

The idea of this simulator is to emulate Cisco 7200 environment with MIPS processor in normal PC, so we can boot the genuine IOS for Cisco 7200 with 12.2 and 12.4 version. It can simulate various type of network modules such as PA-4T or PA-TE-FX to provide enough serial and ethernet interfaces. The simulator offers virtual ATM, FR and ethernet switch too. If we can simulate 8-9 routers, with ATM, FR and ethernet switch, and put proper interconnection between those routers..voila! we have a complete CCIE lab!

Actually this simulator has been around for quite some time. But when the first time I used this simulator, I faced so many minor issues that almost made me stop thinking about the idea to simulate CCIE lab. Before I found Dynagen (http://dyna-gen.sourceforge.net/), the front end interface for Dynamips, I had to map the port manually between interface in one router to another interface in another router to provide interconnectivity between them. That's because each interface in this virtual router consumes 1 UDP port. So if we want to connect one router to another router with serial connection, we need to map udp port that represents the serial interface in the first router, to the udp port that represents the serial interface in the second router.

The beauty of this is: we can connect virtual routers in one PC to another virtual routers in diferent PC through normal TCP/IP connection.
But if you have to do the mapping manually for let's say 8-9 routers..hmm, it's better to do something else with our life.

So I like to share the step-by-step how to setup CCIE lab in the PC quickly, so you can join me and all my friends who already started pursuing CCIE in this new and cheap way :)

1. You need a good PC for this simulator.
I bought a new PC for this purpose. It's a Shuttle XPC SD36G5 (http://global.shuttle.com/Product/Barebone/SD36G5.asp) with Intel Dual Core 3.2 GHz and 2 GB DDR memory. Small but powerful.

With Windows OS I can simulate up to 11 routers. With Linux OS in the same machine I can simulate more than 15 routers. I read it somewhere that it's because the limitation in Windows for one process, such as this Dynamips, can take only up to 2 GB memory. While in Linux the limit for one process is 3 GB. So if one virtual router uses 128 MB, multiple this number by number of routers plus additional memory usage by the process, it makes sense to have the process crashed when the number of routers reaches more than 10.

But fear not, there are so many ways to resolve this problem. Use Linux is one solution. Or just run Dynamips in two different processes.
Surely you don't have to compete with my PC. Any decent PC with lots of memory should be enough.

2. You need Cisco IOS for 7200 routers.
Don't ask me, please. I am not allowed to distribute any IOS image.
Just get it from your close friend who works in Cisco partner and can download this IOS for you.
Since IOS comes as compressed binary, we need to unzip it first and keep the .bin extension:
$unzip -p c7200-js-mz.122-25.S9.bin > image.bin

I use the enterprise feature with 12.2.29S version.

3. Download Dynagen and Dynamips.
If you want to use Windows, Dynagen in SourceForge (http://sourceforge.net/project/showfiles.php?group_id=160317) has already provided a package with Dynamips included and all the scripts to make our life easier.

4. Find the idle-pc value to avoid 100% CPU utilization.
Without idle-pc feature, even 1 single virtual router can shoot our PC CPU to 100%. To find the idle-pc value is simple:
- run one router with Dynamips (not Dynagen)
use the same IOS, NPE and memory that you want to use for your lab. For example, I choose NPE-400 and 96 MB ram for each virtual router:
$./dynamips -t npe-400 -r 96 image.bin

- wait until the router completes the booting process and give you the prompt
- go the enable mode and save the configuration with write memory
- press “Ctrl-] + i” sequence key, and it should give you similar output like below after few seconds:
Please wait while gathering statistics...
Done. Suggested idling PC:
0x60693f8c
0x60693fec
0x60694000
0xffffffff80755900
Restart the emulator with "--idle-pc=0x60693f8c" (for example)

- exit the simulator, you can do this by reloading the router
- run dynamips again with -idle-pc option with one of the value that you got from previous step:
$./dynamips -t npe-400 -r 96 -idle-pc=0x60693f8c image.bin

- monitor your PC CPU utilization, if it's still low than you are set to continue. If you still get 100% CPU utilization, try different value for the idle-pc option.

5. Run Dynamips in Hipervisor mode
We need to tell Dynamips to run in hipervisor mode which is basically waiting for connection in TCP port 7200 (default) for next instruction from Dynagen.
In Windows, there is a script called 'dynamips-start.cmd' to do this.
$./dynamips.exe -H 7200

Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.

Hypervisor TCP control server started.
Shutdown in progress...
Shutdown completed.

6. Create the Dynagen config file
Dynagen is awesome. The configuration is a text file that very easy to understand. It comes with sample labs and a text file, all_config_options, that explains all available options.
To practice IE Mentor (http://www.iementor.net/) and IP Expert (http://www.ipexpert.com/) CCIE Service Provider workbook, this is how I built my dynagen config file:

#I want to boot my routers manually
autostart = false

#I have the Dynamips in the same PC I run this Dynagen
[localhost]

#This is where I specify the location of IOS and options for NPE, RAM and idle-pc value
image = /home/himawan/IOS/c7200-js-mz.122-25.S9.bin
npe = npe-400
ram = 96
idlepc = 0xffffffff8075374c

#Each router's name and connectivity information, only showing some of them here
[[router CE1]]
f0/0 = CoreSW 1

[[router CE2]]
f0/0 = CoreSW 2

[[router PE1]]
f0/0 = CoreSW 10
f1/0 = CoreSW 11
a3/0 = A1 1
s2/0 = ASBR1 s1/2

[[router ASBR1]]
f0/0 = CoreSW 15
s1/0 = ASBR2 s1/0
s1/1 = ASBR2 s1/1

[[router ASBR2]]
f0/0 = CoreSW 16

#section for virtual ATM and ethernet switch, only showing few ports here
[[ETHSW CoreSW]]
1 = access 13
2 = access 23
3 = dot1q 1

[[ATMSW A1]]
1:1:100 = 2:1:100


As you can see the configuration file of Dynagen is very easy and straight forward. We can build as many routers as we want and put the interconnectivity information under each router. The good thing about Dynagen, we don't even need to specify which network module want to load, it will figure it out automatically.
For example, when I ASBR1 s1/0 is connected ASBR2 s1/0 interface, Dynagen will load PA-8T modules to those routers when I boot them. And one more thing, since I have specified it under ASBR1, under ASBR2 I don't need to specify that s1/0 needs to connect to ASBR1, Dynagen will take care of it automatically.

Under the virtual switch, we can assign either VLAN or dot1q trunk to the port. And for ATM switch, we can assign the value for VPI/VCI easily. Awesome, eh?

7. Execute Dynagen
Once you finish with the configuration, just make this file as executable in Linux or run Dynagen to use this configuration file:
C:\Program Files\Dynamips>dynagen.exe iementor.net

Reading configuration file...
Network successfully started

Dynamips management console
=> list
Name Type State Server Console
CE1 c7200 stopped localhost 2000
CE2 c7200 stopped localhost 2001
CE3 c7200 stopped localhost 2002

8. Start the routers, offcourse, and start playing with it!
=> start CE1
100-C7200 'CE1' started

If you don't put the Dynamips process in the background, you should see something like this:
CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
C7200 instance 'CE1' (id 0):
VM Status : 0
RAM size : 96 Mb
IOMEM size : 0 Mb
NVRAM size : 128 Kb
NPE model : npe-400
Midplane : vxr
IOS image : c7200-js-mz.122-25.S9.bin

Loading ELF file 'c7200-js-mz.122-25.S9.bin'...
ELF entry point: 0x80008000

C7200 'CE1': starting simulation (CPU0 PC=0xffffffffbfc00000), JIT enabled.

You can even see the booting process if you want, by connecting to the console port which is starting from TCP port 2000 by default:
=> telnet CE1
or
telnet 127.0.0.1 2000

Now you have your lab ready, what are you waiting for?

Two more additional steps:
9. Googling or RTFM when you have problems
Read Chris's blog (http://www.ipflow.utc.fr/blog/), check the FAQ (http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator_FAQ), read the Dynagen tutorial (http://dyna-gen.sourceforge.net/tutorial.htm), googling.. don't be lazy!

10. Simulating remote lab
I have a good PC at home but I have already got used to my IBM Thinkpad keyboard to practice CCIE lab. So what I did to simulate remote lab is:
- start Dynamips in Hipervisor mode in my home PC
- start Dynagen from my notebook, with modification in the config file, instead of [localhost] I specified [homePC_IP_address]
- once I connect to Dynamips, I start any routers that I like
- create shortcuts in my notebook Windows desktop such as CE1, CE2, ASBR1, R1, R2 and so on which is basically telneting to my home PC in respectable TCP ports
CE1.cmd file: start "CE1" telnet 127.0.0.1 2000
CE2.cmd file: start "CE2" telnet 127.0.0.1 2001
and so on

Now I just need to click CE1 shortcut to connect to CE1, CE2 to connect to CE2 and so on. It gives me the same feeling like when I had my CCIE lab in Brussels.


One thing to remember: this simulator can only simulate routers with ATM, frame-relay and virtual switch. It means if you are planning to go to CCIE lab other than R&S and Service Provider, you still need to buy some equipments such as Firewall for Security track or router with E1 interface for Voice track.
And also if you have less experience with Cisco IOS behaviour, when you face some issues in your lab you may not be able to distinguish the cause of the problem whether it's because of wrong configuration or Dynamips bugs or IOS bugs or lack of faith.

I may still require to rent a rack for some equipment that can't be simulated just like Cisco 3550. But the amount of time required in renting should be reduced significantly with this simulator.
So practice with simulator at home, and rent a rack several days before the exam.
It sounds like a good plan.

My only challenge now is that my PC is so powerful for gaming, especially after I added NVidia GeForce 6800XT 512Mb PCI Express (http://www.nvidia.com/page/geforce_6800.html) graphic card. I can play The Battle for Middle Earth, Star Wars Empire at War, Ghost Recon Advance War Fighter and my most favorit game for whole time: Battle Field 2 with highest quality.

So now my CCIE SP plan has to compete with Snowboarding and Battle Field. What a tough life!

From : http://brokenpipes.blogspot.com/2006/09/become-ccie-with-simulator.html

Have fun.

tranmyphuc
22-04-2009, 12:31 AM
Should I use emulator like dynamips or buy real lab?
Well, it depends. Dynamips is an emulator that somehow “tricks” the real IOS image so it will boot and run on standard PC. So far it can run IOS for 7200 routers, 3600, 3700 and 2600 series. So if you need to practice features outside those IOS, then you can’t do it with dynamips and must go with real lab.
What does exactly dynamips lack of?
Performance, even it doesn’t matter for CCIE practice lab, features that must be run in hardware such as certain QoS, and all the features outside the supported IOS for example L2 and switching features from a normal 3550 or 3560 switch. And we need to be aware that if there is any issue, we need to be able to identify if the issue is from wrong config, IOS bugs, or bug from the dynamips itself. With real lab, it’s just wrong config and IOS bugs.

Which CCIE track do you think can be done with emulator only?
For Service Provider track, you can practice almost 100% of the topic. The focus of the lab is on SP infrastructure so personally I don’t think you need to spend much time to practice L2 switch features. For Routing & Switching I think dynamips can still be used to cover almost 90%. Despite it has support Ethernet module but it still can’t be used to test real L2 switch features such as VTP and STP. But all L3 features from 3550/3560 switch can be tested or will have the same behavior just as if we use normal router. For Security track the emulator can be used to test IOS FW, IOS IPS, VPN between routers and security features in routers (NAT, ACL, RTBH etc). But more than half of the features for this track require Firewall, VPN, IDS and Cisco Secure ACS. For the rest of tracks, I would say the emulator won’t help that much. Check the CCIE lab blueprint and CCIE lab equipments to give you the idea.
What would I miss from the real lab?
Using real lab we would be able to test all the features required in CCIE lab, real router with real performance, capable to test hardware-dependent features, ability to sell it back when we are done and last but not least, the noise I guess. I used to sleep next to my lab for months so sometime I feel that I can still hear the noise inside my head until now.
What would be your suggestion to cover the lacks from dynamips?
There are several options. You may invest and buy a complete real lab. The challenge to have real lab is we need to replicate as close as possible to the lab equipments. It means, it can be expensive. But the good thing is, if our lab is still in decent condition after we are done, we may be able to sell it again (to another CCIE candidates) without losing a penny at all. Another option is to rent an online rack. It has advantage since we can connect to it as long we have Internet and we don’t need to invest big pile of money in the beginning, but obviously the money won’t go back after we are done. The option that you may want to consider is using dynamips to practice and cover as many features as possible (such as R&S and Security) then go to online rack rental a couple of weeks before the exam. For track like security, you may want to invest in Firewall and VPN hardware, then connect them to dynamips. To practice IDS and for final preparation before taking the exam, you can use online rack for several days. List down all your options then make the pros and cons from each of them before you decide.
Do you know people who passed using dynamips only?
Yes, I know many people have passed CCIE lab using dynamips/emulator. In fact, for my third lab which is Service Provider track I practiced only using the emulator similar like dynamips. And no, I won’t tell you what it is nor I would discuss about it in this blog.
Do you think the people who passed using dynamips/emulator only are not real CCIE, since they never touch real routers?
No, there is no such thing. Passing CCIE lab just means you pass a lab exam. What makes a difference later on is your experience and expertise in real life. So someone may pass CCIE using only emulator and never touch the real routers, and he is still a CCIE. Later on he can gain experience and expertise with real routers. That’s what matter at the end of the day.
Will you teach me how to configure dynamips/other emulator?
No. RTFM. Googling.
Will you send IOS for me to use in emulator?
No. It’s actually illegal to run IOS software without license, but for practice lab at home I don’t think Cisco would bother chasing you. But I won’t send any IOS.
How to find info if I have issue with dynamips?
Again, RTFM and googling. And you should join the forum and become active member to discuss it. As I mentioned above, if there is any issue when you practice CCIE with emulator, it may come from wrong config, IOS bugs or bug in dynamips. So by becoming active member in the forum, and if you are willing to use the emulator heavily, you can contribute if you think the issue is from dynamips itself. Help the community to maintain and develop this wonderful emulator.
So should I use emulator or buy real lab to practice CCIE?
????!@#$%^&* Scroll up and read again from beginning.


From : http://www.ciscobible.net/archives/216


Have fun.

VoT
05-05-2009, 02:50 PM
Các bạn cho mình hỏi chút với, về GNS3 trong Leopard. Bình thường mình dùng GNS3 trên window hay linux đều có chức năng sniff gói trên topo ảo, nhưng sang Leopard, GNS3 thông báo không tìm thấy Wireshark , mặc dù mình có cài đặt wireshark bình thường rồi
Rất mong được trợ giúp

quynhbk
07-05-2009, 06:30 PM
Mọi người giúp mình trường hợp này với: GNS3 ko thể giao tiếp với mạng thực tế trong Window Vista. Khi chọn Cloud thì nó ko thể hiện ra vị trí Net Card vì vậy không the chọn được card.

Help help me!!!!!!!!

quynhbk
07-05-2009, 07:18 PM
Đã làm cho giao tiếp với mạng thực.
Thanks cả nhà. Vào http://7200emu.hacki.at/ có hướng dẫn đầy đủ hết.

Thanks all,

dyland
23-05-2009, 09:56 AM
GNS3 co su dung de mo phong cho Switch duoc khong ?va cach lam nhu the nao ?cac hinh anh huong dan su dung GNS3 ko con nua ???

dyland
25-05-2009, 06:09 PM
mình đang mò mẫm tìm cách sử dụng switch trên GNS3 nhưng thật là khó khăn ,packet tracert thi chỉ hỗ trợ một số command,hi vọng là ai đã từng dùng GNS3 để mô phỏng thì có thể chỉ cho mình step by step với nhé !

itdongnai
03-06-2009, 09:06 PM
cài phần mềm này có thể thay thế được dynagen đúng ko?mà lại là giao diện đồ hoạ dễ dùng nữa.Mong các pác chỉ giáo thêm

sem_it
05-06-2009, 10:33 PM
khi em telnet bằng SecureCRT thì báo lỗi
http://i524.photobucket.com/albums/cc330/sem_it/Capture.png
các anh giúp em với

ilovekorn
05-06-2009, 10:54 PM
bạn phải cấu hình GNS3 để console bằng SecureCRT
start C:\progra~1\SecureCRT\SecureCRT.EXE /script C:\progra~1\gns3\securecrt.vbs /arg %d /T /telnet %h %p

tạo 1 file securecrt.vbs như sau, rồi cop vào thư mục dynamips
#$Language="VBScript"
#$Interface="1.0"

Sub main

crt.window.caption = crt.arguments(0)

End Sub

sem_it
05-06-2009, 11:11 PM
cảm ơn bạn đã trả lời bài cho mình. Nhưng mình đã làm theo mà vẫn ko dc. Mình đang sử dụng win7 64bit.

redwind
14-06-2009, 03:14 PM
Các bạn cho mình hỏi:Sao mình thử làm theo hướng dẫn, kết nối GNS3 ra mạng thật không được nhỉ? Khi mình ngắt hết kết nối mạng ngoài, chỉ sử dụng cổng Loopback thì Router có thể làm việc với máy tính. Khi mình kết nối máy tính với mạng thì thử mọi cách Router đều không thể Ping ra mạng ngoài, thậm chí không thể Ping tới máy tính được nữa (mình đã làm với cả Mạng Wire và Wireless đều không được, Firewall trên máy đã tắt hết). Mọi người có thể trả lời giúp được không? Thanks.