Lesson 4 - Chapter 1: TCP/IP Basics Flashcards
How many layers does the TCP/IP network model have?
5 (but in some models the bottom 2 are combined to make only 4 layers)
Name the 5 layers of the TCP/IP network model from top to bottom
- Application
- Transport
- Internet (Network)
- Link (Network Interface)
- Physical
Describe the protocols used of the 5 layers of the TCP/IP network model
- Application (HTTP, FTP, TELNET, DHCP, PING)
- Transport (TCP, UDP)
- Internet (Network) [IPv4, IPv6]
- Link (Network Interface) [ARP, RARP, Ethernet]
- Physical (Ethernet NICs, Switches)
What does the Physical layer define? From what to what?
the standards for how data moves from the NIC to the network media (cables, wireless signals) and what switches/routers do with it
Data travels through the physical layer in what format?
it travels in frames (that the physical layer requires)
The Link layer is also called what 2 things?
Network Interface or Data Link layer
What does the Link layer do?
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]
What is the Internet layer also called?
the Network layer
What happens at the Internet layer?
Uses IP addresses to route data between networks (uses destination network and destination device IP addresses)
[IPv4, IPv6]
Does the Internet layer have error detection or correction features?
No
What are the 2 major protocols that operate at the Transport layer?
UDP (connectionless protocol)
TCP (Transmission control protocol)
What job does the TCP protocol do?
it uses back-and-forth confirmation messages and error checking to get one machine’s application data to another reliably/completely
What communication rule does TCP have?
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]
Which protocol is known as a connection-oriented protocol?
TCP
When would using the UDP protocol be best?
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)
What protocol does a web browser use?
browsers use HTTP which is a TCP-based protocol
(over 95% of all TCP/IP applications use TCP)
What is the application layer?
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
What does encapsulate mean?
breaking the data down into appropriate-sized pieces, then wrapping those pieces in a container called a packet with instructions for the next layer
Packets are like ___
envelopes
Each packet contains a header with the sending and receiving address and a piece of the data to be sent
Name the specific name for each layer’s packet type
Application
Transport
Internet
Link
Physical
Application: Message
Transport: TCP segment or UDP datagram
Internet layer: IP datagram
Link layer: Frame
Physical layer: Frame
Frames operate at the ____ level
Ethernet
“Packet” means the same in the TCP/IP model as it does in the OSI model. T or F?
False, in OSI the term “packet” is limited to the data container created at Layer 3