10 - IPv6 Flashcards
What was IPv4 ARP replaced with in IPv6?
NDP (Neighbor Discovery Protocol)
What is the Prefix / prefix length in IPv6?
Number of bits that make up the prefix, which is the equivalent of a SubnetID in IPV4
What is a Global Unicast address similar to from IPv4?
Public IPv4 address
What is a Global Routing Prefix?
A reserved block of IPv6 addresses that only one company can use
What are the first hex digits for IPv6 Unique Local addresses?
FD
What are the first hex digits for IPv6 Multicast addresses?
FF
What are the first hex digits for IPv6 Link Local addresses?
FE80
What are the three parts to an IPv6 address?
- Global Routing Prefix
- Subnet
- Interface ID
How many bits is the Subnet section of an IPv6 address?
64 - Prefix Length bits
What are the two components of a Prefix/Subnet ID?
- Global Routing Prefix
- Subnet
What is the formal name for the Subnet ID in IPv6?
Prefix ID
What is another name for the IPv6 Subnet ID / Prefix ID?
Subnet Router Anycast Address
What is SLAAC?
Stateless Address Autoconfiguration
What are Unique Local unicast addresses?
Private IPv6 addresses
How many bits is the Global ID in a Unique Local Unicast address?
40 bits
What are the three components of the first 64bits of a Unique Local address?
- First 8 bits must be FD
- 40 bit Global ID
- 16 bits Subnet
What are the three components of the first 64bits of a Unique Local address?
- First 8 bits must be FD
- 40 bit Global ID
- 16 bits Subnet
True/False: You can leave a space between the address and the /prefix length when entering the command on the device
False
How do you enable IPv6 routing?
ipv6 unicast-routing
interface> ipv6 address …
What is an alternative method to static assignment for an IPv6 interface ID?
EUI-64 autoconfiguration
What are the steps EUI-64 autoconfiguration uses to build the interface ID?
- Split the 6byte MAC address of the interface into two halves
- Insert FFFE in the middle
- Invert the 7th bit of the resultant interface ID
How would you configure an interface using EUI-64?
ipv6 address 2001:DB8:1111:4::/64 eui-64
What command is used to override the burned in MAC address for an interface?
mac-address 0201.AA00.0001
True/False: You must only enter the prefix and not the full address when configuring an interface address in eui-64 mode or else the command will fail
False. IOS automatically converts the address to the matching prefix
What are two ways Cisco routers support to allow a router interface to dynamically learn an IPv6 address?
- Stateful DHCP
- SLAAC
How do you configure a router interface to use DHCP?
ip address dhcp
How do you configure a router interface to use SLAAC?
ip address autoconfig
What are IPv6 Link Local addresses used for?
Not used for normal packet flows containing application data. They are used for overhead protocols and for routing e.g. next hop IP
True/False: NDP uses link-local addresses
True
What command could you use to show the link-local address of a neighboring router?
show ipv6 route
True/False: Link-local addresses can represent more than one host
False. They are Unicast
True/False: Link-local addresses can be automatically generated
True
What is the forwarding scope for link-local addresses?
Only the link itself. Routers do not forward packets with link-local destination addresses
What do link local addresses always start with? (Including the 54 bits after the first 10)
FE80:0:0:0
What three ways can the second half (interface ID) of the link local address be created?
- Randomly generated
- EUI-64
- Manually configured
What command would you use to manually configure a link local address?
ipv6 address [address] link-local
What are the valid starting prefixes for link-local addresses?
FE8
FE9
FEA
FEB
True/False: If not manually configured IOS automatically calculate the link-local address using EUI-64 rules
True
What rules does SLAAC use when calculating the interface ID?
EUI-64
What does the ipv6 enable
command do?
Enable IPv6 processing on an interface and adds a link-local address but no other unicast IPv6 addresses
What kind of link would you only need a link-local address on?
WAN links
What is the IPv6 Multicast address for OSPFv3 ‘all OSPF routers’?
FF02::5
What is the IPv6 Multicast address for OSPFv3 ‘all DR routers’?
FF02::6
What are the IPv4 and IPv6 Multicast addresses for ‘all nodes’?
224.0.0.1 / FF02::1
What are the IPv4 and IPv6 Multicast addresses for ‘all router interfaces’?
224.0.0.2 / FF02::2
What is the Multicast address FF02::A used for?
To address all EIGRPv6 routers
What does Interface-local scope mean?
Packet remains within the device e.g. sending to services running on the same host
What does Site-local scope mean?
Routers can forward packets in this scope but usually not across WAN links
What prefix do Link-local Multicast packets start with?
FF02
What prefix do Link-local Unicast addresses start with?
FE80
Why is NDP an improvement over the MAC discovery process (ARP)?
By sending IPv6 Multicast packets that can be processed by the correct host but discarded with less processing the other hosts in the subnet
What is a Solicited-Node Multicast Address used for?
Obtaining the L2 address of a node in NDP
What is a Solicited-Node Multicast Address?
A special address derived from the last 24 bits (6 hex digits) of each Unicast address on an interface
What is the format of a Solicited-Node Multicast Address?
FF02::1:FF–:—- where the last 6 characters are the last 24 bits of the original Unicast address
What special IPv6 address represents unknown (unspecified) address?
:: or all 0s
What is the loopback IPv6 address?
::1
What is an IPv6 Anycast address?
An address that can be configured on a number of router interfaces and causes a packet to be delivered to the closest one
What prefix are Anycast address routes advertised as?
128 bits (as a host route)
How do you configure an IPv6 Anycast address on a router interface?
ipv6 address 2001:1:2:99/128 anycast
What is the Subnet Router Anycast address?
One special Anycast address in each subnet, reserved by routers as a way to send a packet to any router on the subnet. Effectively the network address of that subnet (all 0s in host)
What is the value of the Subnet Router Anycast address?
Same prefix/number as the SubnetID address, all 0s on the interface ID
True/False: Routers add connected or local IPv6 routes for link-local addresses
False
What two routes will routers make for each Unicast IPv6 address on an interface (excluding link-local addresses)?
- A connected route for the subnet
- A host route for the interface address
What command would you use to show all Local IPv6 routes?
show ipv6 route local
What command would you use to show all Connected IPv6 routes?
show ipv6 route connected
How would you configure a static IPv6 route by specifying an outgoing interface?
ipv6 route 2001:DB8:1111:2::/64 s0/0/0
How do you show a particular route to a specified destination?
show ipv6 route [ip]
Why must you specify both an outgoing interface and link-local address when using a link-local address as the next-hop for a static IPv6 route?
Because the link-local address by itself does not tell the local router which outgoing interface to use
How would you configure a static route using a link-local next-hop address?
ipv6 route [dest] [outgoing interface] [link-local next-hop]
What must you always do when configuring a static route that uses an Ethernet interface?
Include a next-hop IP address. You cannot only specify an outgoing interface
What is the IPv6 default route?
::/0
How would you make a floating static route?
ipv6 route [destination] [next-hop] [metric]
What is a floating static route?
A static route with a custom administrative distance value that floats in / out of the routing table depending what better (lower) routes exist with lower administrative distance
What is the default administrative distance for connected routes?
0
What is the default administrative distance for NDP learned routes?
2
What is the default administrative distance for OSPF routes?
110
What is the default administrative distance for RIP routes?
120
When using SLAAC how does the host learn the subnet (prefix) and prefix length used on the link ?
NDP
What is DAD and how do hosts perform it?
Duplicate address detection.
Hosts use NDP to ensure no other hosts uses the same IPv6 address before attempting to use it
True/False: NDP is part of ICMPv6
True
What replaces ARP Request and Reply messages in NDP?
Neighbor Solicitations and Neighbor Advertisements
What does a Neighbor Solicitation (NS) message do?
Asks the host with a particular IPv6 address to reply with an NA that lists its MAC
What is the destination address of a NS message?
Solicited Node Multicast address associated with the target address.
Therefore the message is only processed by hosts whose last six hex digits match the address being queried
What does a Neighbor Advertisement (NA) message do?
Lists the senders IPv6 and MAC.
Sent in reply to an NS or can be sent as an unsolicited NA, announcing its addresses to all IPv6 hosts
What is the destination address of an unsolicited Neighbor Advertisement?
FF02::1
This is the ‘all IPv6 hosts’ local-scope multicast address
What is the NDP neighbor table?
The equivalent of the IPv4 ARP cache
What is the multicast address for all IPv6 hosts local scope?
FF02::1
How can hosts learn the identity of a default gateway differently in IPv6?
Using NDP with RS and RA messages
What is a Router Solicitation (RS) message?
A message sent to all IPv6 routers on the local link to ask for their details
What is the destination address of a Router Solicitation message?
FF02::2
This is the ‘all IPv6 routers’ local-scope multicast address
What is a Router Advertisement (RA) message?
Lists facts about the router, either in response to an RS or by itself e.g. link-local address
True/False: An RA does not list more than one prefix or default routers to be listed
False. IPv6 allows multiple prefixes and multiple default routers to be listed in RA messages
True/False: IPv6 does not use Broadcasts
True. It uses Multicast instead
What alternative to DHCP does IPv6 support for dynamic address assignment?
SLAAC
What are the three steps involved in SLAAC?
- Learn the IPv6 prefix used on the link from any router using NDP RS/RA
- Build an address from the prefix + interface ID, using a random value or EUI-64 rules
- Use DAD before using the address
When do hosts use DAD?
Anytime the interface initializes
- End of SLAAC
- Static address configuration
- DHCP
What are the initial 104bits of a Solicited Node Multicast Address?
FF02::1:FF