版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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浙江宁波市余姚市信访局招聘编外人员1人备考题库含答案详解(典型题)
- 2026湖北事业单位联考监利市招聘178人备考题库附参考答案详解(b卷)
- 2026湖南怀化市辰溪县住房保障服务中心见习招聘2人备考题库及答案详解(真题汇编)
- 2026江西省欧潭人力资源集团有限公司招聘水电工2名备考题库带答案详解(研优卷)
- 2026湖北事业单位联考荆门市市直(含漳河新区、屈家岭管理区)招聘150人备考题库附参考答案详解(黄金题型)
- 萍乡市事业单位2026年统一公开招聘工作人员备考题库附参考答案详解(模拟题)
- 2026福建南平市建阳区属国有集团招聘50人备考题库及答案详解(名师系列)
- 2026江苏常州经济开发区刘海粟幼儿园招聘4人备考题库带答案详解(突破训练)
- 2026河南矿山起重机有限公司招聘63人备考题库及答案详解(有一套)
- 2026湖北武汉人才招聘派往国有银行工作2人备考题库附参考答案详解(能力提升)
- 2025年云南省公职招录考试(省情时政)历年参考题库含答案详解(5套)
- 银行客户分层管理课件
- 药品技术转移管理制度
- 2025年高考真题-数学(北京卷) 含答案
- 拼多多公司绩效管理制度
- 儿科急诊管理制度
- 《2024 3621-T-339 车载显示终端技术要求及试验方法》知识培训
- 风控准入人员管理制度
- 2024-2025学年数学八年级上册北师大版期末测试卷(含答案)
- 集团公司安全风险管控及隐患排查治理台账汇编
- 快手信息流广告优化师(初级)认证考试题库(附答案)
评论
0/150
提交评论