Data Plane (Chapter 4 - Part 1)

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following is a principle behind network layer services, focusing on the data plane?

  • Network layer service models (correct)
  • Network security protocols
  • End-to-end encryption techniques
  • Application layer data formatting

The primary role of network layer protocols in every Internet device is to handle transport layer segmentation.

False (B)

What is the main function of the forwarding process in the network layer?

  • Establishing end-to-end connections
  • Securing packet transmission
  • Moving packets from input to output link (correct)
  • Compressing data for faster transfer

What distinguishes the routing function from the forwarding function in the network layer?

<p>Routing determines the route; forwarding moves packets (A)</p>
Signup and view all the answers

In the context of network layer functions, the forwarding process operates in the timescale of ______.

<p>nanoseconds</p>
Signup and view all the answers

Software-Defined Networking (SDN) implements the data plane in remote servers for route calculations.

<p>False (B)</p>
Signup and view all the answers

What is the key function of the data plane in a router?

<p>Performing per-router forwarding actions (D)</p>
Signup and view all the answers

Match the plane with its function:

<p>Data Plane = Local action, forwarding packets Control Plane = Network-wide logic, responsible for Routing</p>
Signup and view all the answers

In a router, the control plane operates on a faster timescale (nanoseconds) than the data plane (milliseconds).

<p>False (B)</p>
Signup and view all the answers

In software-defined networking (SDN), forwarding tables are installed in routers by the ______.

<p>remote controller</p>
Signup and view all the answers

Which component within a router uses header field values to lookup the output port, based on a forwarding table?

<p>Input port (A)</p>
Signup and view all the answers

In destination-based forwarding, the forwarding decision is based on a combination of the source and destination IP addresses.

<p>False (B)</p>
Signup and view all the answers

What is the maximum length of an IPv4 datagram?

<p>64K bytes</p>
Signup and view all the answers

What is the typical size of an IPv4 datagram, within bytes?

<p>1500 (B)</p>
Signup and view all the answers

The IPv4 header field used to limit the lifetime of a packet in a network, preventing it from circulating endlessly, is called ______.

<p>TTL</p>
Signup and view all the answers

The 'Type of Service' (TOS) field in the IPv4 header is used to differentiate IP packets based on the destination address.

<p>False (B)</p>
Signup and view all the answers

Which field in the IPv4 header indicates the protocol used in the data portion of the IP datagram?

<p>Protocol (C)</p>
Signup and view all the answers

What is the minimum value for the header length field in an IPv4 header, in 4-byte units?

<p>5</p>
Signup and view all the answers

If the Time to Live (TTL) field in an IPv4 packet reaches ______, the packet is discarded to prevent endless circulation.

<p>zero</p>
Signup and view all the answers

What is the purpose of the header checksum in an IPv4 packet?

<p>To detect bit errors in the received packets (C)</p>
Signup and view all the answers

In IPv4 fragmentation, routers along the path are responsible for reassembling the fragmented datagrams.

<p>False (B)</p>
Signup and view all the answers

What action does a router take if the 'Don't Fragment' (DF) bit is set in an IPv4 packet and the packet's length exceeds the MTU?

<p>The router sends an error message to the source. (B)</p>
Signup and view all the answers

In IPv4 fragmentation, the ______ field in the header is used to indicate where a fragment belongs in the original IP packet.

<p>offset</p>
Signup and view all the answers

If an IPv4 packet arrives with the 'More Fragments' (MF) flag set to 0, it indicates the packet is the first fragment of a series.

<p>False (B)</p>
Signup and view all the answers

What does the term MTU refer to?

<p>Maximum Transfer Unit (A)</p>
Signup and view all the answers

What is the bit-length of an IPv4 address?

<p>32-bit</p>
Signup and view all the answers

The representation 11001000 00010111 00010000 00000000 can be converted to dotted-decimal notation as ______.

<p>200.23.16.0</p>
Signup and view all the answers

An IP address is associated with a host, rather than a router's interface.

<p>False (B)</p>
Signup and view all the answers

What is the purpose of a subnet mask in IPv4 addressing?

<p>Dividing a network into smaller sub-networks (D)</p>
Signup and view all the answers

