Podcast
Questions and Answers
What is the primary function of the interconnection or crossbar network in a switching plane?
What is the primary function of the interconnection or crossbar network in a switching plane?
- To provide a high-speed connection between input and output ports.
- To control the flow of data packets between fabric planes.
- To handle the storage and buffering of datagrams before transmission.
- To route datagrams to their destination based on the destination address. (correct)
What is the potential issue associated with input port queuing when the fabric is slower than the combined input ports?
What is the potential issue associated with input port queuing when the fabric is slower than the combined input ports?
- The fabric may experience high latency as a result of increased queue lengths.
- The input ports may become a bottleneck, preventing other datagrams from entering the switch fabric.
- The interconnection network can become overloaded and fail to route datagrams efficiently.
- Datagrams may be dropped due to input buffer overflow. (correct)
What is the primary function of a switch fabric?
What is the primary function of a switch fabric?
- To manage the interconnection of multiple network devices.
- To control the flow of data between input and output ports.
- To detect and correct errors in data packets. (correct)
- To buffer and forward datagrams to their next destination.
What is the main reason for using a "drop policy" at the output buffer in output port queuing?
What is the main reason for using a "drop policy" at the output buffer in output port queuing?
What is the purpose of longest prefix matching in a forwarding table?
What is the purpose of longest prefix matching in a forwarding table?
Which of the following forwarding table entries would be used for a destination address of 11001000 00010111 00010110 10100001
?
Which of the following forwarding table entries would be used for a destination address of 11001000 00010111 00010110 10100001
?
Which of the following forwarding table entries would be used for a destination address with the prefix 11001000 00010111 00011000
?
Which of the following forwarding table entries would be used for a destination address with the prefix 11001000 00010111 00011000
?
What is the benefit of using a forwarding table that implements longest prefix matching?
What is the benefit of using a forwarding table that implements longest prefix matching?
Which of the following is an advantage of using longest prefix matching in a forwarding table?
Which of the following is an advantage of using longest prefix matching in a forwarding table?
Consider a forwarding table with the following entries:
11001000 00010111 00010*** ******** 0
11001000 00010111 00011*** ******** 2
otherwise * 3
Which interface would be selected for a destination address of 11001000 00010111 00011001
?
Consider a forwarding table with the following entries:
11001000 00010111 00010*** ******** 0
11001000 00010111 00011*** ******** 2
otherwise * 3
Which interface would be selected for a destination address of 11001000 00010111 00011001
?
In the context of longest prefix matching, what does the term "prefix" refer to?
In the context of longest prefix matching, what does the term "prefix" refer to?
What is the primary purpose of a forwarding table in a network?
What is the primary purpose of a forwarding table in a network?
What is the purpose of the DHCP Discover message sent by the client?
What is the purpose of the DHCP Discover message sent by the client?
What does 'yiaddr' refer to in the DHCP process?
What does 'yiaddr' refer to in the DHCP process?
Why might a client receive DHCP offers from multiple DHCP servers?
Why might a client receive DHCP offers from multiple DHCP servers?
What information is transmitted in the DHCP Offer message by the server?
What information is transmitted in the DHCP Offer message by the server?
What is the purpose of the DHCP Request message sent by the client?
What is the purpose of the DHCP Request message sent by the client?
What is the role of the DHCP ACK message sent by the server?
What is the role of the DHCP ACK message sent by the server?
Why is the DHCP process considered a four-step process?
Why is the DHCP process considered a four-step process?
What is the purpose of the transaction ID in the DHCP messages?
What is the purpose of the transaction ID in the DHCP messages?
What does generalized forwarding allow a packet switch to do?
What does generalized forwarding allow a packet switch to do?
What is the purpose of a remote controller in generalized forwarding?
What is the purpose of a remote controller in generalized forwarding?
What is the main concept behind the "match-plus-action" forwarding abstraction?
What is the main concept behind the "match-plus-action" forwarding abstraction?
What is the name of the standard rule that generalized forwarding is based on?
What is the name of the standard rule that generalized forwarding is based on?
What is a defining characteristic of OpenFlow 1.0?
What is a defining characteristic of OpenFlow 1.0?
What is the primary goal of DHCP?
What is the primary goal of DHCP?
What makes DHCP a plug-and-play protocol?
What makes DHCP a plug-and-play protocol?
What is the destination IP address used in the DHCP Discover message by a new host requesting an IP address?
What is the destination IP address used in the DHCP Discover message by a new host requesting an IP address?
In the DHCP 4-step process, what does the client do in the DHCP Request message?
In the DHCP 4-step process, what does the client do in the DHCP Request message?
Besides an IP address, what other information can a DHCP server provide to a client?
Besides an IP address, what other information can a DHCP server provide to a client?
What is the purpose of the DHCP ACK message?
What is the purpose of the DHCP ACK message?
Which of the following is NOT a benefit of DHCP?
Which of the following is NOT a benefit of DHCP?
What would be the impact of a DHCP server malfunctioning on a network?
What would be the impact of a DHCP server malfunctioning on a network?
What is the network address of subnet 2?
What is the network address of subnet 2?
What is the broadcast address of subnet 0?
What is the broadcast address of subnet 0?
What is the subnet mask for each subnet after dividing the network?
What is the subnet mask for each subnet after dividing the network?
How many bits are borrowed from the host portion to create 4 subnets?
How many bits are borrowed from the host portion to create 4 subnets?
What is the range of usable IP addresses for subnet 1?
What is the range of usable IP addresses for subnet 1?
What is the subnet mask in binary for the subnet 2?
What is the subnet mask in binary for the subnet 2?
Why was the original network 192.168.1.0/24 divided into 4 subnets?
Why was the original network 192.168.1.0/24 divided into 4 subnets?
What is the maximum number of hosts that can be used in each subnet?
What is the maximum number of hosts that can be used in each subnet?
What is the network address of subnet 1 in binary?
What is the network address of subnet 1 in binary?
What is the first host address for subnet 3?
What is the first host address for subnet 3?
Flashcards
Longest Prefix Match
Longest Prefix Match
A method used to select the longest matching prefix from a forwarding table for routing.
Forwarding Table
Forwarding Table
A table used in routers that maps destination addresses to link interfaces.
Destination Address
Destination Address
The address of a target device where data packets are sent.
Prefix
Prefix
Signup and view all the flashcards
Matching Process
Matching Process
Signup and view all the flashcards
Binary Addressing
Binary Addressing
Signup and view all the flashcards
Link Interface
Link Interface
Signup and view all the flashcards
Routing Decision
Routing Decision
Signup and view all the flashcards
Switching Capacity
Switching Capacity
Signup and view all the flashcards
Head-of-the-Line (HOL) Blocking
Head-of-the-Line (HOL) Blocking
Signup and view all the flashcards
Input Port Queuing
Input Port Queuing
Signup and view all the flashcards
Output Port Contention
Output Port Contention
Signup and view all the flashcards
Drop Policy
Drop Policy
Signup and view all the flashcards
Subnet
Subnet
Signup and view all the flashcards
IP Address
IP Address
Signup and view all the flashcards
Subnet Mask
Subnet Mask
Signup and view all the flashcards
CIDR Notation
CIDR Notation
Signup and view all the flashcards
Network Address
Network Address
Signup and view all the flashcards
Broadcast Address
Broadcast Address
Signup and view all the flashcards
Host Portion
Host Portion
Signup and view all the flashcards
Borrowing Bits
Borrowing Bits
Signup and view all the flashcards
Subnet Size
Subnet Size
Signup and view all the flashcards
First Host Address
First Host Address
Signup and view all the flashcards
Generalized Forwarding
Generalized Forwarding
Signup and view all the flashcards
Match-Plus-Action
Match-Plus-Action
Signup and view all the flashcards
Flow Table
Flow Table
Signup and view all the flashcards
OpenFlow
OpenFlow
Signup and view all the flashcards
Remote Controller
Remote Controller
Signup and view all the flashcards
DHCP
DHCP
Signup and view all the flashcards
IP address leasing
IP address leasing
Signup and view all the flashcards
DHCP four-step process
DHCP four-step process
Signup and view all the flashcards
DHCP discover message
DHCP discover message
Signup and view all the flashcards
DHCP offer message
DHCP offer message
Signup and view all the flashcards
DHCP request message
DHCP request message
Signup and view all the flashcards
DHCP ACK message
DHCP ACK message
Signup and view all the flashcards
Advantages of DHCP
Advantages of DHCP
Signup and view all the flashcards
DHCP Discover
DHCP Discover
Signup and view all the flashcards
DHCP Offer
DHCP Offer
Signup and view all the flashcards
DHCP Request
DHCP Request
Signup and view all the flashcards
DHCP ACK
DHCP ACK
Signup and view all the flashcards
Transaction ID
Transaction ID
Signup and view all the flashcards
yiaddr
yiaddr
Signup and view all the flashcards
Lifetime
Lifetime
Signup and view all the flashcards
Study Notes
Chapter 4: Network Layer: The Data Plane
- This chapter focuses on the data plane of the network layer, focusing on how data is moved through a network.
- The chapter will cover network layer service models, forwarding versus routing, how a router works, addressing, and generalized forwarding.
- The implementation of the IP protocol and NAT in the Internet will also be discussed.
- The chapter will also cover generalized forwarding and SDN.
Goals
- Understanding principles behind network layer services, specifically the data plane.
- Identifying various network layer service models.
- Differentiating between forwarding and routing processes.
- Explaining the router's working mechanism.
- Discussing addressing schemes.
- Covering generalized forwarding methods involved in transferring data between routers.
- Providing implementation examples in the Internet.
- Explaining the IP protocol to understand the datagram format, fragmentation, IPv4 addressing, network address translation (NAT), and IPv6.
- Explaining various components involved in forwarding data within a router, including input ports, output ports, the switching fabric, and the routing processor.
Network Layer Services and Protocols
- The network layer is responsible for transporting segments from the sender to the receiver.
- The sender encapsulates segments into datagrams, which are passed to the link layer.
- The receiver delivers segments to the transport layer.
- This layer involves protocols relevant in every Internet device, such as hosts and routers.
- Routers examine header fields in IP datagrams to determine the appropriate output ports for forwarding data.
Two Key Network-Layer Functions
- Forwarding: The process of moving packets from a router's input to its appropriate output. This process gets the packet through a single interchange.
- Routing: The process of determining the route a packet takes from source to destination. Routing algorithms are used to make these decisions.
- Both forwarding and routing work together, with routing algorithms determining forwarding table entries in routers.
Two Control-Plane Approaches
- Traditional routing algorithms control how data flows. These algorithms are implemented in the router itself
- SDN (software-defined networking) uses a remote controller to control routing decisions. This controller computes and installs forwarding tables in routers.
Network Service Model
- Question: What service model for transporting datagrams from sender to receiver?
- Example: Guaranteed delivery, guaranteed delivery with low delay, in-order datagram delivery.
- Example Services for a flow of datagrams: guaranteed minimum bandwidth to the flow, constraints on changes in inter-packet spacing.
Network Layer Service Models (QoS Guarantees)
- Quality of Service (QoS) Guarantees
- Bandwidth
- Loss
- Order
- Timing
- Congestion
- Internet: best effort, no guarantees.
- ATM (Asynchronous Transfer Mode): Various service models with different QoS guarantees (CBR, VBR, ABR, UBR)
Network Layer: Data Plane and Control Plane
- Data plane: The forwarding function determines how a datagram arriving at a router's input port is forwarded to the appropriate output port. This function is local and performed at each router.
- Control plane: The routing function determines the route taken by datagrams among routers to go from source to destination. This function is network-wide rather than local.
IP Datagram Format
- 32 bits: IP datagram is structured as series of fields (version, header length, type of service, datagram length, etc...)
IP Fragmentation/Reassembly
- Network links have a maximum transmission unit (MTU) for datagrams.
- Datagrams larger than the MTU are fragmented into smaller datagrams.
- Datagrams are reassembled at the destination.
- Header bits in IP datagrams are used for identifying and ordering fragments.
Switching Fabrics
- Transferring packets from input to output links.
- Measured as a multiple of input/output line rate.
- Three types, Memory, Bus, and Crosbar.
Switching via Memory, Bus, and Interconnection Network
- Switching via memory is the first generation method, but limited by memory bandwidth.
- Switching via a bus is a better method but can experience contention, which limits bandwidth.
- Switching via an interconnection network (crossbar) overcomes bandwidth limitations by using multiple switching planes in parallel.
Input/Output Port Queueing
- Input port queueing refers to datagrams arriving at a router input port faster than the amount of data being forwarded by the router to the next link.
- Output port contention arises from output ports being slower than the input port(s).
How Much Buffering
- RFC 3439: An average rule of thumb to determine how much buffering is needed.
- More recent recommendations for buffering equal to RTT*C/N.
Router Architecture Overview
- Two key router functions:
- running routing algorithms/protocols
- forwarding datagrams.
- Four router components:
- input ports
- output ports
- switching fabric
- routing processor
Input Port Functions
- Physical layer (bit-level reception).
- Data link layer (e.g., Ethernet reception).
- Decentralized Switching.
- Lookup output port using a forwarding table in input port memory to forward destination based or generalized forwarding (SDNs).
Destination-Based Forwarding
- Uses forwarding tables to determine the output interface for a packet based on the destination address.
Longest Prefix Matching
- When looking for an entry in the forwarding table, use the longest address prefix that matches the destination address.
Content Addressable Memory (CAM)
- An approach to look up an address in forwarding table (fast lookup operation).
IPv4 Addressing and Subnetting
- IP addresses are used to identify hosts in networks.
- They are typically written in dotted decimal notation. Each part of the IP address is represented by a 8 bits number.
- Subnetting is the process of dividing a network into multiple subnetworks.
- Subnet masks are used to divide an IP address into network and host portions.
- Understanding how to determine network address, broadcast address, usable IP addresses is essential.
Classful Addressing
- Various class systems (A, B, C, D, E) had different structures separating IP addresses into network and host portions.
Classless Inter-Domain Routing (CIDR)
- More flexible than classful addressing.
- Subnet portion of an IP address can be of arbitrary length.
- Addresses are arranged as network portion followed by host portion.
DHCP (Dynamic Host Configuration Protocol)
- Automatically assigns IP addresses to hosts on a network.
- Supports network mobility, and simplifies administrator’s work.
- A four-step process: discover, offer, request, and acknowledge(ACK).
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.