Util para labs con access-list , route-map , etc etc... ( los ping y traces extendidos no son muy utiles para testear estos features ) .
Lo puedes bajar del sgte link :
http://wiki.freecode.com.cn/doku.php?id=wiki:vpcs
EL manual online esta bien documentado.
El archivo cygwin1.dll del vpc , entra en conflicto con el cygwin1.dll del dynagen y aparece este mensaje :
4752 [main] ? (408) C:\Archivos de programa\Dynamips\dynamips.exe: *** fatal
error - system shared memory version mismatch detected - 0x2D1E009C/0x75BE0096.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
Presione una tecla para continuar . . .
Lo que se hace es copiar el cygwin1.dll del dynagen en el directorio del vpc y se soluciona este problema .
Aqui el seteo en el dynagen y el vpc .
Dynagen file :
[localhost]
[[7200]]
image = c:\Archivos de programa\Dynamips\images\c7200-js-mz.121-27b.extracted.bin
ram = 48
disk0 = 0
disk1 = 0
idlepc = 0x60529f78
confreg = 0x2102
mmap = true
[[ROUTER R1]]
f0/0 = S1 1
[[ethsw S1]]
1 = access 1
2 = access 1 NIO_udp:30000:127.0.0.1:20000
3 = access 1 NIO_udp:30001:127.0.0.1:20001
4 = access 1 NIO_udp:30002:127.0.0.1:20002
5 = access 1 NIO_udp:30003:127.0.0.1:20003
6 = access 1 NIO_udp:30004:127.0.0.1:20004
7 = access 1 NIO_udp:30005:127.0.0.1:20005
8 = access 1 NIO_udp:30006:127.0.0.1:20006
9 = access 1 NIO_udp:30007:127.0.0.1:20007
10 = access 1 NIO_udp:30008:127.0.0.1:20008
VPC file
# The startup file of VPC
#
1
ip 192.168.1.2 192.168.1.1 24
2
ip 192.168.1.3 192.168.1.1 24
3
ip 192.168.1.4 192.168.1.1 24
4
ip 192.168.1.5 192.168.1.1 24
5
ip 192.168.1.6 192.168.1.1 24
6
ip 192.168.1.7 192.168.1.1 24
7
ip 192.168.1.8 192.168.1.1 24
8
ip 192.168.1.9 192.168.1.1 24
9
ip 192.168.1.10 192.168.1.1 24
# El 6 indica que la consola por default sera la PC6
6
Pruebas desde la consola del VPC
VPCS 6 >s
NAME IP/CIDR GATEWAY LPORT RPORT
PC1 192.168.1.2/24 192.168.1.1 20000 30000
PC2 192.168.1.3/24 192.168.1.1 20001 30001
PC3 192.168.1.4/24 192.168.1.1 20002 30002
PC4 192.168.1.5/24 192.168.1.1 20003 30003
PC5 192.168.1.6/24 192.168.1.1 20004 30004
PC6 192.168.1.7/24 192.168.1.1 20005 30005
PC7 192.168.1.8/24 192.168.1.1 20006 30006
PC8 192.168.1.9/24 192.168.1.1 20007 30007
PC9 192.168.1.10/24 192.168.1.1 20008 30008
VPCS 6 >ping 192.168.1.1
192.168.1.1 icmp_seq=1 timeout
192.168.1.1 icmp_seq=2 time=614.660 ms
192.168.1.1 icmp_seq=3 time=20.000 ms
192.168.1.1 icmp_seq=4 time=20.000 ms
192.168.1.1 icmp_seq=5 time=260.000 ms
VPCS 6 >trace 192.168.1.1
traceroute to 192.168.1.1, 64 hops max
1 192.168.1.1 110.000 ms
VPCS 6 >
Pruebas desde el router
Router#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 12/24/40 ms
Router#ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/30/52 ms
Router#ping 192.168.1.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 12/24/48 ms
Router#ping 192.168.1.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.5, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 16/27/40 ms
Router#ping 192.168.1.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.6, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 16/19/20 ms
Router#ping 192.168.1.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.7, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 32/38/48 ms
Router#ping 192.168.1.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.8, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 28/43/64 ms
Router#ping 192.168.1.9
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.9, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 20/22/28 ms
Router#ping 192.168.1.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/25/52 ms
Router#
Router#sh ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.1.1 - ca00.0e30.0000 ARPA FastEthernet0/0
Internet 192.168.1.2 0 0050.7966.6800 ARPA FastEthernet0/0
Internet 192.168.1.3 0 0050.7966.6801 ARPA FastEthernet0/0
Internet 192.168.1.4 0 0050.7966.6802 ARPA FastEthernet0/0
Internet 192.168.1.5 0 0050.7966.6803 ARPA FastEthernet0/0
Internet 192.168.1.6 0 0050.7966.6804 ARPA FastEthernet0/0
Internet 192.168.1.7 0 0050.7966.6805 ARPA FastEthernet0/0
Internet 192.168.1.8 0 0050.7966.6806 ARPA FastEthernet0/0
Internet 192.168.1.9 0 0050.7966.6807 ARPA FastEthernet0/0
Internet 192.168.1.10 0 0050.7966.6808 ARPA FastEthernet0/0
Router#
Nota : El VPC usa MACs con la OUI privada 005079 .
Slds/...JC

No hay comentarios.:
Publicar un comentario