What is the significance of '1's in a subnet mask?

<p>Network portion</p>
Signup and view all the answers

In IPv4 addressing, the shorthand method of identifying a subnet mask by counting the number of bits set to 1 is known as ______.

<p>prefix length</p>
Signup and view all the answers

A network address is typically assigned to a specific device within the network.

<p>False (B)</p>
Signup and view all the answers

In IPv4 addressing, what is the range of IP addresses, 10.0.0.0/8, categorized as?

<p>Private IP addresses (A)</p>
Signup and view all the answers

When an IP address is described as 205.16.37.39/28, what does the /28 indicate?

<p>Prefix Length</p>
Signup and view all the answers

The last address in a block is used for broadcasting to all devices under the network, and is often known as ______ address.

<p>Broadcast</p>
Signup and view all the answers

In the context of IPv4 addresses, 'supernetting' involves dividing a single large network into smaller subnets.

<p>False (B)</p>
Signup and view all the answers

What protocol allows a host to dynamically obtain an IP address from a network server?

<p>DHCP (A)</p>
Signup and view all the answers

According to the content, which organization is in charge of managing the DNS root zone IPs?

<p>ICANN</p>
Signup and view all the answers

The process by which a network shares a single public IPv4 address is known as ______.

<p>NAT</p>
Signup and view all the answers

With NAT, the IP addresses of devices inside a local network are directly addressable and visible from outside the network.

<p>False (B)</p>
Signup and view all the answers

What does the ICMP protocol primarily facilitate?

<p>Reporting unexpected network events (C)</p>
Signup and view all the answers

What is the role of Traceroute protocol?

<p>Diagnose network routes</p>
Signup and view all the answers

The network utility that uses ICMP 'time exceeded' messages to trace the path taken by packets across an IP network is ______.

<p>traceroute</p>
Signup and view all the answers

Which protocol is used to find the Layer 2 (MAC) address of a device given its IP address?

<p>ARP (B)</p>
Signup and view all the answers

Which of the following is the primary focus of network layer services concerning the data plane?

<p>Understanding how a router operates, including forwarding and addressing. (D)</p>
Signup and view all the answers

The control plane is responsible for the end-to-end logic of how datagrams are routed among routers.

<p>True (A)</p>
Signup and view all the answers

What is the function of the data plane in a network router?

<p>forwarding packets</p>
Signup and view all the answers

In network architecture, the per-router function is known as ______.

<p>local action</p>
Signup and view all the answers

Match the following functions to their corresponding plane in network architecture:

<p>Forwarding packets at a router = Data plane Determining the path a packet takes = Control plane Local action, per-router function = Data plane Network-wide logic = Control plane</p>
Signup and view all the answers

Which of the following scenarios describes decentralized switching in a router's input port?

<p>Looking up the output port using header field values and a forwarding table in input port memory. (A)</p>
Signup and view all the answers

Destination-based forwarding makes routing decisions based on a combination of multiple header fields for enhanced routing flexibility.

<p>False (B)</p>
Signup and view all the answers

What are the two protocols listed that reside in the network layer in the Internet?

<p>IP and ICMP</p>
Signup and view all the answers

In the IPv4 datagram format, the field that indicates the remaining lifetime of a packet to prevent it from circulating indefinitely is called the ______.

<p>TTL</p>
Signup and view all the answers

Match the IPv4 header fields with their functions:

<p>TTL = Limits the lifespan of a packet in the network. Header Checksum = Detects errors in the IP header. Protocol = Indicates the next level protocol. Source IP Address = The IP address of the sender.</p>
Signup and view all the answers

What is the typical size of an IPv4 datagram?

<p>Typically 1500 bytes or less. (A)</p>
Signup and view all the answers

In IPv4 fragmentation, routers along the path are responsible for reassembling fragmented packets.

<p>False (B)</p>
Signup and view all the answers

What is the purpose of the 'flag' bits in IPv4 fragmentation?

<p>control fragmentation</p>
Signup and view all the answers

In IPv4 fragmentation, the ______ field is used to indicate where a fragment belongs within the original IP packet.

<p>offset</p>
Signup and view all the answers

