VPCS官方使用指南_第1頁
VPCS官方使用指南_第2頁
VPCS官方使用指南_第3頁
已閱讀5頁,還剩4頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論