Chapter 4: Routing Packets Across a Network Flashcards

1
Q

What is the Network Layer (Layer 3) of the protocol stack responsible for doing?

A

Responsible for finding a route over the network that will allow the packet to teach its ultimate destination

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

Each ___ has a ___ that contains the ___ of the ___ ___

A

Packet, header, address, final, destination

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

At the highest level, the internet can be _____

A

considered a connection of large sub-networks called autonomous systems (AS)

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

Each AS is identified by what?

A

Autonomous System Number (ASN), which are autonomous

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

The Internet Assigned Number Authority (IANA) assigns what?

A

Autonomous System Numbers (ASNs) and IP addresses

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

Interior Gateway Protocols (IGPs) are what?

A

They are routing protocols that direct packets between nodes within an Autonomous System

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

Exterior Gateway Protocols (EGPs) are what?

A

They are routing protocols that direct packets between AS networks. The Border Gateway Protocol is the most reelvant

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

What is a switch?

A

Switches are connection oriented and are aware of the source and final destination of the packet

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

What is a router?

A

Routers are connectionless and forwards the packet along a next hop without any knowledge of what the rest of the path is going to look like

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

Why must every AS peer with at least one other AS?

A

The internet is based on global/end-to-end reachability

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

Define a Circuit Switched scenario

A

The switches simply serve to connect a direct wire between the source and destination

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

Define a Whole File Transfer scenario

A

The entire file is sent in one-piece with N_o overhead bits

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

Define a Packet Transfer scenario

A

The file is divided into K packets before transmission. Each packet is transmitted using N_o overhead bits

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

What is the purpose of maintaining a routing table?

A

Allows routers to not have to know the entire route a packet will take. It only needs to forward it to the next hop along the journey. We utilize hierarchical routing

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

What is the purpose for hierarchical routing?

A

Makes it so that routers do not need to keep every possible destination stored on a routing table

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

What is the NetID in an IP address?

A

Describes the network that the user is on

17
Q

What is the HostID in an IP address?

A

Describes the host that is on a specific network (described by the NetID)

18
Q

In the simplest case, what is a NetID? And why is it “simple”/convenient?

A

Each NetID is a single router that is connected via a LAN to all the hosts within that network. Routers outside of each network now only need to store the NetIDs in their routing table, similar to a postal office organizing based on country

19
Q

What is the purpose of subnetting?

A

Allows us to overcome the inflexibility of having a limited number of NetIDs and HostIDs for a number of networks.

20
Q

How does subnetting work?

A

Done by defining a subnet mask that is then ANDed with an IP address to determine its subnet address

21
Q

Define Classless Interdomain Routing (CIDR)

A

The removal of class distinctions within addresses and was replaced with a variable length subnet mask that indicates the NetID portion of the address

22
Q

What is the purpose of Classless Interdomain Routing (CIDR)

A

Allows multiple levels of hierarchical addressing to be used in the internet than just one. The length of the netmask increases as the packet gets closer to its destination

23
Q

Why are MAC addresses used by ethernet connections?

A

Once a packet reaches its final subnet, it is necessary to map its IP address to a MAC address so it may reach its destination

24
Q

What is the Address Resolution Protocol (ARP)? And how does it work?

A

ARP is used to map an IP address to a MAC address via Ethernet. Asks the computer with a specific IP address to reply