2.1 Introduction to IP Flashcards

1
Q

In terms of the Internet, what represents a shipping truck, the road, and what type of shipping truck it is?

A

Shipping truck - large amounts of data being moved
Road - network topology (Ethernet, DSL, cable system)
Shipping truck - roads were designed for the Internet Protocol (IP) truck

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

What represents what’s inside the boxes holding your data?

A

Boxes of TCP and UDP

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

What else is inside the boxes holding your data?

A

Application information, etc

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

How is TCP and UDP transported?

A

inside of IP

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

TCP and UDP are encapsulated by what?

A

the IP protocol

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

What are TCP and UDP different ways for?

A

2 different ways to move data from place to place

(different applications have/need different features)

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

TCP and UDP are located in what OSI layer?

A

Layer 4

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

What is multiplexing in terms of TCP and UDP?

A

use many different applications at the same time

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

What type of connection is TCP?

A

connection-oriented

(formal connection, waits for acknowledgment)

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

Which connection method can manage out-of-order messages and retransmissions?

A

TCP

(provides recovery from errors)

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

What type of connection is UDP?

A

connection-less

(no formal open/close to the connection)

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

Which connection is reliable delivery and which is unreliable delivery? (2)

A

reliable delivery - TCP
unreliable delivery - UDP

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

Both UDP and TCP have error recovery and can reorder data/retransmissions. T or F?

A

False, only TCP has error recovery and reorders data/retransmissions

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

Which connection doesn’t stop and allow you to re-send the data?

A

UDP (provides real-time communication)

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

What are 2 connectionless protocols that would use UDP?

A
  1. DHCP
  2. TFTP (Trivial File Transfer Protocol)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are 2 connection-oriented protocols that prefer a “return receipt” by using TCP?

A
  1. HTTPS
  2. SSH
17
Q

When an application is using TCP, does it have to worry about out of order frames or missing data?

A

No, TCP handles all the communication overhead. The application just has one job.

18
Q

A real-world example of the IP shipping truck delivering to an IP address would be?

A

Delivering to a house with an address

19
Q

What happens when boxes of data arrive at the right house?

A

They go into the right room (port)

20
Q

What are non-ephemeral ports?

A

Permanent port numbers

21
Q

What are the port numbers for ephemeral ports?

A

Ports 1,024 - 65,535

22
Q

What are ephemeral ports?

A

temporary port numbers

ephemeral = ghost = temporary

23
Q

What are the non-ephemeral ports?

A

Ports 0 - 1,023

24
Q

Where are non-ephemeral ports usually located?

A

on a server or service (since they’re permanent)

25
Q

How are ephemeral port number assignments determined?

A

in real-time by the client

26
Q

TCP and UDP ports can be any number between….?

A

0 and 65,535

27
Q

Although not always the case, most servers (services) use what type of port numbers?

A

non-ephemeral (not-temporary)

28
Q

Are port numbers used for security?

A

No, they’re used for communication

29
Q

Service port numbers need to be what?

A

Well known

30
Q

Are TCP port numbers the same as UDP port numbers?

A

No