Introducing Internet Control Message Protocol (Icmp) For Ipv4 and Ipv6
Introducing Internet Control Message Protocol (Icmp) For Ipv4 and Ipv6
5
ICMPv6 Neighbor Discover Protocol
ICMPv6 Neighbor Discovery defines 5 different packet types:
• Router Solicitation Message
• Router Advertisement Message Router-Device
Messaging
Used with dynamic address allocation
• Redirect Message
Similar to ICMPv4 redirect message See these processes with:
Router-to-Device messaging R1# debug ipv6 nd
NA and NS Messages: Address Resolution
ARP Request: Broadcast
IPv4: ARP over Ethernet Ethernet ARP Request/Reply
ARP
Cache Know
IPv4, what
My IPv4! 2 1
PC2 PC1 is the
Here is the ARP Reply MAC?
MAC?
ARP Request
2 1 Neighbor
Know
My IPv6!
Here is the Neighbor Neighbor Cache IPv6, what
Advertisement Solicitation is the
MAC?
MAC?
Multicast: To all
IPv6 devices, I might not even be
let me tell you how needed.
to do this …
• An ICMPv6 Router Advertisement (RA) suggests to all IPv6 devices on the
link how it will receive IPv6 Address Information.
• Sent periodically by an IPv6 router or…
• … when the router receives a Router Solicitation message from a host.
• Routers can be configured with IPv6 addresses without being an IPv6 router.
DAD (Duplicate Address Detection)
Global Unicast - 2001:db8:cafe:1:50a5:8a35:a5bb:66e1
Link-local - fe80::50a5:8a35:a5bb:66e1
Neighbor Solicitation
2001:DB8:CAFE:1::100 2001:DB8:CAFE:1::1
FE80::50A5:8A35:A5bb:66E1 FE80::1
PCA> ping 2001:db8:cafe:1::1
TTL 1 – 1 =0
ICMP Time
Exceeded
TTL 2 TTL 1
TTL 2 – 1 =1 TTL 1 – 1 =0
ICMP Time
Exceeded
ICMP Time
Exceeded
C:\> tracert cern.ch
Tracing route to cern.ch [137.138.144.169]
over a maximum of 30 hops:
1 6 ms 8 ms 6 ms Home-Net [192.168.1.1]
2 * * * Request timed out.
3 14 ms 17 ms 24 ms 24-139-15-1.eastlink.ca [24.139.15.1]
4 11 ms 17 ms 17 ms 10.250.35.1
5 * 17 ms 11 ms on-sdbr-dr001.on.eastlink.ca [24.139.7.66]
6 19 ms 23 ms 14 ms 24-139-15-26.eastlink.ca [24.139.15.26]
7 37 ms 26 ms 33 ms te-4-3.car1.Montreal2.Level3.net [4.59.176.237]
8 137 ms 197 ms 138 ms ae-5-5.ebr2.NewYork1.Level3.net [4.69.141.6]
9 141 ms 138 ms 139 ms ae-45-45.ebr2.NewYork2.Level3.net [4.69.141.22]
10 133 ms 139 ms 136 ms ae-1-100.ebr1.NewYork2.Level3.net [4.69.135.253]
11 140 ms 139 ms 137 ms 4.69.201.93
12 137 ms 137 ms 139 ms ae-43-43.ebr2.Paris1.Level3.net [4.69.137.57]
13 254 ms 289 ms 267 ms ae-9-9.car1.Lyon1.Level3.net [4.69.134.49]
14 299 ms 210 ms 229 ms ae-5-5.car1.Geneva1.Level3.net [4.69.137.81]
15 135 ms 127 ms 138 ms h4allr1.safe-order.ch [213.242.73.22]
16 129 ms 137 ms 143 ms e513-e-rbrxl-2-ne0.cern.ch [192.65.184.38]
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 134 ms 141 ms 145 ms webr8.cern.ch [137.138.144.169]
21 132 ms 128 ms 129 ms webr8.cern.ch [137.138.144.169]
Trace complete.
C:\Users\Bob>
Error Message: Time Exceeded
Apples-MacBook-Pro-9:~ rigrazia$ traceroute6 www.netflix.com
traceroute6 to www.us-west-2.prodaa.netflix.com (2620:108:700f::3428:3c77)
from 2601:642:c300:cfa9:3d11:f46f:2db9:7e51, 64 hops max, 12 byte
packets
1 2601:642:c300:cfa9:5e8f:e0ff:fe4d:f437 3.075 ms 2.618 ms 2.020 ms
2 2001:558:4000:7::1 11.539 ms 11.435 ms 11.283 ms
3 te-0-7-0-7-sur03.monterey.ca.sfba.comcast.net 11.766 ms 11.961 ms
11.637 ms
4 be-222-ar01.santaclara.ca.sfba.comcast.net 15.150 ms 13.812 ms
13.577 ms
5 be-3651-cr02.sunnyvale.ca.ibone.comcast.net 15.185 ms 17.160 ms
15.309 ms
6 be-11083-pe02.529bryant.ca.ibone.comcast.net 23.074 ms 14.251 ms
14.328 ms
7 . . .
19 2620:108:700f::3428:3c77 32.758 ms 34.255 ms 31.358 ms
Apples-MacBook-Pro-9:~ rigrazia$