2.5 IPv4 and IPv6 Flashcards

1
Q

What are the two protocols used for most things we do regarding the internet?

A

IPv4 and IPv6. Supported by most OS’s. Can help devices communicate with other

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

IPv4 addresses are built to what OSI layer?

A
  1. It’s built of four decimal point segments ( example:192.168.1.131). Each segment consists of 32 bits, so the total size of an IPv4 address is 4 bytes. The max value of a segment is 255 (255.255.255.255 is the highest).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why did we create IPv6 addresses?

A

The popularity of the internet. They have 8 different groups with 16 bits per group. This totals 128 bits or 16 bytes, so 6.8 billion people could each have 5 (with 30 0’s) total IP addresses. IPv6 addresses are shown in hexadecimal format (fe80:5d18:652:cffd:8f52). Because these are hard to remember, DNS is important

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

How are the first 64 and last 64 bits of an IPv6 address created?

A

The first 64 bits are generally the network prefix. The last 64 are are the host network address

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

What’s something you want to consider when assigning IPv4 addresses to your local network?

A

Each device needs a unique address (ex 192.168.1.165) and a subnet mask (ex 255.255.255.0). Subnet masks help the device determine which subnet they’re connected to. You need both of these parameters to complete IP assignment

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

What is a default gateway?

A

The router that allows you to communicate outside of your local subnet. The default gateway must be an IP address on the local subnet

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

What is the historical protocol that automatically assigned IP addresses to devices?

A

BOOTP, the bootstrap protocol, created 1993. It was limited in features so we launched DHCP in 1997. This updates IP addresses automatically for almost all devices

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

What is the four step processes that provides an IP configuration to your device?

A

DORA
Discover (find a DHCP server)
Offer (get an offer)
Request (lock in the offer)
Acknowledge (DHCP server confirms address and assigns everything your device needs)

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

How does the discover phase of DORA work?

A

Client workstation sends a broadcast through UDP port 67 on the switch

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

Routers normally don’t send broadcasts through themselves. How can we enable that to happen?

A

Enable DHCP relay, this turns the router into an IP helper

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

How does the offer phase of DORA work?

A

Client receives the offer through a broadcast sent over UDP 68. If multiple offers were sent, it examines the offers and makes a decision on which offer to accept for IP address assignment

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

How does the request phase of DORA work?

A

Client sends its formal request back through the switch to the DHCP servers with UDP 67. The offer only goes to one DHCP server even if multiple offers were involved

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

How does the acknowledge phase of DORA work?

A

DHCP server broadcasts a message back through the switch to the client workstation over UDP port 68 confirming that the request has been acknowledged. The device can now assign itself the IP address settings agreed upon

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

How often does a device go through the DORA process?

A

Every time a device needs to connect to the network and obtain an IP address from a DHCP server

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

What is a pool of IP addresses?

A

A range of IP addresses that was created when the DHCP servers were first configured

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

You may want to keep a static IP on a device like a server or a printer. How can you get an IP address to remain static on a device?

A

There are two ways:
(1) Disable DHCP on the device (requires additional administration)
(2) Configure an IP reservation on the DHCP server. This will involve associating a MAC address with a reserved IP address

17
Q

Why would you want to use DHCP reservation as opposed to manually configurating IP addresses?

A

Manual configurations are difficult to change later because they involved visiting each device

18
Q

What is APIPA and when would it be used?

A

Automatic private IP addressing, also refers to as a link-local address. Occurs when your device is configured to receive a DHCP address, but there’s no longer a DHCP server active. With an APIPA, your device can’t communicate outside of local network

19
Q

What is the range of possible addresses when using APIPA?

A

169.254.1.0 through 169.254.254.255

20
Q

What device is responsible for configuring APIPA addresses?

A

Your local device. They are automatically assigned through ARP (address resolution protocol)