BI-5 ICMPv6 PDF
BI-5 ICMPv6 PDF
Nalini Elkins
CEO
Inside Products, Inc.
[email protected]
1
Agenda
• Like what?
Why ICMP?
• Like what?
– Host unreachable
– Port unreachable
– Firewall stopped the packet
– There is a better way to get from here to there
ICMPv4 Messages
• Like what?
ICMPv4 Messages
• Like what?
– Ping
– Redirect
• Reflectors: All Web or DNS servers, and routers are potential reflectors,
since they will return
– SYN acks or RSTs in response to SYN or other TCP packets;
– Query replies in response to query requests; or
– ICMP Time Exceeded or
– Host Unreachable in response to particular IP packets.
ICMPv4 Messages
---- -----------
0 Echo Reply
3 Destination Unreachable
4 Source Quench
5 Redirect Message
8 Echo Request
11 Time Exceeded
12 Parameter Problem
13 Timestamp Request
14 Timestamp Reply
17 Address Mask Request
18 Address Mask Reply
What has changed?
ICMPv4 Messages
---- -----------
0 Echo Reply
3 Destination Unreachable
4 Source Quench
5 Redirect Message
8 Echo Request
11 Time Exceeded
12 Parameter Problem
13 Timestamp Request
14 Timestamp Reply
17 Address Mask Request
18 Address Mask Reply
ICMPv6 Error Messages
• Informational : 10%
ICMPv6 Error – Info Ratio
• Informational : 80%
ICMPv6 Info Messages
• Why????
• Informational : 80%
–ARP gone!
–Replaced by Neighbor discovery /
Router discovery, Multicast Listener
Discovery
–Mobile IP
ICMPv6 Informational Messages
Pinging www.kame.net
The router stack SHOULD implement an echo reply but there is no MUST in
the RFC! Do not have to implement echo reply for multicast address.
IPv6 Destination Unreachable
–Neighbor discovery,
–Router discovery,
• Stateless autoconfiguration uses the Neighbor Ethernet adapter Local Area Connection:
Discovery protocol. Description : Realtek Family Fast Ethernet NIC
Physical Address : 00-11-D8-39-29-2B
Autoconfiguration Enabled . : Yes
IP Address : fe80::211:d8ff:fe39:292b%4
Stateless Autoconfiguration Steps 1 - 2
• Router Contact:
– Asks local router what to do
– Sends Router Solicitation
– Listens for Router Advertisement
• Router Direction:
– Are we stateful / stateless
– What prefix do we use?
Stateless Autoconfiguration Step 5
• Advantages:
– Low administrative costs
• Disadvantages
– Low administrative costs
Stateless Autoconfig on Windows
• To see stateless autoconfiguration at work, start with a Windows PC with no IPv6 enabled.
• Look at the IPconfig above.
• You see only IPv4 connections
• Let’s install IPv6.
After IPv6 Installed Successfully
• Notice what
addresses are
assigned.
• Will we be able to
go out over the
internet?
• Will we be
able to go
out over
the
internet?
• Why did
this
happen?
• Notice
default
IPv6
gateway.
• Notice the sequence of events. • What kind of an address is ::?
• Where is the MAC address? • How about ff02::2?
• What is the Next Header field? • How about ff02::1:ff39:292b?
• What address do you think will be assigned? • And fe80::211:d8ff:fe39:292b?
What is a Neighbor?
Neighbors
• Not just who our neighbors are but
also important information about
them.
To secure the various functions in NDP, a set of new Neighbor Discovery options is
introduced. The components of the solution are:
– Certification paths, anchored on trusted parties, are expected to certify the authority of
routers.
– A host must be configured with a trust anchor to which the router has a certification path
before the host can adopt the router as its default router.
– Certification Path Solicitation and Advertisement messages are used to discover a
certification path to the trust anchor without requiring the actual Router Discovery messages
to carry lengthy certification paths.
– The receipt of a protected Router Advertisement message for which no certification path is
available triggers the authorization delegation discovery process.
– Cryptographically Generated Addresses are used to make sure that the sender of a
Neighbor Discovery message is the "owner" of the claimed address.
– A public-private key pair is generated by all nodes before they can claim an address.
– A new NDP option, the CGA option, is used to carry the public key and associated
parameters.
Agenda
Summary
• Email: [email protected]