版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Usagevpcs options-uudp mode, default-etap mode, using /dev/tapx-s portlocal udp port, default from 20000-c portremote udp port(dynamips udp ports), default from 30000-r filerun startup VPCS1 ?showPrint the net configuration of PCsdSwitch to the PCd, d is digit, range 1 to 9historyList the command hi
2、storyip argumentsConfigure PCs IP settingsdhcpConfigure host/gateway address using DHCParpShow arp tableping address optionsPing the network hosttracert address maxhopsPrint the route packets take to network echo textDisplay text in outputclear argumentsClear ip/ipv6, arp/neighbor cacheset arguments
3、Set hostname, connection port and echo on or offload filenameLoad the configuration/script from the file filename save filenameSave the configuration to the file filenameverShow version?Print helpquitQuit programVPCS1 shNAMEIP/CIDRGATEWAYMACLPORTRPORTVPCS1/2400:50:79:66:68:0020
4、00030000fe80:2050:79ff:fe66:6800/64VPCS/000:50:79:66:68:0120001fe80:2050:79ff:fe66:6801/642001:1:2050:79ff:fe66:6801/64 eui-64VPCS3/2400:50:79:66:68:0220002fe80:2050:79ff:fe66:6802/642001:11:2/64 eui-64VPCS4/2400:50:79:66:68:0320003fe80:
5、2050:79ff:fe66:6803/642001:12:2050:79ff:fe66:6803/64 eui-64VPCS5/00:50:79:66:68:0420004fe80:2050:79ff:fe66:6804/64VPCS6/00:50:79:66:68:0520005fe80:2050:79ff:fe66:6805/64VPCS7/00:50:79:66:68:0620006fe80:2050:79ff:fe66:6806/64VPCS8
6、/2400:50:79:66:68:0720007fe80:2050:79ff:fe66:6807/64VPCS9/2400:50:79:66:68:0820008fe80:2050:79ff:fe66:6808/64VPCS9 pping address options, Ping the network host, Ctrl+C to stop the command-1ICMP mode, default-2UDP mode-3TCP mode-c countpacket count-l sizedata size-T t
7、tlset TTL, default 64-p portsource and destination port-f flagtcp head flag, |C|E|U|A|P|R|S|F|bits |7 6 5 4 3 2 1 0|-s winsizetcp window size-tsend packet until interrupt by Ctrl+C-i mswait ms milliseconds between sending each packet-w mswait ms milliseconds to receive the VPCS9 iip address gateway
8、CIDR, Set the PCs ip, gateways ip and network mask.dhcpConfigure host/gateway address using DHCP, only ipv4autoStateless address autoconfiguration, only ipv6PC will try to get the ipv6 address from the router at address gateway CIDRset the PCs ip, gateways ip and network maskDefault IPv4 CIDR is 24,
9、 IPv6 is 64. In the ether mode, the ip of the tapx is the maximum host ID of the subnet.ip 0 5 26, set the host ip to 0,the gateway ip to 5, the netmask to 92,the gateway ip to 5, the netmask to 92,the tapx ip to 26 in the eth
10、er mode.If in the ether mode, please run it before the dynamips loads/starts theIf in the ether mode, please run it before the dynamips loads/starts theios.WhenWhenVPCSstarted,itlistenstheportsfrom20000to20008andwaitthedymamipstotoconnet,andsendthepacketstotheportsfrom30000to30008whichshouldbelisten
11、ed by the Dynamips.listened by the Dynamips.VPCSVPCSlooksforthefilenamedstartup.vpcinthecurrentdirectory,andexecutethecommands in it if you are not set the startup file from the command line. All thecommandscommandsinthestartupfilearetheinternalcommandoftheVPCS.Thelinestartedwith # or ! will be disc
12、arded.with # or ! will be discarded.# The startup file of # pc1, ipv4 & 1ip 0 24ip 2001:1:10 64# pc2, using dhcp 2dhcp# pc3, ipv4 3ip 0 24# pc4, ipv4 & ipv6 4ip 0 24ip 2001:4:10 64# switch to PC file (ether mode), please refer to dynag
13、en for details.# switch to PC11# VLAN lab ghostios = True sparsemem = True localhost ROUTER swmodel = 2621image = /ios.run/c2600-ipbase-mz.123-8.T.bin ram = 128slot1 = NM-16ESWf1/0 = r1 f0/1f1/1 = NIO_linux_eth:tap0 f1/2 = NIO_linux_eth:tap1router r1model = 2621image = /ios.run/c2600-i-mz.123-6c.bin
14、 ram = 32slot1 = NM-1FE-TXdynamips-wxp.exe -i R1 -T 2000 -P 2600 -r 64 -c 0 x2142 -p 1:NM-16ESW-s 1:0:udp:30000::20000dynamips-wxp.exe -i R1 -T 2000 -P 2600 -r 64 -c 0 x2142 -p 1:NM-16ESW-s 1:0:udp:30000::20000-s 1:1:udp:30001::20001.bat (udp mode).bat (udp mode)-s 1:2:udp
15、:30002::20002-s 1:2:udp:30002::20002.ios.runc2600-te.binDynamips loads ios with NM-16ESW module in slot 1, and listens 30000 to 30002.Dynamips loads ios with NM-16ESW module in slot 1, and listens 30000 to 30002.NM-16ESW is 16 port switch module (from f1/0 to f1/15).NM-16ESW is 16
16、port switch module (from f1/0 to f1/15).-s1:0:udp:30000::20000 means:1:0:udp:30000::20000 means:.net file (udp mode).net file (udp mode)1. this is port 02.1. this is port 02.dynamips(orios)sendsthepacketsfromport30000toport20000whichlistensbyVPCS(PC1).3. VPCS (PC1) sends the packet
17、s from port 20000 to dynamips.model = 2621image = /ios.run/c2600-ipbase-mz.123-8.T.bin ram = 128slot1 = NM-16ESWf1/0 = r1 f0/1f1/1 = NIO_udp:30000::20000 f1/2 = NIO_udp:30001::20001idlepc = 0 x805785a0 router r1model = 2621image = /ios.run/c2600-i-mz.123-6c.bin ram = 32versionversi
18、on0.20a1. new ping command with many option2. new set, set local/remote port and pc name3. new save and load, save the current configuration or load the configurationslot1 = NM-1FE-TXf0/0 = NIO_udp:30002::20002slot1 = NM-1FE-TXf0/0 = NIO_udp:30002::20002idlepc = 0 x804f4044versions
19、, please keep the LATEST cygwin1.dll in the yourPC.versions, please keep the LATEST cygwin1.dll in the yourPC.The cygwin1.dll used by VPCS maybe conflicted with the older or otherVPCSopensVPCSopensthetapinterfaces.Andyoushouldknow,VPCSwillCLOSEthetap interfaces before quit.You should run VPCS before
20、 starting the dynamips while using ether mode.MD5vpcs.exe is windows program, only udpvpcs.exe is windows program, only udpmode.chmod +x vpcs0.21vpcs3220b60d282d81e4ad0568f9f6c2a52cc5vpcs64cac354e87d49de7dfda536b5cb73589fvpcs.osxd138f76382cd6dc95e22c6653c3d0cd30.21vpcs3220b60d282d81e4ad0568f9f6c2a52
21、cc5vpcs64cac354e87d49de7dfda536b5cb73589fvpcs.osxd138f76382cd6dc95e22c6653c3d0cd3vpcs.exeabc613c61ec737b16f2eeb0aad29e05ecygwin1.dllbc68345f873de78310d324320e82fe65Under linux or OSX, maybe you need.X program, only udp mode.versionversion0.20b1. make the external tcp server happy2. fix a bug of the
22、command history functionversionversion0.211. fix many bugs4. new clear to zero ip address, arp table4. new clear to zero ip address, arp table5. now, can stop the running command such as ping or tr by Ctrl+C6. fix the bugs: queue is full and coredump caused by entering the command ip withoutparamete
23、r.7. support stateless auto configuration, get ipv6 prefix from RA.8. support save/load the commmand history automaticlly.And Easter Egg for XV Anniversary Memorial. _version0.16c1. Use the new function to parse IPv6 addressversionversion0.16c1. Use the new function to parse IPv6 addressSupport IPv6version0.15aConfigure the host ip using dhcp.version0.14gFix the traceroute loop running bug.version0.14f
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 二零二五版法律服务企业法务专员职位劳动合同3篇
- 二零二五版房屋买卖合同范本下载涉及装修及家具家电条款3篇
- 二零二五年时尚服饰品牌区域独家代理销售合同2篇
- 二零二五年度航空货运大客户承运合同范本3篇
- 二零二五年建筑材料出口销售与绿色认证合同3篇
- 二零二五版grc构件生产、安装与装配式建筑推广实施合同3篇
- 二零二五版技术开发与成果转化合同3篇
- 二零二五年建筑材料运输及安装服务合同6篇
- 二零二五年度家具安装与室内空气净化合同2篇
- 二零二五版展览馆场地租赁合同范本(含展览策划服务)3篇
- 公路工程施工现场安全检查手册
- 公司组织架构图(可编辑模版)
- 1汽轮机跳闸事故演练
- 陕西省铜川市各县区乡镇行政村村庄村名居民村民委员会明细
- 礼品(礼金)上交登记台账
- 北师大版七年级数学上册教案(全册完整版)教学设计含教学反思
- 2023高中物理步步高大一轮 第五章 第1讲 万有引力定律及应用
- 青少年软件编程(Scratch)练习题及答案
- 浙江省公务员考试面试真题答案及解析精选
- 系统性红斑狼疮-第九版内科学
- 全统定额工程量计算规则1994
评论
0/150
提交评论