㈠ 安装GNS3
如果安装过程有提示WINPACP已经安装过了,选择“取消”
㈡ 配置GNS3基本参数
选择 step1
一般:
配置两个地方
① 拓扑图存放路径
② 存放临时文件
Dynamips:
① 这个是IOS模拟的重要组件,必须关联上,在GNS3安装目录里有
② 临时文件的存放目录
③ 然后进行测试:
Capture:
存放抓包文件的临时目录
Qemu:
存放PIX临时文件
然后测试
选择 step2
这里我使用3640的IOS
IDLE PC的值默认是没有的,要计算后才有
接下来计算IDLE的值
R1>en R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int f0/0 R1(config-if)#ip add 12.12.12.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#end R1#
IDLE只要计算一次,以后就可以直接用
㈢ 测试:
R1>en R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int f0/0 R1(config-if)#ip add 192.168.1.110 255.255.255.0 R1(config-if)#no sh R1(config-if)#end R1# *Mar 1 00:10:07.191: %SYS-5-CONFIG_I: Configured from console by console R1# *Mar 1 00:10:07.859: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up *Mar 1 00:10:08.859: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R1#ping 192.168.1.111 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.111, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/65/124 ms R2>en R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int f0/0 R2(config-if)#ip add 192.168.1.111 255.255.255.0 R2(config-if)#no sh R2(config-if)#end R2# *Mar 1 00:10:48.759: %SYS-5-CONFIG_I: Configured from console by console R2# *Mar 1 00:10:48.979: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up *Mar 1 00:10:49.979: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R2# R2#ping 192.168.1.110 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.110, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 20/53/88 ms