Lesson 5: Explaining IPv4 Addressing Flashcards

1
Q

What does the version field in an IP header indicate?

A

The version of internet protocol being used

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

What does the length field in an IP header indicate?

A

The size of the header and the total packet size including the payload (65,535 bytes max)

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

What does the protocol field in an IP header indicate?

A

Identifies the protocol working over IP at the transport layer (layer 4) so the receiving host knows how to process it

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

What are the possible protocols that can be defined in the protocol field?

A

TCP, UDP, ICMP, GRE, EIGRP, or OSPF

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

What protocols run directly on IP instead of at the transport layer?

A

ICMP, IGMP, GRE, ESP, and EIGRP

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

What is a network mask (netmask)?

A

The number of bits used to distinguish between the network ID and a host ID of an IP address and both are 32 bits

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

How does one determine the network ID of an IP address?

A

By ANDing the network mast to the IP address

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

Define the ANDing process

A
  1. Convert the network mask and IP address to binary and and the binary numbers together, like an addition problem, two 1s equal 1, any other combination equals 0, the result is the network ID
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a network prefix or slash notation?

A

The abbreviated version of the decimal network mask added to the end of the network ID to describe mask

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

What is the decimal notation of an 8-bit mask

A

255.0.0.0

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

What is the decimal notation of a 16-bit mask

A

255.255.0.0

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

What is said to happen when deceasing the bits in the network mask?

A

Decreasing the bits in the network mask allows for a larger number of hosts in each network because it allows for more host IDs but decreases the number of network IDs in the total network space

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

What is said to happen when increasing the bits in the network mask?

A

Increasing the bits in the network mask allows for a smaller number of networks allowed in the overall network because it allocates more bits to the host IDs which increases the number of host IDs possible in each network

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

What is subnet addressing?

A

Division of a single IP network into two or more smaller broadcast domains by using longer netmasks within boundaries of a network

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

What are the hierarchical levels of subnet addressing?

A
  1. Network ID
  2. Subnet ID
  3. Host ID
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How are logical subnets created?

A

Bits from the host ID are allocated to the subnetwork address, meaning that the subnet ID lies within an octet boundary

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

What does adding a bit to the mask do to the number of host addresses?

A

It halves the number of available host addresses and doubles the number of possible networks or subnets

18
Q

What is the term for forwarding packets at layer 3/network layer?

A

Routing

19
Q

Define a default gateway

A

A host/node IP configuration parameter that identifies the address of a router on the local subnet that the host/node can use to communicate with other networks.

20
Q

What is the function of a router?

A

Based on the rules of the routing table, as well as source/destination IP and netmask, the router determines where to forward packets, if no suitable path it will drop the packet and inform that it could not be delivered

21
Q

Define dynamic routing

A

Allows routers to share information about known networks and possible paths to them

22
Q

How do hosts in the same ethernet network identify each other?

A

When host are within the same broadcast domain or subnet, local address resolution takes place using ARP requests and ARP replies

23
Q

Define the ARP (Address Resolution Protocol) process

A
  1. The sending host will check ARP cache, if it’s empty it will send ARP broadcast request thru network
  2. Only the host with the destination IP address will respond with its MAC address
  3. The sending host will cache the mapping and encapsulates the IP packet in a frame with the destination MAC address
24
Q

How does ARP function if the destination address is on a remote network?

A

The local host determines the MAC address of the default gateway and forwards the packet to the router

25
Q

What is a broadcast address?

A

The broadcast address of IP is one where the host bits are all set to 1; at the MAC layer it is the address ff:ff:ff:ff:ff:ff.

26
Q

What is multicasting?

A

Allows a host to send content to other hosts in a special group intended to receive that content

27
Q

What is a multicast address?

A

A special range of IPs configured for multicast packets

28
Q

What is IGMP?

A

Internet Group Management Protocol is a layer 3 protocol used to configure multicasting group memberships and multicast addresses

29
Q

Define Anycast addressing

A

A group of hosts that share the same IP address, typically used for load balancing/failover between hosts.

30
Q

What is the function of a VLAN?

A

To create a logically separate network on a switch, which creates separate broadcast domains to decrease broadcast traffic,; devices in these separate domains will need a router to communicate

31
Q

What are the different classes of classful addressing?

A
  1. Class A
  2. Class B
  3. Class C
32
Q

Define classful addressing

A

It allocates the network ID based on the first octet of the IP address

33
Q

Define Class A

A

First octet is 1-126; supports a large number of hosts over 16 million but only 126 network addresses, with a netmask of 255.0.0.0 or (/8)

34
Q

Define Class B

A

First octet from 128-191; Has 16,000 networks each up to 65,000 hosts; Netmask of 255.255.0.0 or (/16)

35
Q

Define Class C

A

First octet form 182-223; Has 2 million networks with up to 254 hosts each; Netmask of 255.255.255.0 or (/24)

36
Q

What governing body allocates public IP addresses?

A

IANA - Internet assigned number authority

37
Q

What are the private IP ranges?

A

Class A: 10.0.0.0 to 10.255.255.255
Class B: 172.16.0.0 to 172.31.255.255
Class C: 192.168.0.0 to 192.168.255.255

38
Q

What does a windows device do if it can’t contact a DHCP server?

A

To be able to still communicate with other devices, it will assign itself it selects an APIPA (Automatic Private IP Addressing) address

39
Q

What is the APIPA (Automatic Private IP Addressing) range?

A

169.254.1.1 to 169.254.254.254; 169.254.0.0/16

40
Q

What is APIPA (Automatic Private IP Addressing) classified as?

A

Classified as “link local addressing” in RFC 3927, similar to bonjour for MacOS and Avahi for Linux

41
Q

What class of addressing does multicast use?

A

Class D; Addresses 244.0.0.0 thru 239.255.255.255

42
Q

What is the use class E addressing?

A

Experimental use and testing