wiki:vpcs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:vpcs [2011/01/28 13:36] – mirnshi | wiki:vpcs [2015/10/04 14:09] – mirnshi | ||
---|---|---|---|
Line 13: | Line 13: | ||
**Download** | **Download** | ||
- | The latest | + | The stable |
+ | |||
+ | The Simplified Chinese user guide, [[http:// | ||
+ | |||
+ | The source code was released under BSD license, [[https:// | ||
\\ | \\ | ||
\\ | \\ | ||
**Usage** | **Usage** | ||
- | | + | |
- | | + | -h print this help then exit |
- | | + | -v print version information then exit |
- | -s port | + | |
- | | + | -R |
- | | + | -i num |
+ | -p port run as a daemon listening on the tcp port | ||
+ | -m num start byte of ether address, default | ||
+ | [-r] FILENAME | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | udp mode options: | ||
+ | | ||
+ | -c port remote udp base port (dynamips udp port), default from 30000 | ||
+ | -t ip remote host IP, default 127.0.0.1 | ||
+ | |||
+ | tap mode options: | ||
+ | -d device | ||
+ | |||
+ | hypervisor mode option: | ||
+ | -H port | ||
+ | |||
+ | If no FILENAME specified, vpcs will read and execute the file named | ||
+ | startup.vpc if it exists in the current directory. | ||
+ | |||
| | ||
- | | + | ? |
- | d | + | ! COMMAND [ARG ...] Invoke an OS COMMAND with optional ARG(s) |
- | history | + | digit |
- | | + | |
- | | + | clear ARG Clear IPv4/IPv6, arp/ |
- | arp Show arp table | + | |
- | ping address [options] | + | disconnect |
- | tracert address | + | echo TEXT |
- | | + | |
- | clear [arguments] | + | history |
- | set [arguments] Set hostname, connection port and echo on or off | + | ip ARG ... [OPTION] |
- | load filename | + | |
- | | + | ping HOST [OPTION ...] |
- | ver Show version | + | quit Quit program |
- | ? Print help | + | relay ARG ... Configure packet relay between UDP ports. See relay ? |
- | quit Quit program | + | rlogin [ip] port |
+ | | ||
+ | set ARG ... Set VPC name and other options. Try set ? | ||
+ | show [ARG ...] Print the information of VPCs (default). See show ? | ||
+ | sleep [seconds] [TEXT] | ||
+ | trace HOST [OPTION ...] Print the path packets take to network HOST | ||
+ | version | ||
Line 160: | Line 192: | ||
2. dynamips (or ios) sends the packets from port 30000 to port 20000 which listens by VPCS (PC1). | 2. dynamips (or ios) sends the packets from port 30000 to port 20000 which listens by VPCS (PC1). | ||
3. VPCS (PC1) sends the packets from port 20000 to dynamips. | 3. VPCS (PC1) sends the packets from port 20000 to dynamips. | ||
+ | |||
+ | It is easy to transform the topology through <hi orange> | ||
+ | |||
+ | relay add 0.0.0.0: | ||
+ | relay add 0.0.0.0: | ||
+ | relay add 0.0.0.0: | ||
+ | relay add 0.0.0.0: | ||
+ | | ||
+ | The topology | ||
+ | |||
+ | {{: | ||
+ | |||
+ | will be transformed to | ||
+ | |||
+ | {{: | ||
.net file (udp mode) | .net file (udp mode) | ||
Line 189: | Line 236: | ||
* You should run VPCS before starting the dynamips while using ether mode. VPCS opens the tap interfaces. And you should know, VPCS will CLOSE the tap interfaces before quit. | * You should run VPCS before starting the dynamips while using ether mode. VPCS opens the tap interfaces. And you should know, VPCS will CLOSE the tap interfaces before quit. | ||
- | |||
- | |||
- | |||
- | ** MD5 ** | ||
- | * 0.21 | ||
- | |||
- | vpcs32 | ||
- | vpcs64 | ||
- | vpcs.osx | ||
- | vpcs.exe | ||
- | cygwin1.dll | ||
vpcs.exe is windows program, only udp mode. | vpcs.exe is windows program, only udp mode. | ||
Line 207: | Line 243: | ||
vpcs.osx is OS X program, only udp mode. | vpcs.osx is OS X program, only udp mode. | ||
- | ** ChangeLog ** | ||
- | * version 0.21 | ||
- | |||
- | 1. fix many bugs | ||
- | |||
- | * version 0.20b | ||
- | |||
- | 1. make the external tcp server happy | ||
- | 2. fix a bug of the command history function | ||
- | |||
- | * version 0.20a | ||
- | |||
- | 1. new ' | ||
- | 2. new ' | ||
- | 3. new ' | ||
- | 4. new ' | ||
- | 5. now, can stop the running command such as ' | ||
- | 6. fix the bugs: 'queue is full' and coredump caused by entering the command ' | ||
- | 7. support stateless auto configuration, | ||
- | 8. support save/load the commmand history automaticlly. | ||
- | |||
- | And Easter Egg for XV Anniversary Memorial. ^_^ | ||
- | |||
- | * version 0.16c | ||
- | |||
- | 1. Use the new function to parse IPv6 address | ||
- | |||
- | * version 0.16a | ||
- | |||
- | 1. Support IPv6 | ||
- | |||
- | * version 0.15a | ||
- | |||
- | 1. Configure the host ip using dhcp. | ||
- | |||
- | * version 0.14g | ||
- | |||
- | 1. Fix the traceroute loop running bug. | ||
- | |||
- | * version 0.14f | ||
- | |||
- | 1. Fix the traceroute TTL bug. | ||
- | |||
- | * version 0.14e | ||
- | |||
- | 1. Fix the bug, parse ' | ||
- | |||
- | * version 0.14d | ||
- | |||
- | 1. Fix the bug that replys the arp request with broadcast address as the source MAC address. Thanks [email protected] | ||
- | |||
- | * version 0.14c | ||
- | |||
- | 1. change the TTL to 64 | ||
- | |||
- | * version 0.14b | ||
- | |||
- | 1. fix the I/O queue bug | ||
- | |||
- | * version 0.14a | ||
- | |||
- | 1. add ' | ||
- | 2. add ' | ||
- | |||
- | * version 0.13a | ||
- | |||
- | 1. add ' | ||
- | 2. fix a ping bug, can get echo reply from a non-exist host ip | ||
- | |||
- | * version 0.12 | ||
- | |||
- | 1. fix the ' | ||
- | |||
- | * version 0.11 | ||
- | |||
- | 1. replace a static array | ||
- | |||
- | * version 0.10 | ||
- | |||
- | 1. add udp mode | ||
- | 2. can be run on the windows platform | ||
- | 3. support CIDR | ||
- | |||
- | * version 0.02 | ||
- | |||
- | 1. Fixed a bug about the history commands | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ |
wiki/vpcs.txt · Last modified: 2015/10/04 14:27 by mirnshi