Match each flag with its corresponding meaning in IPv4 fragmentation:

<p>DF bit set to 1 = Packet cannot be fragmented. MF bit set to 1 = More fragments follow this one. MF bit set to 0 = This is the last fragment.</p>
Signup and view all the answers

What address is associated with each host or router interface?

<p>IP address (A)</p>
Signup and view all the answers

A router typically has only one interface, whereas a host can have multiple interfaces.

<p>False (B)</p>
Signup and view all the answers

What is the size of an IPv4 address?

<p>32 bits</p>
Signup and view all the answers

The notation commonly used to represent IPv4 addresses, where each octet is written in decimal and separated by dots, is known as ______.

<p>dotted-decimal</p>
Signup and view all the answers

Match the description to the type of IPv4 address:

<p>Network address = First address, representing the network to the rest of the world. Broadcast address = Last address, used for broadcasting to all devices within the network. Host address = An IP address between the Network and Broadcast address.</p>
Signup and view all the answers

What is a primary function of the Dynamic Host Configuration Protocol (DHCP)?

<p>Dynamically allocating IP addresses from a server to hosts joining a network. (D)</p>
Signup and view all the answers

The network portion of an IP address is determined by the host, and the subnet is determined by the network based on location.

<p>False (B)</p>
Signup and view all the answers

What is the address scope exhaustion solution NAT intended to solve?

<p>IPv4</p>
Signup and view all the answers

The process of combining multiple contiguous network address spaces into a larger single address space, often to reduce routing table entries, is known as ______.

<p>supernetting</p>
Signup and view all the answers

Match the protocol with it's description:

<p>ICMP = Used to report something unexpected; each ICMP message is encapsulated in an IP packet ARP = A network layer (3) protocol that allows a host to obtain the hardware address (MAC Address) information used in forming a layer 2 frame DHCP = Dynamic Host Configuration Protocol, dynamically get address from a server</p>
Signup and view all the answers

Why NAT may be seen as controversial?

<p>Manipulates the port numbers. (A)</p>
Signup and view all the answers

Classfull Inter-Domain Routing has arbitrary length.

<p>False (B)</p>
Signup and view all the answers

What is the alternative and more specific term for aggregation of the routing tables?

<p>supernetting</p>
Signup and view all the answers

When it comes to IPv4 addresses there is not an infinite amount, to help with address space exhaustion ______ comes in handy.

<p>NAT</p>
Signup and view all the answers

Match the following number of hosts to their required subnet block:

<p>256 Hosts = /24 128 Hosts = /25 64 Hosts = /26 32 Hosts = /27</p>
Signup and view all the answers

