Lecture 6. Ipv6 subnetting and ICMP.pdf Flashcards

(40 cards)

1
Q

Why do we need IPv6?

A

IPv4 is running out of addresses; IPv6 offers a larger 128-bit address space and includes enhancements like simplified headers and improved support for IoT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the size of an IPv4 address?

A

A: 32 bits (2³² ≈ 4.3 billion addresses).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the size of an IPv6 address?

A

A: 128 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the three methods for IPv6 migration?

A

A:

Dual Stack

Tunneling

Translation (NAT64)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Dual Stack?

A

A: Devices run both IPv4 and IPv6 simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Tunneling?

A

A: Encapsulating IPv6 packets in IPv4 to travel across IPv4 networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is NAT64?

A

A: Allows IPv6 devices to communicate with IPv4 devices using translation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What format is used to write IPv6 addresses?

A

A: Hexadecimal, as 8 groups of 4 hex digits separated by colons.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a hextet in IPv6?

A

A: A 16-bit segment of the address (4 hex digits).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Rule 1 for compressing IPv6 addresses?

A

A: Remove leading zeros in each hextet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Rule 2 for compressing IPv6 addresses?

A

A: Replace one group of consecutive zero hextets with “::” (only once).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the three main types of IPv6 addresses?

A

A: Unicast, Multicast, Anycast.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a Unicast address?

A

A: Identifies a single interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Multicast address?

A

A: Sends a packet to multiple devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an Anycast address?

A

A: Delivered to the nearest device with that address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Does IPv6 support broadcast?

A

A: No, it uses multicast instead.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a Global Unicast Address (GUA)?

A

A: Internet-routable and globally unique.

18
Q

What is a Link-Local Address (LLA)?

A

A: Used for local link communication; not routable.

19
Q

What is a Unique Local Address (ULA)?

A

A: Like private IPv4 addresses; not routable on the internet (range fc00::/7).

20
Q

What is the format of an IPv6 GUA?

A

Global Routing Prefix : Subnet ID : Interface ID

21
Q

How do you statically assign a GUA on a router?

A

interface g0/0/0
ipv6 address 2001:db8:acad:1::1/64
no shutdown

22
Q

How do you manually assign a Link-Local Address (LLA)?

A

ipv6 address fe80::1:1 link-local

23
Q

What protocol is used to assign IPv6 GUAs dynamically?

24
Q

What are RS and RA messages?

A

RS (Router Solicitation): Sent by hosts to discover routers.

RA (Router Advertisement): Sent by routers to provide prefix and configuration info.

25
What are the 3 RA methods to configure IPv6 GUA?
1. SLAAC 2. SLAAC + Stateless DHCPv6 3. Stateful DHCPv6
26
What is SLAAC?
A: Device configures itself using RA messages, no DHCP.
27
What is EUI-64?
A: Uses MAC address to create a 64-bit Interface ID by inserting fffe and flipping the 7th bit.
28
How is a dynamic LLA created?
A: Automatically by combining fe80::/10 with an interface ID (EUI-64 or random).
29
What prefix do IPv6 multicast addresses use?
A: ff00::/8.
30
What are two well-known multicast groups?
A: ff02::1 All-nodes group ff02::2 All-routers group
31
32
How does IPv6 support subnetting?
Using the Subnet ID between the Global Routing Prefix and Interface ID.
33
What is the purpose of ICMP?
A: Provides feedback about IP packet processing issues (e.g., unreachable destinations, timeouts).
34
What are common ICMP message types?
A: Echo Request/Reply (Ping) Destination Unreachable Time Exceeded
35
What are 4 ICMPv6 Neighbor Discovery messages?
A: RS – Router Solicitation RA – Router Advertisement NS – Neighbor Solicitation NA – Neighbor Advertisement
36
What is Duplicate Address Detection (DAD)?
A: Device sends NS with its own address to check if it's already in use.
37
What is the purpose of ping?
A: Tests connectivity using ICMP Echo Request and Reply.
38
What does ping ::1 do?
A: Tests IPv6 stack on the local host (loopback).
39
How is traceroute different from ping?
A: Traceroute shows each hop between source and destination using TTL or Hop Limit.
40
How does traceroute work?
A: Sends packets with increasing TTL values; routers send Time Exceeded messages back.