Ch4-Fundamentals of IPv4 Addressing & Routing Flashcards

1
Q

On an IP host, the IP address of some router to which the host sends packets when the packet’s destination address is on a subnet other than the local subnet.

A

Default gateway/default router

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

A list of routes in the router, with each route listing the destination subnet and mask, the routing interface out which to forward packets destined for that subnet, and as needed, the next-hop router’s IP address

A

routing table

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

Subdivisions of a Class A, B, or C network, as configured by a network administrator.

A

IP subnet

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

A set of messages and processes with which routers can exchange information about routes to reach subnets in a particular network

A

routing protocol

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

An IP address that represents a single interface.

A

unicast IP address

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

The process of subdividing a Class A, B, or C network into smaller groups

A

subnetting

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

An internet protocol used to map an IP address to a MAC address. Defined in RFC 826

A

ARP (Address Resolution Protocol)

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

How does IPv4 expect addresses to be grouped into subnets or networks?

A
  1. IP addresses in the same group MUST NOT be separated by router.
  2. IP addresses in different groups MUST be separated by a router.
  3. 5 IP addresses separated by a router MUST be in different groups.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Break down the IPv4 Class A address space in terms of first octet range, portion of total address space, and intended purpose (unicast, multicast, etc) of addressing.

A
  1. First octet 1-126
  2. 1/2 total IPv4 address space
  3. Unicast addressing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Break down the IPv4 Class B address space in terms of first octet range, portion of total address space, and intended purpose (unicast, multicast, etc) of addressing.

A
  1. First octet 128-191
  2. 1/4 total IPv4 address space
  3. Unicast addressing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Break down the IPv4 Class C address space in terms of first octet range, portion of total address space, and intended purpose (unicast, multicast, etc) of addressing.

A
  1. First octet 192-223
  2. 1/8 total IPv4 address space
  3. Unicast addressing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Break down the IPv4 Class D address space in terms of first octet range, portion of total address space, and intended purpose (unicast, multicast, etc) of addressing.

A
  1. First octet 224-239
  2. 1/16 total IPv4 address space
  3. Multicast addressing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Break down the IPv4 Class E address space in terms of first octet range, portion of total address space, and intended purpose (unicast, multicast, etc) of addressing.

A
  1. First octet 240-255
  2. 1/16 total IPv4 address space
  3. Reserved/experimental addressing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe the size of the Class A network space in terms of number of networks available and number of hosts per network.

A

126 networks, approx 16 million hosts per network

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

Describe the size of the Class B network space in terms of number of networks available and number of hosts per network.

A

approx 16 thousand networks, approx 65 thousand hosts per network

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

Describe the size of the Class C network space in terms of number of networks available and number of hosts per network.

A

approx 2 million networks, 254 hosts per network

17
Q

List all possible network addresses in the Class A address space

A

First octet defines the group

1.0.0.0-126.0.0.0

18
Q

List all possible network addresses in the Class B address space

A

First 2 octets define the group

128.0.0.0 - 191.255.0.0

19
Q

List all possible network addresses in the Class C address space

A

First 3 octets define the group

192.0.0.0 - 223.255.255.0

20
Q

A host needs to send a packet to another host. Explain the 2-step process of host routing.

A
  1. Is the destination IP address in my subnet? If so, forward directly to that destination host.
  2. Is the destination IP address in a different subnet? If so, forward to my default gateway for delivery.
21
Q

A router is forwarding packets between two hosts. Describe the 4-step process of the router’s forwarding logic.

A
  1. Does the incoming frame have errors in the FCS? If so, drop the frame.
  2. De-encapsulate the packet.
  3. Compare the packet destination IP address with the routing table. Find the route that best matches the destination IP address. This will determine the exit interface and next hop’s IP address.
  4. Re-encapsulate the packet in a new frame appropriate for the exit interface and forward the frame.
22
Q

Describe the goals of a routing protocol

A
  1. Dynamically learn and fill the routing table with a route for each subnet.
  2. Place the best route in the routing table.
  3. Notice when routes become invalid and remove them from the routing table.
  4. Work quickly when learning new routes or replacing lost ones (convergence)
  5. Prevent routing loops
23
Q

Describe the ARP process

A
  1. For every outgoing frame, check the ARP cache for the correct destination IP & MAC.
  2. If not found, broadcast an ARP request containing the sender MAC, sender IP, and target IP (“Who has 192.168.1.4?”)
  3. Target receives broadcast and responds with a unicast ARP reply containing the target IP, target MAC, and sender IP and MAC)
  4. On receiving the ARP reply, original sender adds target MAC and IP to arp cache.