2.5 - IPv4 and IPv6, Assigning IP addresses Flashcards

1
Q

IP addressing

A

IPv4 = primary protocol for everything we do

IPv6 = now part of all OS’s
-backbone of internet infrastructure

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

IPv4

A

Internet protocol version 4
-OSI layer 3 address

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

IPv6 addresses

A

Internet protocol v6 - 128 bit address
-340 undecillion

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

Networking with IPv4

A

IP address
-every device needs unique IP address

Subnet mask
-used by local device to determine its subnet
-subnet mask isn’t usually transmitted across the network

Default gateway
-router that lets you communicate outside of your local subnet
-default gateway must be IP address on the local subnet

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

DNS servers

A

We remember names

Internet routers only know IP addresses

Domain name services translate between names and IPs

You configure TWO DNS servers in your IP config b/c of how important it is!

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

DHCP Process (DORA)

A
  1. Discover
    -client to DHCP server
    -find all available DHCP servers
  2. Offer
    -DHCP server to client
    -send some IP address options to client
  3. Request
    -client to DHCP server
    -client chooses offer + makes formal request
  4. Acknowledgment
    -DHCP server to client
    -DHCP server sends acknowledgment to client
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DHCP

A

IPv4 config used to be manual

BOOTP (bootstrap protocol) 1993
-some manual configs were still required
-didn’t know when IP address might be available again

DHCP (dynamic host configuration protocol)
-1997
-provides automatic IP address/IP config for almost all devices

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

Turning dynamic into static (assigning IP addresses)

A

DHCP assigns IP from 1st available one in a pool of addresses
-IP occasionally changes

Might not want your IP to change
-server, printer, personal pref.

Disable DHCP on device
-config IP address info manually
-requires additional administration

Better: config IP reservation on DHCP server
-associate specific MAC address with an IP address

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

Avoid manual configurations (assigning IP addresses)

A

No DHCP server reservation
-you manually configure IP address

Difficult to change later
-b/c must visit device again

DHCP reservation = preferable
-change IP address from DHCP server

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

APIPA

A

Automatic private IP addressing

Link-local address - no forwarding address

IETF reserved 169.254.0.0 - 169.254.255.255
- first + last 256 addresses = reserved

Automatically assigned
-used ARP to confirm address isn’t in use

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