Beruflich Dokumente
Kultur Dokumente
Otras pruebas fueron realizadas el 24/11 y clases posteriores, dentro de las pruebas de este documento podemos listar:
Escenario
Cisco1941(config)#ipv6 unicast-routing
Cisco1941(config)#interface GigabitEthernet0/1
Cisco1941(config-if)#ipv6 add 2340:1234:abcd:1::1/64
Cisco1941(config-if)#end
Cisco1941#
Cisco1941(config)#ipv6 unicast-routing
Cisco1941(config)#ipv6 dhcp pool DHCPv6
Cisco1941(config-dhcp)# dns-server 2340:8:8:8::8
Cisco1941(config-dhcp)#domain-name aula7b.com
Cisco1941(dhcp-config)#? (no aparece la opción address, por lo tanto no se puede continuar)
dns-server DNS servers
domain-name Domain name to complete unqualified host names
exit Exit from DHCPv6 configuration mode
no Negate a command or set its defaults
prefix-delegation IPv6 prefix delegation
Cisco1941(config-dhcp)#exit
Cisco1941(config)#interface GigabitEthernet0/1
Cisco1941(config-if)#ipv6 add 2340:1234:abcd:1::1/64
Cisco1941(config-if)#ipv6 dhcp server DHCPv6
Cisco1941(config-if)#end
2.2.- Verificación en la PC
C:\>ipconfig
C:\>
Frame 1: 118 bytes on wire (944 bits), 118 bytes captured (944 bits) on interface 0 (antes de conectar la PC a la red)
Ethernet II, Src: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21), Dst: 33:33:00:00:00:01 (33:33:00:00:00:01)(multicast)
Internet Protocol Version 6, Src: fe80::32e4:dbff:fe53:2b21 (fe80::32e4:dbff:fe53:2b21), Dst: ff02::1 (ff02::1)
Internet Control Message Protocol v6
Type: Router Advertisement (134)
Code: 0
Checksum: 0xccaf [correct]
Cur hop limit: 64
Flags: 0x00
0... .... = Managed address configuration: Not set
.0.. .... = Other configuration: Not set
..0. .... = Home Agent: Not set
...0 0... = Prf (Default Router Preference): Medium (0)
.... .0.. = Proxy: Not set
.... ..0. = Reserved: 0
Router lifetime (s): 1800
Reachable time (ms): 0
Retrans timer (ms): 0
ICMPv6 Option (Source link-layer address : 30:e4:db:53:2b:21)
Type: Source link-layer address (1)
Length: 1 (8 bytes)
Link-layer address: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21)
ICMPv6 Option (MTU : 1500)
Type: MTU (5)
Length: 1 (8 bytes)
Reserved
MTU: 1500
ICMPv6 Option (Prefix information : 2340:1234:abcd:1::/64)
Type: Prefix information (3)
Length: 4 (32 bytes)
Prefix Length: 64
Flag: 0xc0
Valid Lifetime: 2592000
Preferred Lifetime: 604800
Reserved
Prefix: 2340:1234:abcd:1:: (2340:1234:abcd:1::)
Frame 2: 62 bytes on wire (496 bits), 62 bytes captured (496 bits) on interface 0 (se conecta la PC y genera la solicitud)
Ethernet II, Src: 00:1b:38:7e:f1:71 (00:1b:38:7e:f1:71), Dst: 33:33:00:00:00:02 (33:33:00:00:00:02) (multicast)
Internet Protocol Version 6, Src: :: (::), Dst: ff02::2 (ff02::2)
Internet Control Message Protocol v6
Type: Router Solicitation (133)
Code: 0
Checksum: 0x7bb8 [correct]
Reserved: 00000000
Frame 3: 118 bytes on wire (944 bits), 118 bytes captured (944 bits) on interface 0(trama similar a la trama #1)
Ethernet II, Src: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21), Dst: 33:33:00:00:00:01 (33:33:00:00:00:01) (multicast)
Internet Protocol Version 6, Src: fe80::32e4:dbff:fe53:2b21 (fe80::32e4:dbff:fe53:2b21), Dst: ff02::1 (ff02::1)
Internet Control Message Protocol v6
Type: Router Advertisement (134)
Code: 0
Checksum: 0xccaf [correct]
Cur hop limit: 64
Flags: 0x00
0... .... = Managed address configuration: Not set (significa que trabaja en el modo SLAAC)
.0.. .... = Other configuration: Not set (significa que trabaja en el modo SLAAC)
..0. .... = Home Agent: Not set
...0 0... = Prf (Default Router Preference): Medium (0)
.... .0.. = Proxy: Not set
.... ..0. = Reserved: 0
Router lifetime (s): 1800
Reachable time (ms): 0
Retrans timer (ms): 0
ICMPv6 Option (Source link-layer address : 30:e4:db:53:2b:21)
Type: Source link-layer address (1)
Length: 1 (8 bytes)
Link-layer address: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21)
ICMPv6 Option (MTU : 1500)
Type: MTU (5)
Length: 1 (8 bytes)
Reserved
MTU: 1500
ICMPv6 Option (Prefix information : 2340:1234:abcd:1::/64)
Type: Prefix information (3)
Length: 4 (32 bytes)
Prefix Length: 64
Flag: 0xc0
Valid Lifetime: 2592000
Preferred Lifetime: 604800
Reserved
Prefix: 2340:1234:abcd:1:: (2340:1234:abcd:1::)
Frame 4: 78 bytes on wire (624 bits), 78 bytes captured (624 bits) on interface 0
Ethernet II, Src: 00:1b:38:7e:f1:71 (00:1b:38:7e:f1:71), Dst: 33:33:ff:7e:f1:71 (multicast de verificación a su propia
dirección IPv6,
Internet Protocol Version 6, Src: :: (::), Dst: ff02::1:ff7e:f171 (ff02::1:ff7e:f171) este mecanismo se llama DAD, duplicated
address
Internet Control Message Protocol v6 detection)
Type: Neighbor Solicitation (135)
Code: 0
Checksum: 0x7c6a [correct]
Reserved: 00000000
Target Address: 2340:1234:abcd:1:21b:38ff:fe7e:f171 (2340:1234:abcd:1:21b:38ff:fe7e:f171)
En este caso, el mensaje RA (Router Advertisement) le informa al cliente que no utilice la información contenida en el
mensaje RA.
Toda la información de direccionamiento y de configuración debe obtenerse de un servidor de DHCPv6 con estado.
Esto se conoce como DHCPv6 con estado, debido a que el servidor de DHCPv6 mantiene información de estado de IPv6.
El indicador M señala si se debe utilizar DHCPv6 con estado o no . El indicador O no interviene.
El siguiente comando se utiliza para cambiar el indicador M de 0 a 1 para indicar DHCPv6 con estado:
Cisco1941(config)#ipv6 unicast-routing
Cisco1941(config)#int fa0/1
Cisco1941(config-if)#ipv6 add 2340:1234:abcd:1::1/64
Cisco1941(config-if)#ipv6 dhcp server DHCPv6
Cisco1941(config-if)#ipv6 nd managed-config-flag
Cisco1941(config-if)#exit
Cisco1941(config)#ipv6 dhcp pool DHCPv6
Cisco1941(config-dhcpv6)#address prefix 2340:1234:abcd:1::/64 (este comando no está en Packet Tracer)
Cisco1941(config-dhcpv6)#dns-server 2340:8:8:8::8
Cisco1941(config-dhcpv6)#end
Frame 1: 118 bytes on wire (944 bits), 118 bytes captured (944 bits) on interface 0 (no aparece en la imagen de
WireShark)
Ethernet II, Src: 54:be:f7:57:f3:0f (54:be:f7:57:f3:0f), Dst: 33:33:00:01:00:02 (33:33:00:01:00:02)
Internet Protocol Version 6, Src: fe80::6111:2e26:11b4:cb8 (fe80::6111:2e26:11b4:cb8), Dst: ff02::1:2
(ff02::1:2)(multicast)
Internet Control Message Protocol v6
Type: Router Advertisement (134)
Code: 0
Checksum: 0xcc2f [correct]
Cur hop limit: 64
Flags: 0x80
1... .... = Managed address configuration: Set (indica que es servidor DHCPv6)
.0.. .... = Other configuration: Not set
..0. .... = Home Agent: Not set
...0 0... = Prf (Default Router Preference): Medium (0)
.... .0.. = Proxy: Not set
.... ..0. = Reserved: 0
Router lifetime (s): 1800
Reachable time (ms): 0
Retrans timer (ms): 0
ICMPv6 Option (Source link-layer address : 54:be:f7:57:f3:0f)
ICMPv6 Option (MTU : 1500)
ICMPv6 Option (Prefix information : 2340:1234:abcd:1::/64)
Frame 1: 147 bytes on wire (1176 bits), 147 bytes captured (1176 bits) on interface 0
Ethernet II, Src: 54:be:f7:57:f3:0f (54:be:f7:57:f3:0f), Dst: 33:33:00:01:00:02 (33:33:00:01:00:02)
Internet Protocol Version 6, Src: fe80::6111:2e26:11b4:cb8 (fe80::6111:2e26:11b4:cb8), Dst: ff02::1:2
(ff02::1:2)(multicast)
User Datagram Protocol, Src Port: 546 (546), Dst Port: 547 (547)
DHCPv6
Message type: Solicit (1)
Transaction ID: 0x550598
Elapsed time
Client Identifier: 000100011abe506254bef757f30f
Identity Association for Non-temporary Address
Fully Qualified Domain Name
Vendor Class
Option Request
Frame 2: 162 bytes on wire (1296 bits), 162 bytes captured (1296 bits) on interface 0
Ethernet II, Src: 00:1d:e6:08:4b:4f (00:1d:e6:08:4b:4f), Dst: 54:be:f7:57:f3:0f (54:be:f7:57:f3:0f)
Internet Protocol Version 6, Src: fe80::21d:e6ff:fe08:4b4f (fe80::21d:e6ff:fe08:4b4f), Dst: fe80::6111:2e26:11b4:cb8
(fe80::6111:2e26:11b4:cb8)
User Datagram Protocol, Src Port: 547 (547), Dst Port: 546 (546)
DHCPv6
Message type: Advertise (2)
Transaction ID: 0x550598
Server Identifier: 00030001001de6084b4e
Client Identifier: 000100011abe506254bef757f30f
Identity Association for Non-temporary Address
DNS recursive name server
Frame 3: 189 bytes on wire (1512 bits), 189 bytes captured (1512 bits) on interface 0
Ethernet II, Src: 54:be:f7:57:f3:0f (54:be:f7:57:f3:0f), Dst: 33:33:00:01:00:02 (33:33:00:01:00:02)
Internet Protocol Version 6, Src: fe80::6111:2e26:11b4:cb8 (fe80::6111:2e26:11b4:cb8), Dst: ff02::1:2 (ff02::1:2)
User Datagram Protocol, Src Port: 546 (546), Dst Port: 547 (547)
DHCPv6
Message type: Request (3)
Transaction ID: 0x550598
Elapsed time
Client Identifier: 000100011abe506254bef757f30f
---resumido---
Frame 4: 162 bytes on wire (1296 bits), 162 bytes captured (1296 bits) on interface 0
Ethernet II, Src: 00:1d:e6:08:4b:4f (00:1d:e6:08:4b:4f), Dst: 54:be:f7:57:f3:0f (54:be:f7:57:f3:0f)
Internet Protocol Version 6, Src: fe80::21d:e6ff:fe08:4b4f (fe80::21d:e6ff:fe08:4b4f), Dst: fe80::6111:2e26:11b4:cb8
(fe80::6111:2e26:11b4:cb8)
User Datagram Protocol, Src Port: 547 (547), Dst Port: 546 (546)
DHCPv6
Message type: Reply (7)
Transaction ID: 0x550598
Server Identifier: 00030001001de6084b4e
Client Identifier: 000100011abe506254bef757f30f
Identity Association for Non-temporary Address
DNS recursive name server
Estas pruebas se realizaron fuera de clase, en mi laboratorio particular como complemento a lo ofrecido en la currícula.
Cisco1941(config)#ipv6 unicast-routing
Cisco1941(config)#int gi0/1
Cisco1941(config-if)#ipv6 address 2340:1234:abcd:1::1/64
Cisco1941(config-if)#ipv6 nd managed-config-flag (activa en 1 el bit de Managed address configuration y evita el
SLAAC)
Cisco1941(config-if)#^Z
Cisco1941#
Se agrega un segundo scope al server (ver imagen anterior), y una segunda interface al router.
Cisco1941(config)#int gi0/0
Cisco1941(config-if)#ipv6 add 2340:1234:abcd:2::1/64
Cisco1941(config-if)#ipv6 dhcp relay destination 2340:1234:abcd:1::10
Cisco1941(config-if)#ipv6 nd managed-config-flag
Cisco1941(config-if)#^Z
Cisco1941#
5.2.- Verificación
Frame 1: 203 bytes on wire (1624 bits), 203 bytes captured (1624 bits)
Ethernet II, Src: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21), Dst: 00:1e:8c:1e:24:f7 (00:1e:8c:1e:24:f7)
Internet Protocol Version 6, Src: 2340:1234:abcd:1::1 (2340:1234:abcd:1::1), Dst: 2340:1234:abcd:1::10
(2340:1234:abcd:1::10)
User Datagram Protocol, Src Port: 547 (547), Dst Port: 547 (547)
DHCPv6
Message type: Relay-forw (12)
Hopcount: 0
Link address: 2340:1234:abcd:2::1 (2340:1234:abcd:2::1)
Peer address: fe80::dcdb:1771:9274:e42 (fe80::dcdb:1771:9274:e42)
Relay Message
Option: Relay Message (9)
Length: 95
Value: 015bb79c0008000200000001000e0001000113da000e0003...
DHCPv6
Message type: Solicit (1)
Transaction ID: 0x5bb79c
---resumido---
Frame 4: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits)
Ethernet II, Src: 00:1e:8c:1e:24:f7 (00:1e:8c:1e:24:f7), Dst: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21)
Internet Protocol Version 6, Src: 2340:1234:abcd:1::10 (2340:1234:abcd:1::10), Dst: 2340:1234:abcd:1::1
(2340:1234:abcd:1::1)
User Datagram Protocol, Src Port: 547 (547), Dst Port: 547 (547)
DHCPv6
Message type: Relay-reply (13)
Hopcount: 0
Link address: 2340:1234:abcd:2::1 (2340:1234:abcd:2::1)
Peer address: fe80::dcdb:1771:9274:e42 (fe80::dcdb:1771:9274:e42)
Interface-Id
Option: Interface-Id (18)
Length: 4
Value: 00000002
Interface-ID:
Relay Message
Option: Relay Message (9)
Length: 105
Value: 025bb79c0002000e000100011c04fdb7001e8c1e24f70001...
DHCPv6
Message type: Advertise (2)
Transaction ID: 0x5bb79c
---resumido---
IA Address: 2340:1234:abcd:2:d533:3f05:e0f:1260
Option: IA Address (5)
Length: 24
Value: 23401234abcd0002d5333f050e0f1260000a8c00000fd200
IPv6 address: 2340:1234:abcd:2:d533:3f05:e0f:1260
Preferred lifetime: 691200
Valid lifetime: 1036800
---resumido---
Frame 5: 249 bytes on wire (1992 bits), 249 bytes captured (1992 bits)
Ethernet II, Src: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21), Dst: 00:1e:8c:1e:24:f7 (00:1e:8c:1e:24:f7)
Internet Protocol Version 6, Src: 2340:1234:abcd:1::1 (2340:1234:abcd:1::1), Dst: 2340:1234:abcd:1::10
(2340:1234:abcd:1::10)
User Datagram Protocol, Src Port: 547 (547), Dst Port: 547 (547)
DHCPv6
Message type: Relay-forw (12)
Hopcount: 0
Link address: 2340:1234:abcd:2::1 (2340:1234:abcd:2::1)
Peer address: fe80::dcdb:1771:9274:e42 (fe80::dcdb:1771:9274:e42)
Relay Message
Option: Relay Message (9)
Length: 141
Value: 035bb79c0008000200000001000e0001000113da000e0003...
DHCPv6
Message type: Request (3)
Transaction ID: 0x5bb79c
---resumido---
Frame 6: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits)
Ethernet II, Src: 00:1e:8c:1e:24:f7 (00:1e:8c:1e:24:f7), Dst: 30:e4:db:53:2b:21 (30:e4:db:53:2b:21)
Internet Protocol Version 6, Src: 2340:1234:abcd:1::10 (2340:1234:abcd:1::10), Dst: 2340:1234:abcd:1::1
(2340:1234:abcd:1::1)
User Datagram Protocol, Src Port: 547 (547), Dst Port: 547 (547)
DHCPv6
Message type: Relay-reply (13)
Hopcount: 0
Link address: 2340:1234:abcd:2::1 (2340:1234:abcd:2::1)
Peer address: fe80::dcdb:1771:9274:e42 (fe80::dcdb:1771:9274:e42)
Interface-Id
Option: Interface-Id (18)
Length: 4
Value: 00000002
Interface-ID:
Relay Message
Option: Relay Message (9)
Length: 105
Value: 075bb79c0002000e000100011c04fdb7001e8c1e24f70001...
DHCPv6
Message type: Reply (7)
Transaction ID: 0x5bb79c
---resumido---