Podcast
Questions and Answers
What are the primary functions of a routing algorithm in a datagram network?
What are the primary functions of a routing algorithm in a datagram network?
- To perform packet filtering based on size
- To establish a dedicated connection for each transmission
- To determine the best output link for data packets (correct)
- To guarantee delivery within a fixed time period
What is the main advantage of using longest prefix matching in a forwarding table?
What is the main advantage of using longest prefix matching in a forwarding table?
- It prioritizes data packets with the shortest address
- It simplifies the routing process by eliminating the need for aggregate tables
- It supports fixed data packet sizes for routing decisions
- It allows for more efficient use of address ranges (correct)
In a datagram forwarding table, what happens if the destination address does not fit any specific ranges?
In a datagram forwarding table, what happens if the destination address does not fit any specific ranges?
- The packet is dropped immediately
- The packet is held until a matching range is found
- The packet is sent to the first link interface
- The packet is forwarded using the 'otherwise' entry (correct)
What type of service does a datagram network provide at the network layer?
What type of service does a datagram network provide at the network layer?
Which routing algorithm is characterized by the maintenance of state information for each passing connection?
Which routing algorithm is characterized by the maintenance of state information for each passing connection?
What does the abbreviation VC identify in the context of virtual circuits?
What does the abbreviation VC identify in the context of virtual circuits?
Which of the following best describes the call setup process in a virtual circuit network?
Which of the following best describes the call setup process in a virtual circuit network?
What is the primary characteristic of ATM's Constant Bit Rate (CBR) service?
What is the primary characteristic of ATM's Constant Bit Rate (CBR) service?
What distinguishes a virtual-circuit network from a datagram network?
What distinguishes a virtual-circuit network from a datagram network?
What is the main function of switching fabrics in a router?
What is the main function of switching fabrics in a router?
Which routing algorithm is not listed as a key protocol for routers?
Which routing algorithm is not listed as a key protocol for routers?
How does switching via a bus operate in routers?
How does switching via a bus operate in routers?
What is the purpose of queueing in the context of router input ports?
What is the purpose of queueing in the context of router input ports?
Which of the following is NOT a type of switching fabric?
Which of the following is NOT a type of switching fabric?
What technique can advanced routers use to overcome bandwidth limitations of buses?
What technique can advanced routers use to overcome bandwidth limitations of buses?
What information does a packet belonging to a virtual circuit (VC) carry?
What information does a packet belonging to a virtual circuit (VC) carry?
In a VC forwarding table, what does the 'Incoming VC #' represent?
In a VC forwarding table, what does the 'Incoming VC #' represent?
Which of the following protocols is NOT typically associated with virtual circuits?
Which of the following protocols is NOT typically associated with virtual circuits?
What is the role of forwarding tables in VC routers?
What is the role of forwarding tables in VC routers?
What characterizes a datagram network as opposed to a virtual circuit network?
What characterizes a datagram network as opposed to a virtual circuit network?
What is the purpose of signaling protocols in virtual circuits?
What is the purpose of signaling protocols in virtual circuits?
What does a VC number correspond to when it changes on each link?
What does a VC number correspond to when it changes on each link?
Which layer initiates a call in a virtual circuit setup?
Which layer initiates a call in a virtual circuit setup?
In a virtual circuit scenario, what aspect does a router NOT maintain?
In a virtual circuit scenario, what aspect does a router NOT maintain?
Which of the following best describes the state of routers in a datagram network?
Which of the following best describes the state of routers in a datagram network?
Flashcards
Connectionless Service
Connectionless Service
Network service where data packets are routed independently without prior setup of a connection.
Connection Service
Connection Service
Network service that establishes a virtual circuit (predefined path) between sender and receiver before data transmission.
Virtual Circuit (VC)
Virtual Circuit (VC)
A pre-established path between two points in a network, akin to a dedicated telephone line.
Congestion Control
Congestion Control
Signup and view all the flashcards
Bandwidth Loss
Bandwidth Loss
Signup and view all the flashcards
Routing Algorithms
Routing Algorithms
Signup and view all the flashcards
Internet Protocol (IP)
Internet Protocol (IP)
Signup and view all the flashcards
Datagram Network
Datagram Network
Signup and view all the flashcards
Router Function
Router Function
Signup and view all the flashcards
Switching Fabric
Switching Fabric
Signup and view all the flashcards
Input Port Function
Input Port Function
Signup and view all the flashcards
Routing Algorithm
Routing Algorithm
Signup and view all the flashcards
Link State
Link State
Signup and view all the flashcards
Distance Vector
Distance Vector
Signup and view all the flashcards
Hierarchical Routing
Hierarchical Routing
Signup and view all the flashcards
Switching via Memory
Switching via Memory
Signup and view all the flashcards
Switching via Bus
Switching via Bus
Signup and view all the flashcards
Switching via Interconnection Network
Switching via Interconnection Network
Signup and view all the flashcards
VC Number
VC Number
Signup and view all the flashcards
Forwarding Table
Forwarding Table
Signup and view all the flashcards
VC in Packet
VC in Packet
Signup and view all the flashcards
VC Number Change
VC Number Change
Signup and view all the flashcards
Connection State Info
Connection State Info
Signup and view all the flashcards
Signaling Protocols
Signaling Protocols
Signup and view all the flashcards
Datagram Network
Datagram Network
Signup and view all the flashcards
No Call Setup (Datagram)
No Call Setup (Datagram)
Signup and view all the flashcards
Destination Address (Datagram)
Destination Address (Datagram)
Signup and view all the flashcards
No Connection State (Datagram)
No Connection State (Datagram)
Signup and view all the flashcards
Datagram Forwarding Table
Datagram Forwarding Table
Signup and view all the flashcards
Longest Prefix Matching
Longest Prefix Matching
Signup and view all the flashcards
IP Destination Address
IP Destination Address
Signup and view all the flashcards
Address-Range
Address-Range
Signup and view all the flashcards
Datagram Network
Datagram Network
Signup and view all the flashcards
Study Notes
Chapter 4: Network Layer
-
PPT Slide Use: PowerPoint slides are freely available for faculty, students, and readers. Slides can be modified, adapted, and used, but slides used should give credit to the creators of the slides and the copyright owner.
-
Chapter Goals: Understand principles behind network layer services, including: networking layer models, services for individual datagrams (forwarding versus routing , how routers work, routing (path selection), broadcast/multicast, instantiation, and implementation in the Internet).
-
Chapter 4 Outline:
- Introduction covering virtual circuit vs. datagram operation
- In-depth look at IP (Internet Protocol): Datagram format, IPv4 Addressing, ICMP, IPv6
- Routing algorithms: Link state, distance vector, & hierarchical routing
- Internet routing: RIP, OSPF, & BGP
- Broadcast and multicast routing
-
Network Layer: Transport segments are transferred from sending host to the receiving host on sending side. Encapsulates segments into datagrams, and on the receiving side, it delivers segments to the transport layer. Network layer protocols are in every host and router. Routers examine header fields in IP datagrams as they pass through.
-
Two Key Network Layer Functions:
- Forwarding: Moving packets from a router's input to the appropriate output, which is the process of getting through a single interchange.
- Routing: Determining the routes taken by packets from source to destination using algorithms.
-
Interplay of Routing and Forwarding: Routing algorithms determine end-to-end path through a network. Forwarding tables determine local forwarding at each router based on the value in the arriving packet's header.
-
Connection Setup: A third important function in some network architecture (ATM, frame relay, X.25). Before datagrams flow, end hosts and intervening routers establish virtual connections.
-
Network Service Model: The question of a service model regarding "channel" transmission of datagrams from sender to receiver. This section highlights specific services regarding individual and flow datagrams, such as guaranteed delivery and delivery with specific delay requirements. Other options may also include things like in-order datagram delivery, guaranteed bandwidth, and restrictions on spacing.
-
Network Layer Service Models: Different network architectures and service models (e.g. Internet, ATM) offer various guarantees regarding bandwidth, loss, the ordering of datagrams, timing, and congestion handling.
-
Virtual Circuits: Virtual circuits are analogous to telephone circuits, ensuring performance and actions along a source-to-destination path through call setup and teardown. Each packet carries a VC identifier. Each router along the source-destination path maintains state for the connection. Resources like bandwidth and buffers may be allocated to VCs for predictable service. Virtual circuits are implemented with path from source to destination along with VC numbers for each link path. Entries exist in forwarding tables in routers. The VC number is used instead of destination address on certain links. Signaling protocols are used for setup, maintenance, and teardown of virtual circuits (used in examples including ATM, frame relay, X.25.)
-
Datagram Networks: Datagram networks establish no call setup at the network layer, and have no state regarding end-to-end connections. Packets are forwarded using destination host addresses.
-
Datagram Forwarding Table: Each router has a forwarding table with destination addresses and the appropriate output link. The table is based on a routing algorithm. Aggregation of ranges of addresses is possible to improve routing efficiency.
-
Longest Prefix Matching: In forwarding tables, the longest matching address prefix is used.
-
Datagram vs. Virtual Circuit Networks: Datagram networks are more flexible and adaptable, while virtual circuits offer assured services with strict timing requirements.
-
Router Architecture Overview: Two key functions include running routing algorithms (like RIP, OSPF, BGP) and forwarding datagrams, where tables are computed and pushed to input ports. This also involves a routing processor, a switching fabric, and input and output ports.
-
Input Port Functions: Includes line termination, link layer receiving, data link layer (e.g., Ethernet) handling, and decentralized switching. Using lookup tables, forwarding actions are taken. Speed is a critical component.
-
Switching Fabrics: Transfer packets from input to output buffers, with switching rate measured in relation to input and output line rates. Three types of switching fabrics include memory, bus, and crossbar.
-
Switching via Memory, Bus, Interconnection Network: Different switching techniques for routers. Memory-based switching is slower than other techniques. Bus-based can have contention issues, and interconnection networks can overcome these limitations.
-
Output Ports: Buffering is required at output ports due to the need for scheduling and the potential for datagram loss if the fabric rate is faster than the port's rate. Scheduling prioritization also happens here.
-
How Much Buffering? Buffering requirements are often related to round-trip time and link capacity.
-
Input Port Queueing: If the rate of input packets exceeds the input queue processing capacity, it may create delays and losses. Head-of-line is a particular concern.
-
ICMP (Internet Control Message Protocol): ICMP is used by hosts and routers to communicate network-level information, notably including error reporting, unreachable hosts/networks/ports/protocols, echo requests/replies (used in ping), network-layer “above” IP messages (e.g., congestion control and various other cases.) An ICMP message has a type code, indicating the message type and status, plus 8 bytes related to the packet in question.
-
IP Addressing: Introduction, Subnets, CIDR Overview and concepts of IP addressing. Addressing and connections (host, router) to link. Subnets are related to the physical connectivity in routing (devices in same subnet part of IP address can communicate). CIDR uses arbitrary subnet portion lengths. Subnet portions determine whether two or more devices are in the same subnet. A subnet is determined by detaching each interface, creating segmented networks.
-
IP Addresses: How to Get One? Techniques for hosts to acquire IP addresses include being hard-coded by a system administrator, using static addresses, and employing DHCP.
-
DHCP (Dynamic Host Configuration Protocol): DHCP automates IP address assignment, allowing hosts to dynamically obtain IP addresses from a network server when joining. This provides reusable addresses and eases mobility support. Host broadcasts message request, and server responds with address.
-
NAT (Network Address Translation.) NAT allows a local network to use a single IP address globally , without requiring the ISP to assign every device a global IP address. Local networks can reconfigure/change ISP without needing to notify the rest of the network of IP address changes within the local subnet. Local network devices are not addressable or visible by the rest of (the outside) the network, which often provides security benefits. Translation involves replacing source addresses with NAT IP address/port. NAT routers track source-destination address/port pairs in the translation table. NAT routers replace source IP and port and create a unique NAT IP address for each outbound connection. They also do this for inbound connections, changing their original destinations back to the local addresses/ports.
-
NAT Traversal Problem: Clients may have trouble connecting to servers if addresses aren't compatible.
-
Other changes from IPv4 (in IPv6.) Addresses, check sums are eliminated, and changes are made to ICMP (e.g., new message types like "Packet Too Big"). Multicast support is improved.
-
IPv6 (Internet Protocol Version 6) Offers a 128-bit address space to address allocation issues. Specific header changes (for example priority and flow label) affect processing efficiency.
-
Transition from IPv4 to IPv6 (Tunneling): A method to facilitate the use of IPv4 based infrastructure when introducing IPv6 as the network standard. This includes encapsulation of IPv6 datagrams within IPv4 datagrams as payloads to transfer among different machines.
-
IPv6 Adoption: The transition to IPv6 is slow, with estimates for industry adoption in routers being at ~3%-11% in 2013. The delay of widespread implementation is often attributed to the application level changes required in existing systems (e.g., WWW, Facebook).
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.