版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年河南省濮阳市住房和城乡建设局人员招聘笔试参考试题及答案详解
- 美术领域测试题及答案
- 2026年石家庄市井陉矿区住房和城乡建设局人员招聘考试备考题库及答案详解
- 2026年甘肃省陇南市成县青少年校外活动中心专业教师招聘笔试备考题库及答案详解
- 2026年淮南某国企鲜生供应链外包岗位招聘笔试模拟试题及答案详解
- 人工智能与保险数据安全防护
- 2025年开封市鼓楼区住房和城乡建设局人员招聘考试试题及答案详解
- 2026年牡丹江市阳明区住房和城乡建设局人员招聘笔试参考试题及答案详解
- 2026济南市历城区祥泰实验学校补充劳务派遣教师考试参考题库及答案详解
- 2026年双鸭山市四方台区住房和城乡建设局人员招聘笔试备考题库及答案详解
- 2025年中级(四级)化学检验员(化工分析)职业技能理论知识试题考试试题(含答案)
- 临床镇痛药物的应用与管理
- 铸造工安全培训课件
- 安徽省2025年公需科目三安徽农业大学测验参考答案
- 2025云南省行政执法资格考试考前模拟题(含答案)
- 【鄂尔多斯】2024年内蒙古鄂尔多斯职业学院人才引进39人笔试附带答案详解
- 2024衡阳蒸湘区中小学教师招聘考试试题及答案
- 《齐齐哈尔烤肉制作工艺与服务规范》
- DB52T 1161-2016 贵州省旅游购物场所等级划分与评定
- 2024年广东省深圳市南山区中考英语三模试卷
- 男生殖系统肿瘤案例分析阴茎癌课件
评论
0/150
提交评论