完整版GNS3VM安装指导
1.更改ethO的IP为静态
默认ethO是仅主机模式,用来做lOU/VM/QEMU/VPCS的server,默认为DHCP
模式,为了使用方便需要更改为和自己本机 VMNET同网段的静态地址。(eth1 为nat 模式,dhcp模式,连接外网升级用,不用改。)
1.用箭头或者按快捷键N,选择Networking,OK。
Gits 3 1.4 OW
GMS3 1.1.0b3
Information
Sh&ll
Security
Keyboard
Conf igfupe
Log
Test Version
Reboot
3hutdown
2.提示更改后,gns3vm会重启,按Yes.
Display UH infornatioii
Upgrade GMS3
Open a console
Conf igupe aiitbent icat ion
Change keyboard 1
Eli 辻seruep 匚onf iguration (advanced users OMLV)
Shoid sepuer log
Check Internet c口nnection ScIcct tJie GHS3 version Reboot the UH
Shutdown the Utt
6ftS3 i.4.m < Ves >
3.我的主机上 Vmnet1的地址是192.168.200.1 192.168.200.1,更改后的结果如下。 ,我设置ethO 的IP 是 # Host only interface auto ethO tt Connent this line to disable DHCF tt ifaiEe 巳thO Qlicp ~
tt Uncomment this lines i 生 you want to tt It's not recon mended If you can HLVO id
it. Tf iface ethQ inct Address netnask static 132?163.ZOO,10 255.255.255.0 192-l&a.20G.l dns-naneseruers 8 ?S ?8 Nano 是一个简单的没有花梢及华丽效果的文本编辑器。 不错”可以满足一些基本操作. 將dh 卬功能消除,
manually conf igupe netuork 添加IP 地址 Nano 在做简单文本文件编辑时相当
直接在命令行模式下输入 nano 文件名,就可以对文件进行简单的编辑。
文件编辑中常用快捷键:ctrl+X 离开nano 软件,若有修改过的文件会提示是否保存;
2. Log Show server log 打不开的问题处理
1. 打开 shell
Display un infornatioii
Upgrade GMS3
Conf igiipe authentication ctrl+0
保存文件; ctrl+W 查询字符串; Ctrl +C
说明目前光标所在处的行数和列数等信息; ctrl+
可以直接输入行号,让光标快速移到该行; Infopnation
IJpff£ftde
Security
Xeyboard
Conf igiire
Netuorking
Log Test
Version
Reboot
shutdown
GMS3
之后按 6NS3 1.4』五了
2. 运行命令 sudo chmodo+r
/var/log/upstart/gns3.log 可以退出到gns3vm 主界
面。这时, 可以打开Log 了。
Change keyboard layoirt
E(i 辻sepuep 匚onf iguration (advanced users OMLV) Configiipe networking settings
Shoid sepuer log
Check Internet c口nnection
Select tJie GHS3 version
Reboot the un
Shutdown the Utt
3运行下面的命令直接提升gns3为root权限。sudo usermod -g root gns3
酉己置root的命令sudo passwd root
TJTTfrl^S I i tv u giis3egns3un :~$ |suAo passud root
Inter new UNIX password :
Betype neu UN IK pfissuord : pdssua; passuora updaWd successfully I
新版本1.5.2的打开端口是3080,老版本是8000
Home I Up lo^d | Eack up imgae^ | Eackti p projects | Status Welcome to GNS3,
? Website
? API documantation
? Uplomd images & backup
Powered by GNS3 1.5.2
HSHraUliiHHiiliiHillli
重启gns3vm 后仍然打不开,好吧,运行下面的命令直接提升gns3为root 权限。 sudo usermod -g root gns3
3上传IOS
方法一:gns3 VM 添加
syiri
I ; W 打① ISN 168. EDO. 10:30呃]
翻谨G Googls 屬百廈一下,你就知道 芒,
最當访间一,A n 中导入矗
匕 M 怙rt .耳M 中切t *為心■叫 W G 」?小 SH^-T.柑*UrO 哎::…m “ si Lr tv” .,第I ]「 Homp I Upload ||| Rackijp umagAf ] Eiidciip prqjpch ] Status
Select & Upload an image for GNS3
Files on
192.168.20040:3080
/rtpT/gnsl/ima g 芮/I OLJ/iB^-li 仙 pr i 梓出-]S.4 .IT. bin
/opt/gns3/imd ges/l OU/iSttoi-ii nux-l?-di Px 叶 r|byGh|$$ 1.5.7 方法二:gns3里面添加 i^ra I 整 J ① 13Z .;Ffl fDO ]□ H aiat*;ttfr; ; 3ir 哪垠…■ ? 购快除JGJ 切:“E JI]'.'-' X + CcDcr-kl nrrvcr Faefcai eapttL? *PCS ■ hVlUi>ipA IQ£ Tsirtcrs ? IOS on liil 「IQU Device tg 口platgs LA2 HqLl ?U 0UU VHv ▼ Virtue LB4H VlTbvalKDE Vin -Vm 鼻rc Vhiu=c VH 匚 ▼ l^ockpr Docker Cazi+aincr^ ▼ ^KT 41 T 呼Im IM-B 診石<11 肪rid 知^w : A*; J -I BC IU ^ zinfi [: w WWrt- Jthn-Dri-h iJuh-n-E ;叶 川Ab>?二lh.?ur4j- M ■]_ IT. ki □. r iTEtcv^rirl ''GA L ilc ■TiT -3_bxi> IILT L 电-‘ di fknl t 2 LDTm-£ ;? Ql LU^ ri Fi%type : |u Fig Lpload 3 tJencral SrrTcr L^ackttt cip^urtt vrcs 〒 QvnuipE lUS fouter '日 iOW DcTicrp ▼ QRUir Qcvu un 虫 ▼ Virtu*] FScit Vir+unlFa :! Vila F V ■哼arc Vn^Are T1J 9 存 DdckPT Dc 4 上传 licence ok ! |1fiS on UNIX pTfyFeT 归nee 耳