el proposito de estos mensajes es proveer feedback acerca de problemas relacionados al procesamiento de paquetes IP bajo ciertas circumstancias
funcionalidad
host reachability:
- puede usarse para testear el alcance de un host en una red IP
- si el host esta disponible, el host destino responde con un echo reply
destination o service unreachable:
- cuando un host un gateway recibe un paquete que no puede enviar, usa un mensaje ICMP destination unreachable para notificar a la fuente que el servicio de destino no se puede acceder, incluye un codigo especifico a este tipo de mensajes
- codigos de ICMPv4 destination unreachable:
- 0 - net unreachable
- 1 - host unreachable
- 2 - protocol unreachable
- 3 - port unreachable
- codigos de ICMPv6 destination unreachable:
- 0 - no route to destination
- 1 - communication with the destination is administratively prohibited (e.g.: firewall)
- 2 - beyond scope of the source address
- 3 - address unreachable
- 4 - port unreachable
time exceeded: en IPv4, el mensaje time exceeded es usado para un router para indicar que el paquete no puede ser reenviado poruqe el TTL es 0, entonces se descarta este paquete y se manda un ICMPv4 time exceeded al host origen en IPv6 tambien se envia un ICMPv6 time exceeded cuando el campo hop limit de IPv6 llega al numero maximo de saltos
ICMPv6
incluye funcionalidad adicional respecto a ICMPv4 ICMPv6 incluye 4 nuevos protocolos como parte de neighbor discovery protocol
- RS
- RA
- NS
- NA
nota: ICMPv6 neighbor discovery tambien incluye redirect message, que es similar a redirect message usado en ICMPv4
comandos ping y traceroute
ping => testear conectividad
- envia un echo request al host address
- si el destino la recibe, responde con un echo reply ping provee feedback acerca de la latencia entre echo request y echo reply tiene un valor de timeout, que si se excede puede indicar que hay problemas, incluyendo bloqueos de firewall
ping sin IP de destino y extended ping
- si se ejecuta
pingsin especificar la direccion IP de destino, el IOS entra en modo interactivo y va preguntando los parametros uno por uno (destino, cantidad de paquetes, tamaño, timeout, etc.) - ese modo interactivo es el extended ping: permite personalizar la prueba, por ejemplo:
- elegir la interfaz de origen (
source interface/address), util para testear cual ruta toma el trafico - definir cantidad y tamaño de los paquetes, para probar fragmentacion o MTU
- cambiar el timeout y el tipo de datos (patron de relleno)
- elegir la interfaz de origen (
- al completar los datos se ejecuta el ping con esas opciones; tambien se puede pasar source directo:
ping 10.10.1.5 source g0/0/1
traceroute => testear el camino genera una lista de saltos que fueron satisfactorios en el camino del paquete puede ser util para troubleshooting
- RTT: round trip time, nos lo indica traceroute. tiempo completo entre envio y recibimiento del paquete
lab
para ver la configuracion IPv4 de un host desde command prompt ipconfig /all para ver la configuracion IPv6 de un host desde command prompt ipv6config /all
eliminar una ruta: no ip route 10.10.1.16 255.255.255.240 10.10.1.4
eliminar una direccion ipv6 en una interfaz:
enable
conf t
interface g0/0/1
no ipv6 address 2001:db8:6::1/64
agregar una direccion ipv6 ipv6 address 2001:db8:5::1/64
preguntas 11-13
ip 240.x.x.x es experimental test-nest es un rango de ipv4 reservado para ejempos, documentacion, practicas y ejercicios
What three blocks of addresses are defined by RFC 1918 for private network use? (Choose three.)
a. 172.16.0.0/12
b. 10.0.0.0/8
c. 100.64.0.0/14
d. 192.168.0.0/16
e. 169.254.0.0/16
Which address prefix range is reserved for IPv4 multicast?
a. 224.0.0.0 – 239.255.255.255
b. 127.0.0.0 – 127.255.255.255
c. 240.0.0.0 – 254.255.255.255
d. 169.254.0.0 – 169.254.255.255
A high school in New York (school A) is using videoconferencing technology to establish student interactions with another high school (school B) in Spain. The videoconferencing is conducted between two end devices through the Internet. The network administrator of school A configures the end device with the IP address 209.165.201.10. The administrator sends a request for the IP address for the end device in school B and the response is 192.168.25.10. Neither school is using a VPN.
The administrator knows immediately that this IP will not work. Why?
a. This is a private IP address
b. There is an IP address conflict
c. This is a loopback address
d.This is a link-local address
| Si empieza con… | Es… |
|---|---|
10. | Privada |
172.16–172.31 | Privada |
192.168. | Privada |
127. | Loopback |
169.254. | Link-local (APIPA) |
224.–239. | Multicast |
240.–255. | Experimental/Reservada |
| A message is sent to all hosts on a remote network. Which type of message is it? | |
| a. limited broadcast | |
| b. directed broadcast | |
| c. unicast | |
| d. multicast |
A network administrator has received the IPv6 prefix 2001:DB8::/48 for subnetting. Assuming the administrator does not subnet into the interface ID portion of the address space, how many subnets can the administrator create from the /48 prefix?
a. 16 b. 256 c. 65536 d. 4096
What are two types of IPv6 unicast addresses? (Choose two.)
a. multicast
b. loopback
c. broadcast
d. link-local
e. anycast
An IPv6 enabled device sends a data packet with the destination address of FF02::1.
What is the target of this packet?
a.all IPv6 enabled devices on the local link or network
b.only IPv6 DHCP servers
c.the one IPv6 device on the link that has been uniquely configured with this address
d.only IPv6 configured routers
Which IPv6 prefix is reserved for communication between devices on the same link?
a.FDFF::/7
b. FE80::/10
c. 2001::/32
d.FC00::/7
Which protocol is used by the traceroute command to send and receive echo-requests and echo-replies?
a. SNMP
b. TCP
c. Telnet
d. ICMP
Which ICMPv6 message is sent when the IPv6 hop limit field of a packet is decremented to zero and the packet cannot be forwarded?
a. time exceeded
b. network unreachable
c. port unreachable
d. protocol unreachable
A user issues a ping 192.135.250.103 command and receives a response that includes a code of 1.
a. network unreachable
b. port unreachable
c. host unreachable
d. protocol unreachable
ICMPv4
| Código | Significado |
|---|---|
0 | Network unreachable |
1 | Host unreachable |
2 | Protocol unreachable |
3 | Port unreachable |
| ICMPv6 |
| Código | Significado |
|---|---|
0 | no route to destination |
1 | communication administratively prohibited |
2 | beyond scope of source address |
3 | address unreachable |
4 | port unreachable |