Lesson 4 - Chapter 1: TCP/IP Basics Flashcards

1
Q

How many layers does the TCP/IP network model have?

A

5 (but in some models the bottom 2 are combined to make only 4 layers)

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

Name the 5 layers of the TCP/IP network model from top to bottom

A
  1. Application
  2. Transport
  3. Internet (Network)
  4. Link (Network Interface)
  5. Physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the protocols used of the 5 layers of the TCP/IP network model

A
  1. Application (HTTP, FTP, TELNET, DHCP, PING)
  2. Transport (TCP, UDP)
  3. Internet (Network) [IPv4, IPv6]
  4. Link (Network Interface) [ARP, RARP, Ethernet]
  5. Physical (Ethernet NICs, Switches)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the Physical layer define? From what to what?

A

the standards for how data moves from the NIC to the network media (cables, wireless signals) and what switches/routers do with it

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

Data travels through the physical layer in what format?

A

it travels in frames (that the physical layer requires)

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

The Link layer is also called what 2 things?

A

Network Interface or Data Link layer

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

What does the Link layer do?

A

It deals with the connection between the software and hardware only at the local network level and doesn’t route data to other networks

[Ethernet, ARP, RARP]

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

What is the Internet layer also called?

A

the Network layer

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

What happens at the Internet layer?

A

Uses IP addresses to route data between networks (uses destination network and destination device IP addresses)

[IPv4, IPv6]

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

Does the Internet layer have error detection or correction features?

A

No

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

What are the 2 major protocols that operate at the Transport layer?

A

UDP (connectionless protocol)
TCP (Transmission control protocol)

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

What job does the TCP protocol do?

A

it uses back-and-forth confirmation messages and error checking to get one machine’s application data to another reliably/completely

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

What communication rule does TCP have?

A

requires both the sending and receiving machines to acknowledge the other’s presence and readiness to send and receive data

[but it’s slower because of double-checking]

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

Which protocol is known as a connection-oriented protocol?

A

TCP

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

When would using the UDP protocol be best?

A

When you have a lot of data to send (perfection doesn’t matter) or systems are very close to each other (chances of problems are smaller)

(Much faster compared to TCP)

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

What protocol does a web browser use?

A

browsers use HTTP which is a TCP-based protocol

(over 95% of all TCP/IP applications use TCP)

17
Q

What is the application layer?

A

this layer is where different apps that access the network operate (HTTP, HTTPS, FTP, SMTP, POP, IMAP, etc)

web browsers, file transfer, mail apps, etc

18
Q

What does encapsulate mean?

A

breaking the data down into appropriate-sized pieces, then wrapping those pieces in a container called a packet with instructions for the next layer

19
Q

Packets are like ___

A

envelopes

Each packet contains a header with the sending and receiving address and a piece of the data to be sent

20
Q

Name the specific name for each layer’s packet type

Application
Transport
Internet
Link
Physical

A

Application: Message
Transport: TCP segment or UDP datagram
Internet layer: IP datagram
Link layer: Frame
Physical layer: Frame

21
Q

Frames operate at the ____ level

A

Ethernet

22
Q

“Packet” means the same in the TCP/IP model as it does in the OSI model. T or F?

A

False, in OSI the term “packet” is limited to the data container created at Layer 3