Questions and Answers
What is the primary function of a physical hub at Layer 1?
What is a major drawback of using physical hubs in a network?
What is the primary advantage of using switches over physical hubs?
What is the primary function of a router at Layer 3?
Signup and view all the answers
What type of devices primarily operate at Layer 3 and make forwarding decisions based on IP addresses?
Signup and view all the answers
What is a characteristic of a switch in its default configuration?
Signup and view all the answers
What type of addresses do switches memorize to make forwarding decisions?
Signup and view all the answers
What is the purpose of a router's primary responsibility?
Signup and view all the answers
What is the primary function of a router in a network?
Signup and view all the answers
What address is used as the source address when PC1 sends a packet to 8.8.8.8?
Signup and view all the answers
What happens to a packet when it reaches a router?
Signup and view all the answers
How do devices learn about their default gateway?
Signup and view all the answers
What is the purpose of a default gateway?
Signup and view all the answers
What type of information does a router use to make forwarding decisions?
Signup and view all the answers
What happens to a packet when it reaches its final destination?
Signup and view all the answers
What is the purpose of network address translation?
Signup and view all the answers
What is the role of the switch in the network?
Signup and view all the answers
Who can be a Layer 3 router?
Signup and view all the answers
What is the primary function of a multilayer switch?
Signup and view all the answers
What is the advantage of using a load balancer?
Signup and view all the answers
What is the primary purpose of an access control list (ACL)?
Signup and view all the answers
What is the primary difference between a router and a multilayer switch?
Signup and view all the answers
What is the purpose of port address translation?
Signup and view all the answers
Which device can make forwarding decisions based on both Layer 3 and Layer 4 information?
Signup and view all the answers
What is the primary function of a Layer 3 device?
Signup and view all the answers
What is the advantage of using a firewall that can perform Layer 3 routing?
Signup and view all the answers
What is the primary difference between a firewall and a router?
Signup and view all the answers
What is the purpose of Layer 4 information in making forwarding decisions?
Signup and view all the answers
Study Notes
Layer 1: Physical Hub
- A physical hub takes bits that come in on a port and repeats them on all other ports without addressing.
- It knows only about bits in and out, and operates in half duplex, sharing one giant collision domain.
Layer 2: Switch
- Switches are used in modern networks to separate collision domains and make Layer 2 forwarding decisions based on learned Layer 2 addresses.
- They memorize Layer 2 addresses and forward frames based on these addresses.
- In its default configuration, a switch still considers itself one large broadcast domain.
Layer 3: Network Layer
- The network layer is where IP addresses are used, and devices make forwarding decisions based on these addresses.
- Layer 3 devices include routers, firewalls, multilayer switches, and load balancers.
- Routers are responsible for getting packets in, taking a look at the Layer 3 destination IP address, and making a forwarding decision.
Router Functionality
- Routers receive frames, de-encapsulate them, look at the destination IP address, and forward them to the next router.
- They make forwarding decisions based on the Layer 3 information and can also manipulate and make forwarding or blocking decisions based on Layer 4 information.
Load Balancers
- Load balancers can forward traffic based on Layer 3 addresses and help ensure fault tolerance and high availability.
- They can direct traffic to multiple servers behind a virtual IP address, balancing the load.
Layer 4 Information
-
Most Layer 3 devices can also look at and work with the Layer 4 information
Layer 4 is the Transport Layer in the OSI model. Here’s a list of the key elements and their roles:
1. Port Numbers
- Role: Identify specific applications and services on a system.
- Explanation: Similar to apartment numbers in a building, ports help direct data to the correct program on a computer.
2. Segmentation and Reassembly
- Role: Break down data into smaller pieces for transmission and reassemble them at the destination.
- Explanation: Think of it like a parcel service breaking down a large item into smaller, manageable packages for delivery and then putting them back together on arrival.
3. Error Detection and Correction
- Role: Ensure data integrity by detecting errors and potentially correcting them.
- Explanation: Like a spell-checker, this function checks if the data is intact and makes necessary corrections if any errors are found.
4. Flow Control
- Role: Manage the pace at which data is sent.
- Explanation: Similar to traffic lights managing car flow at intersections, flow control regulates how much data can be sent and received at any given time to prevent congestion.
5. Connection Establishment and Termination
- Role: Set up and close communication channels.
- Explanation: Like making a phone call, this involves dialing a number to connect and then hanging up when done.
6. Multiplexing
- Role: Allow multiple communication sessions over the same network channel.
- Explanation: Like multiple conversations happening in a room, multiplexing allows different data streams to share the same network link.
7. Data Acknowledgment
- Role: Confirm receipt of data by the recipient.
- Explanation: Similar to a "read receipt" in email, this mechanism ensures the sender knows the data was received correctly.
8. Connection-oriented and Connectionless Services
- Role: Provide reliable (Connection-oriented) or fast (Connectionless) data transfer methods.
- Explanation: Connection-oriented is like sending a certified mail where the delivery is guaranteed (TCP), while connectionless is like dropping postcards where no confirmation of delivery is required (UDP).
By understanding these elements, you can better grasp how the Transport Layer facilitates reliable and effective communication in a network., such as protocols and ports.
-
They can make forwarding or blocking decisions based on this information, and can also perform port address translation.
Summary
- At the physical layer, we have hubs.
- At Layer 2, we have Layer 2 switches and bridges.
- At Layer 3, we have devices that make forwarding decisions based on IP addresses, including routers, firewalls, multilayer switches, and load balancers.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Review of Layer 1 in the OSI model, covering physical hubs, bits, and addressing. Discusses limitations such as half duplex and collision domains.