1:Gns3介紹
GNS3官方定義是圖形化的網絡模擬工具.目前來講也能夠說是Dynamips的圖形話工做.
GNS3 is a graphical network simulator that allows you to design complex network topologies and to launch simulations on them.To allow complete simulations, GNS3 is strongly linked with :
編寫語言:python GNS3 is an open source product that may be used on multiple platforms, including Windows,Linux, and MacOS X.
軟件做者:Jeremy Grossmann David Ruiz Romain Lamaison Aurélien Levesque Xavier
其中有2位在大連留學
官方站點:
[url]www.Gns3.net[/url]
2:Gns3文件介紹
下載GNS3軟件
[url]http://netemu.cn/bbs/forum-226-1.html[/url]
安裝後打開安裝目錄文件夾
打開GNS3軟件界面:
作實驗首先要按照本身的需求準備網絡拓撲.對於dynamips來講首先要配置ios參數.
接下來點擊Edit-Iosp_w_picpaths 打開界面以下
能夠看到有個標籤1:Ios p_w_picpaths 2:hypervisors
Settings:
Image file:選擇ios路徑
platform:Dynamips所支持的平臺 已經定義
Classis:ios型號
IdlePC:獲取的idlepc值 用於下降cpu利用率
在這裏你會發現一個現象 你只要選擇了ios鏡像,稍等2秒鐘platform與classis選項gns3會自動匹配.
注意:請在這裏添加完本次試驗所須要的所有ios.之後配置路由器時候ios必須是這裏已經設置的ios看一個範例:
添加了2個ios 一個爲2691 一個爲3640
在右邊的p_w_picpaths 裏咱們能夠看到咱們添加的ios的一些參數
注意:沒添加一個ios請點擊保存
點擊Hypervisors標籤
Host:localhost :表明本地 若是作分佈式實驗,須要修改爲ip 查閱:
[url]http://netemu.cn/bbs/thread-2406-1-3.html[/url]
Port:7200 每一個端口表明一個例圖 若是在一臺電腦上要模擬大量的路由 能夠分紅幾個例圖
Base udp:10000 通信方式 Dynamips的通信方式
Base console: 2000
做爲之後telnet登陸的端口
Working directory:E: C:/netemu.cn 此目錄做爲dynamips的工做目錄 生成的文件均存放在這個文件.注意:生成文件過大 請預留足夠多的空間
注意:咱們點一次保存就至關於設置了一個dyanamips例圖.保存後能夠在設置第二個例圖 端口號按照順序分配
點擊Edite-Preferences
有兩個選項
General:選擇軟件語言等信息
Dynamips:配置Dynamips全局參數
配置GNS3中Dynamips的全局參數
SettingS
Executable path:這裏設置Dynamips路徑 默認狀況下GNS3會附帶Dynamips
Working Directory:GNS3工做目錄 產生一些dynamips產生的東西.反正都是Dynamips生成的
Base Port:7200 Localhost本地端口號
Base Udp:10000 UDP端口號 用於路由器之間通信
Base Console:2000 telnet的端口
Terminal conmand: start telnet %h %p telnet參數 之後會講解securecrt登陸方式
Automatically delete old files generated by dyanmips 是否刪除dynamips產生的那些舊的文件
Enable ios ghost feature 是否啓用dynamips ghost功能 此功能能夠節省內存 參閱
[url]http://www.netemu.cn/bbs/search.php?searchid=18&orderby=lastpost&ascdesc=desc&searchsubmit=yes[/url]
點擊選項:Hypervisor Manager
Hypervisor Manager
Settings:
Memory usage limit per hypervisor:默認512
UDP incrementation:默認100
Use th hypervisor manager when importing:默認選擇
這裏參數能夠無論 想了解能夠到Dynamips基礎區查閱文檔