What is indicated by the DF (Don't Fragment) bit in the IPv4 header?

<p>The packet should not be fragmented. (D)</p>
Signup and view all the answers

The TTL field in an IPv4 header is designed to hold a timestamp indicating when the packet was sent.

<p>False (B)</p>
Signup and view all the answers

What does ICANN manage, related to IP address?

<p>IP Addresses and DNS</p>
Signup and view all the answers

When all devices in local network share one IPv4 the outside world is concerned? ______.

<p>NAT</p>
Signup and view all the answers

Here are the IPv4 address ranges, map them to their respective subnet names:

<p>10.0.0.0/8 = Range 1 172.16.0.0/12 = Range 2 192.168.0.0/16 = Range 3</p>
Signup and view all the answers

What must one to do determine the subnet bits, on IPv4 addresses using CIDR allocation?

<p>Count bits from MSB and then convert (D)</p>
Signup and view all the answers

The ARP protocol is a transport layer protocol.

<p>False (B)</p>
Signup and view all the answers

Does ICMP perform data segmentation and reassembly? (Yes/No)

<p>no</p>
Signup and view all the answers

It is best to determine the total number of hosts available when referring to ______.

<p>internetwork</p>
Signup and view all the answers

Match each step of the ARP process with the appropriate MAC address:

<p>The request is target: , and broadcast: F = Request -&gt; ARP, Broadcast The response is to: A and from: B = Response -&gt; A, B</p>
Signup and view all the answers

In traceroute and ICMP what do you must obtain when using the round trip.

<p>Time (B)</p>
Signup and view all the answers

If the TTL is exceeded the router will give source quench back to the machine.

<p>False (B)</p>
Signup and view all the answers

What is required to use DHCP on your machine?

<p>DHCP capable machine</p>
Signup and view all the answers

By combining smaller networks you can create a larger network block, this is commonly referred to as ______.

<p>Supernetting</p>
Signup and view all the answers

Which of the following best describes the primary function of forwarding in the network layer?

<p>Moving packets from a router's input link to the appropriate output link. (A)</p>
Signup and view all the answers

The Time To Live (TTL) field in the IPv4 header is increased by each router that forwards the packet.

<p>False (B)</p>
Signup and view all the answers

Why is the header checksum recomputed by routers in IPv4?

<p>Because routers modify certain fields (like TTL) in the header. (C)</p>
Signup and view all the answers

In the context of IP addressing, a(n) _______ is a 32-bit identifier associated with each host or router interface.

<p>IP address</p>
Signup and view all the answers

What is the significance of the 'More Fragments' (MF) flag in IPv4 fragmentation?

<p>It indicates whether or not more fragments follow the current one. (C)</p>
Signup and view all the answers

Describe the main purpose of Network Address Translation (NAT).

<p>To allow multiple devices in a private network to share a single public IP address.</p>
Signup and view all the answers

Which of the following is NOT a valid private IP address range as defined by RFC 1918?

<p>192.0.0.0/24 (C)</p>
Signup and view all the answers

Supernetting involves dividing a large network into smaller subnets to improve network management.

<p>False (B)</p>
Signup and view all the answers

Match the following ICMP message types with their descriptions:

<p>Echo Request = Ask a machine if it is alive Time Exceeded = Time to live field hit 0 Destination Unreachable = Packet could not be delivered Redirect = Teach a router about geography</p>
Signup and view all the answers

Which protocol is used by a host to dynamically obtain an IP address, subnet mask, and default gateway address from a network server?

<p>DHCP (B)</p>
Signup and view all the answers

Flashcards

Forwarding

Move packets from a router's input link to the appropriate output link.

Routing

Determine the route taken by packets from source to destination.

Data Plane (Forwarding)

The local action, performed per-router, that determines how datagrams are forwarded.

Control Plane (Routing)

The network-wide logic that determines how datagrams are routed from source to destination.

Signup and view all the flashcards

Local Forwarding

A per-router function, often called switching.

Signup and view all the flashcards

Global Routing Action

Determines source-destination paths taken by packets.

Signup and view all the flashcards

Decentralized Switching

Using header field values, lookup output port using forwarding table.

Signup and view all the flashcards

Destination-Based Forwarding

Forwarding based only on destination IP address.

Signup and view all the flashcards

Generalized Forwarding

Forwarding based on any set of header field values.

Signup and view all the flashcards

IPv4 Datagram

The format of the Internet Protocol's data packet.

Signup and view all the flashcards

IPv4 Datagram: Version

4-bit field indicating the IP Protocol version.

Signup and view all the flashcards

IPv4 Datagram: Header Length

4-bit field indicating the length of the IP header.

Signup and view all the flashcards

IPv4 Datagram: Type of Service

Used to indicate how the packet should be handled.

Signup and view all the flashcards

IPv4 Datagram: Total Length

16-bit field to define the total length of the packet including header.

Signup and view all the flashcards

IPv4 Datagram: Flags

Fields used for packet fragmentation.

Signup and view all the flashcards

IPv4 Datagram: M Flag

M = 0 means the packet is the last fragment.

Signup and view all the flashcards

IPv4 Datagram: Protocol

IP protocol carrying the datagram's payload.

Signup and view all the flashcards

IPv4 Datagram: Header Checksum

Helps routers detect bit errors in received IP packets.

Signup and view all the flashcards

Fragmentation

Large IP datagrams are divided into smaller units.

Signup and view all the flashcards

Reassembly

Divided datagrams are reassembled at the destination host.

Signup and view all the flashcards

Maximum Transfer Unit (MTU)

The maximum transfer size for link-level frames.

Signup and view all the flashcards

IP Address

Part of IP Address associated with host or router.

Signup and view all the flashcards

Interface

Connection between host/router and physical link.

Signup and view all the flashcards

223.1.1.1

An address in dotted-decimal-notation.

Signup and view all the flashcards

IPv4 Address Space

IPv4 address number space possible.

Signup and view all the flashcards

Subnetting

Divides a single large network into smaller networks known as subnets

Signup and view all the flashcards

Supernetting

Combines multiple contiguous address spaces into a single larger address space.

Signup and view all the flashcards

Subnet

An IP network divided into smaller groups.

Signup and view all the flashcards

Subnet Mask

32-bit number of contiguous 1's followed by contiguous 0's.

Signup and view all the flashcards

Prefix Length

Tells you how many bits in IP address refers to network portion.

Signup and view all the flashcards

Network Address

The first address in a block, used to represent the organization to the world.

Signup and view all the flashcards

Broadcast Address

The last address in a block, used for broadcasting to all devices under the network.

Signup and view all the flashcards

Host Address

Any IP address between network and broadcast.

Signup and view all the flashcards

Hierarchy of IPv4 Addressing

Each address in a block has hierarchical structure.

Signup and view all the flashcards

DHCP

A host obtains automatically an IP address from the network.

Signup and view all the flashcards

Network address

The process of a network getting an address from ISPs.

Signup and view all the flashcards

Network Subnet Part

Allocated portion of its provider ISP.

Signup and view all the flashcards

10.0.0.0/8

Private IPv4 addresses.

Signup and view all the flashcards

172.16.0.0/12

Private IPv4 addresses.

Signup and view all the flashcards

192.168.0.0/16

Private IPv4 addresses.

Signup and view all the flashcards

NAT

Network Address Translation: shares one IPv4 address.

Signup and view all the flashcards

Internet Control Protocols

ICMP, ARP, RARP, BOOTP, and DHCP.

Signup and view all the flashcards

ICMP (Internet Control Message Protocol)

Used to report something unexpected; each ICMP message is encapsulated in an IP packet

Signup and view all the flashcards

E.g. Tracert 192.168.1.1

traceroute

Signup and view all the flashcards

ARP (Address Resolution Protocol)

Used in forming a layer 2 frame complete with destination and source MAC addressés.

Signup and view all the flashcards

Study Notes

  • These study notes focus on the key concepts of Data Plane (Chapter 4 - Part 1), including network layer services, router architecture, IPv4, addressing, CIDR, subnetting and supernetting, DHCP protocol, NAT, ICMP, ARP, and RARP.

Network Layer Goals

  • The focus is to understand the principles of network layer services, focusing on the data plane.
  • Includes network layer service models, forwarding versus routing, how a router works, and addressing.
  • Covers instantiation and implementation in the Internet, including IP protocol and NAT.

Data Plane Roadmap

  • The study notes provide an overview of the network layer, including the data plane and control plane.
  • Also highlights what is inside a router, including input ports, switching, and output ports.
  • Focuses on IP, the Internet Protocol, including IPv4 datagram format, addressing, network address translation, and IPv6.

Router Key Functions

  • Routers move datagrams from input ports to output ports along an end-to-end path and examine header fields in all IP datagrams passing through it

Two Key Network-Layer Functions

  • Forwarding involves moving packets from a router's input link to the appropriate output link, operating on a nanosecond timescale.
  • Routing determines the route taken by packets from source to destination, operating on a timescale of seconds through routing algorithms.

Data Plane vs. Control Plane

  • Data plane operates on a local, per-router function, determining how datagrams arriving on a router input port are forwarded to the output port.
  • Control plane operates network-wide with end-to-end logic, determining how datagrams are routed among routers along the end-to-end path from source to destination

Routing Implementations

  • Traditional routing algorithms are implemented in routers, involving measurements and forwarding table maintenance.
  • Software-defined networking (SDN) is implemented in remote servers to perform route calculations.

Router Architecture Overview

  • The key components include input ports, a high-speed switching fabric, output ports, and a routing processor. Software control plane (routing, management) operates on a millisecond timeframe, while hardware data plane (forwarding) operates in nanoseconds

Input Port Functions

  • Line termination, link layer protocol processing, and lookup/forwarding are performed here.
  • Decentralized switching involves using header field values to lookup output ports using a forwarding table in input port memory ("match plus action").
  • A main goal is to complete input port processing at line speed.
  • Input port queuing occurs if datagrams arrive faster than the forwarding rate into the switch fabric.

Decentralized Switching

  • Destination-based forwarding forwards packets based only on the destination IP address, which is the traditional method.
  • Generalized forwarding forwards packets based on any set of header field values for specialized situations

Internet Protocol Functions

  • Include data-gram format, addressing, and packet handling conventions.
  • ICMP protocol is used for error reporting and router "signaling."

IPv4 Datagram Format

  • Includes a 32-bit length, with fields for version, header length, type of service, and length.
  • Also includes 16-bit identifier, flags for fragmentation, fragment offset, time to live, and upper-layer protocol.
  • IP Addresses include source and destination, with options and payload data.

IPv4 Addressing

  • A 32-bit identifier associated with each host or router interface, with routers typically having multiple interfaces.
  • IP Addresses are associated with each interface (NIC).

IPv4 Addresses

  • The address space is 2^32 (4,294,967,296), with notation in binary or dotted-decimal format.
  • The format features a hierarchical structure with network and host portions.

IPv4 Address Structure

  • It needs a 32-bit logical address to communicate, with a network portion on the left and a host portion on the right
  • All devices on the same network have the same bit pattern for the network portion (network ID) but different host portion (host ID).

Subnet Mask

  • Subnet Mask is a 32-bit number of contiguous 1's followed by contiguous 0's that helps find the network ID and host ID
  • The 1s in the subnet mask identify the network portion, while the 0s identify the host portion.

IPv4 Prefix Length

  • It is shorthand for identifying a subnet mask, representing the number of bits set to 1 in the subnet mask.
  • Common notations include /8, /16, and /24, indicating how many bits in the IP address refer to the network portion.

IP Address Types

  • The first address in a block is used as the network address and not assigned to any device
  • Last address is used for broadcasting to all devices.
  • All IP address between the network and broadcast addresses are assigned to hosts within the network.

Hierarchy of IPv4 Addressing

  • Each address in the block can be considered as a two-level hierarchical structure
  • n leftmost bits (prefix) defining the network, 32-n rightmost bits defining the host.

IPv4 Address Space

  • IPv4 address space can be used for subnetting (dividing a large network into smaller subnets, using a flexible network mask) and supernetting (combining multiple contiguous address spaces into a larger single address space).

Subnetting

  • Involves dividing an IP network into smaller groups (subnets), with each group having its own subnet IP address and using subnet addresses and masks.

Classless Inter-Domain Routing (CIDR)

  • Classless Inter-Domain Routing includes assigning a subnet address.
  • It represents subnet portion of an arbitrary length, with an address format of a.b.c.d/x.

VLSM

  • VLSM - Variable Length Subnet Masking Subnetting divides networks into smaller right sizes to conserve IP addresses utilizing address blocks and flexible subnet masks.

DHCP Protocol Message Exchange

  • DHCP discover broadcasts done by host
  • DHCP server responds with DHCP offer
  • Then host requests IP address in a DHCP request msg
  • Finally the DHCP server sends address through a DHCP ack msg

NAT - Network Address Translation

  • All devices in local network share just one IPv4 address as far as outside world is concerned.
  • Advantages include conserving IP addresses and the ability to change ISP without readdressing the local network.

ICMP - Internet Control Message Protocol

  • Used to report something unexpected, and encapsulated into an IP packet for delivery.
  • Includes Destination Unreachable, Time Exceeded, and Echo Request/Reply Messages
  • Traceroute uses ICMP Time Exceeded messages to map network paths.

ARP and RARP Protocols

  • ARP is a network layer (3) protocol that allows a host to obtain the hardware address (MAC Address) to fill an Ethernet frame to send on the local LAN
  • RARP (Reverse Address Resolution Protocol) finds the IP addressing by broadcasting out on the LAN to access a table that contains all IPs and MAC addresses

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Chapter 4 Part 1 PPT

More Like This

Use Quizgecko on...
Browser
Browser