ECE 4436A Networking: Control Plane Principles
16 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What are the two main approaches to structuring a network control plane?

  • Per-router control and logically centralized control (correct)
  • Centralized routing and distributed routing
  • Packet forwarding and data routing
  • None of the above

Which routing protocol is a classic example of a link-state routing algorithm?

  • BGP
  • EIGRP
  • RIP
  • OSPF (correct)

Which protocol is used to advertise subnet reachability information among neighboring ASes?

  • RIP
  • eBGP (correct)
  • OSPF
  • iBGP

Dijkstra's algorithm is a decentralized approach to routing.

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

The Bellman-Ford equation uses a dynamic programming approach to calculate the least-cost path.

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

Which of the following statements is not true about SDN control plane?

<p>It is implemented in proprietary router OSes. (B)</p> Signup and view all the answers

What is the primary function of an SDN controller?

<p>All of the above (D)</p> Signup and view all the answers

Which of the following protocols is not directly involved in the operation of SDN?

<p>RIP (A), OSPF (C), BGP (D)</p> Signup and view all the answers

SDN uses a logically decentralized control plane.

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

The Internet Control Message Protocol (ICMP) operates above the network layer in the TCP/IP model.

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

Which of the following is not a key feature of the OpenFlow protocol?

<p>It uses UDP for message exchange. (A)</p> Signup and view all the answers

What is the main advantage of using OSPF over RIP?

<p>OSPF provides a more scalable and secure routing solution compared to RIP. It uses link-state routing, which is more efficient for large networks, and provides authentication of messages to prevent malicious attacks.</p> Signup and view all the answers

What is the purpose of the import policy in BGP?

<p>The import policy in BGP controls which routes are accepted by a gateway router. It allows an AS (Autonomous System) to selectively accept or reject paths based on factors like the AS path, network prefixes, and other policy considerations.</p> Signup and view all the answers

Explain why, when dealing with a network topology of interconnected ASes, using distinct routing protocols for intra-AS and inter-AS routing makes sense.

<p>Using distinct routing protocols for intra-AS and inter-AS routing allows for better control over the network traffic. The intra-AS routing focuses on efficient routing within an AS, while inter-AS routing enables a higher level of control over the overall topology by allowing individual ASes to manage their own traffic flow.</p> Signup and view all the answers

Why is the logically centralized control plane of SDN considered an advancement over the traditionally distributed approach?

<p>SDN's logically centralized control plane offers several advantages over distributed control. It simplifies network management by allowing centralized configuration, provides greater flexibility in controlling traffic flows, and encourages innovation through its open and non-proprietary nature. This makes it more suitable for modern network needs involving complex traffic patterns.</p> Signup and view all the answers

What are the main challenges in hardening the control plane in SDN?

<p>Hardening the control plane in SDN is crucial for its reliability and security. Key challenges include ensuring robustness to failures, designing for dependability and security from the ground up, and implementing a scalable and fault-tolerant architecture capable of handling distributed control and large-scale networks.</p> Signup and view all the answers

Flashcards

Forwarding

The process of moving packets from the router's input to the appropriate router output.

Routing

The process of determining the route taken by packets from source to destination.

Per-router control plane

A network control plane approach where each router individually interacts in the control plane.

Software-Defined Networking (SDN) control plane

A network control plane approach with a remote controller that computes and installs forwarding tables in routers.

Signup and view all the flashcards

Link-State Routing

A type of routing algorithm that uses global information, where all routers have complete network topology and link cost information.

Signup and view all the flashcards

Distance Vector Routing

A type of routing algorithm that uses decentralized information, where each router only knows the link costs to its attached neighbors.

Signup and view all the flashcards

Dijkstra's Link-State Routing Algorithm

A routing protocol that uses a centralized approach, with all nodes knowing the network topology and link costs, and using link-state broadcasts to share this information.

Signup and view all the flashcards

Bellman-Ford Equation

A dynamic programming approach to distance vector routing, based on finding the minimum cost path through neighboring routers and destinations.

Signup and view all the flashcards

Distance Vector Routing Algorithm

A type of routing algorithm that uses iterative, asynchronous computations, responding to local link cost changes or messages from neighbors.

Signup and view all the flashcards

AS Aggregation

The process of dividing routers into regions called autonomous systems (ASs) to enhance routing scalability.

Signup and view all the flashcards

Intra-AS Routing

Routing among routers within the same autonomous system.

Signup and view all the flashcards

Inter-AS Routing

Routing among routers in different autonomous systems.

Signup and view all the flashcards

Gateway Router

A router that sits at the edge of its own autonomous system, connecting to routers in other systems.

Signup and view all the flashcards

OSPF (Open Shortest Path First)

A common intra-AS routing protocol that utilizes link-state broadcasts, multiple cost metrics, and authentication.

Signup and view all the flashcards

Hierarchical OSPF

A hierarchical approach to OSPF where routers have detailed topology within their area, but only know how to reach destinations in other areas through backbone routers.

Signup and view all the flashcards

BGP (Border Gateway Protocol)

The de facto standard inter-domain routing protocol that allows subnets to advertise their reachability to the rest of the Internet.

Signup and view all the flashcards

eBGP (External BGP)

BGP connections between routers in different autonomous systems.

Signup and view all the flashcards

iBGP (Internal BGP)

BGP connections between routers within the same autonomous system.

Signup and view all the flashcards

BGP Session

A semi-permanent TCP connection between two BGP routers where they exchange BGP messages, advertising paths to different network prefixes.

Signup and view all the flashcards

BGP Advertised Route

A route advertisement that includes the destination prefix and attributes like the AS-PATH, indicating the ASes the advertisement has traversed, and the NEXT-HOP, specifying the next-hop router within the receiving AS.

Signup and view all the flashcards

Policy-Based Routing (BGP)

Routing decisions that are based on policy rules to accept or decline paths, influencing which routes are advertised to other ASes.

Signup and view all the flashcards

OPEN (BGP message)

A class of BGP messages that open a TCP connection to a remote BGP peer and authenticate the sending BGP peer.

Signup and view all the flashcards

UPDATE (BGP message)

A class of BGP messages that advertise new paths or withdraw old ones, updating routing information.

Signup and view all the flashcards

KEEPALIVE (BGP message)

A class of BGP messages that keep the connection alive in the absence of UPDATE messages and ACKs.

Signup and view all the flashcards

NOTIFICATION (BGP message)

A class of BGP messages that report errors in previous messages and close the connection.

Signup and view all the flashcards

Software Defined Networking (SDN)

A concept that reimagines network control by separating the control plane from the data plane, enabling centralized control and programmability.

Signup and view all the flashcards

Northbound API (SDN)

An API that allows network control applications to communicate with SDN controllers, defining the controllable aspects of the network.

Signup and view all the flashcards

Southbound API (SDN)

An API that defines how SDN controllers interact with and control network switches.

Signup and view all the flashcards

OpenFlow Protocol

A protocol for communication between an SDN controller and switches, enabling centralized control and flow-based forwarding.

Signup and view all the flashcards

Features (OpenFlow message)

A class of OpenFlow messages that allow the controller to query switch features.

Signup and view all the flashcards

Configure (OpenFlow message)

A class of OpenFlow messages that allow the controller to configure switch settings.

Signup and view all the flashcards

Study Notes

ECE 4436A NETWORKING: PRINCIPLES, PROTOCOLS, AND ARCHITECTURES

  • Course offered by Dr. Fang (Fiona) Fang, Department of Electrical and Computer Engineering, University of Western Ontario
  • Some slides adapted from Kurose and Ross notes. Copyright held by authors and publishers.

Network Layer Control Plane: Goals

  • Understand principles behind network control plane
  • Includes traditional routing algorithms, SDN controllers, network management and configuration
  • Internet instantiation and implementation: OSPF, BGP, OpenFlow, ODL, ONOS controllers, ICMP (Internet Control Message Protocol), SNMP, YANG/NETCONF

Network Layer: "Control Plane" Roadmap

  • Introduction to routing protocols
  • Link state and distance vector protocols
  • Intra-ISP routing (OSPF)
  • Routing among ISPs (BGP)
  • SDN control plane
  • Internet Control Message Protocol (ICMP)
  • Network management and configuration (SNMP, NETCONF/YANG)

Network-layer Functions

  • Forwarding: moving packets from router input to appropriate router output (data plane)
  • Routing: determining the route taken by packets from source to destination (control plane)
  • Two approaches to structuring network control plane:
    • Per-router control (traditional)
    • Logically centralized control (software-defined networking)

Per-router Control Plane

  • Individual routing algorithm components in each router interact in the control plane.
  • Local forwarding tables in each router handle packet forwarding.
  • Values in arriving packet headers determine next-hop forwarding.

Software-Defined Networking (SDN) Control Plane

  • Remote controller computes and installs forwarding tables in routers.
  • Centralized control for network forwarding.
  • Controller installs forwarding tables in routers based on incoming packet header values.

Routing Protocols

  • Determine "good" paths (routes) from sending host to receiving host.
  • Path is the sequence of routers packets traverse.
  • "good" can be least "cost", "fastest", or "least congestioned"
  • Routing is a significant networking challenge.
  • Graph model G = (N, E) where:
    • N: set of routers ({u, v, w, x, y, z})
    • E: set of links (e.g., (u, v), (u, x), (v, x), ...)
  • C_ab: cost of a direct link connecting a and b. Cost can be defined based on network operator rules, bandwidth, or congestion.

Routing Algorithm Classification

  • Static routing: routes change slowly over time.
  • Dynamic routing: routes change more quickly.
    • Decentralized: an iterative process of computation and information exchange with neighbors. Routers initially have knowledge of costs to neighbors. Distance vector algorithms.
      • Global or decentralized information (complete knowledge of network topology)
  • Centralized approach: network topology and link costs known to all nodes. Achieved through "link state broadcast."
  • Computes least-cost paths from a source node to all other nodes, creating a forwarding table for that node.
  • Iterative: after each iteration, more destinations can be found with least possible cost/path.

Dijkstra's Algorithm: Another Example

  • Iterative computations finding minimum costs from a node.

Dijkstra's Algorithm: Discussion

  • Algorithm complexity: O(n^2), where n is the number of nodes.
  • More efficient implementations possible: O(n log n).
  • Message complexity: O(n^2).

Distance Vector Algorithm

  • Based on Bellman-Ford (BF) equation.
  • Let D_x(y) be the cost of the least-cost path from router x to router y. D_x(y) = min_v{C_(x, v) + D_v(y)}
  • Each node sends its distance vector estimates to neighbors periodically.
  • When a node receives a new distance vector from a neighbor, it updates its own distance vector using the formula above.

Distance Vector Algorithm: Key Idea

  • Each node sends its own distance vector to its neighbors periodically.
  • Nodes update their distance vectors when new distance vectors are received from a neighbor.
  • Distance estimates converge to the actual least cost under suitable conditions.

Distance Vector Algorithm: Iterative, Asynchronous

  • Updates caused by local link cost changes and DV update messages from neighbors.
  • Distributed and self-stopping. Nodes notify their neighbors only if their DV changes.

Distance Vector: Example

  • Illustrative example of node distance vector updates.

Distance Vector Algorithm: Iteration

  • Illustration of iterative distance vector computations over time.

Distance Vector Example: Iteration

  • Steps of iteration, highlighting node calculations and message exchanges to neighbors.
  • Node detecting local link-cost change and notifying neighbors when DV changes.
  • Count-to-infinity problem in distance-vector algorithms. Illustration, involving potential paths with successively calculated and increased costs from one node to another over iterations.

Comparison of LS and DV Algorithms

  • Message complexity: LS (O(n^2)) vs. DV (variable).
  • Convergence time: LS (O(n^2)) vs. DV (variable).
  • Robustness: LS (less susceptible to errors) vs. DV (more susceptible to errors).

Network Layer: "Control Plane" Roadmap

  • Introduction, routing protocols (intra-ISP routing: OSPF; routing among ISPs: BGP), SDN control plane, Internet Control Message Protocol (ICMP), network management, configuration (SNMP, NETCONF/YANG).

Making Routing Scalable

  • Idealized routing (all routers identical; network "flat") may not be true in practice.
  • Routing tables could be huge (billions of destinations).
  • Routing table exchange could swamp links.
  • Administrative autonomy: Each network admin wants control over how traffic is routed.

Internet Approach to Scalable Routing

  • Aggregate routers into "autonomous systems" (ASs).
  • Intra-AS routing happens within an AS.
  • All routers in an AS generally run the same intra-domain routing protocol.
  • Gateway routers act as the "edge" of an AS and link to other ASes.
  • Inter-AS routing: routing between ASes.

Interconnected ASes

  • Intra-AS and inter-AS routing: Determine entries in a forwarding table for intra-AS destinations.
  • Inter-AS and intra-AS routing: Determine entries in the forwarding table for external destinations.

Inter-AS Routing: A Role in Intradomain Forwarding

  • If a router in AS1 receives traffic destined outside of AS1, which gateway router should it use to forward the packet?

Inter-AS Routing: Routing within an AS

  • Routing protocols common in intra-AS domains, like RIP, EIGRP, and OSPF.

OSPF (Open Shortest Path First) Routing

  • Open standard link-state routing protocol.

Hierarchical OSPF

  • Two-level hierarchy (local area, backbone).
  • Link-state advertisements (flooded) in the area.
  • Nodes in a given area have detailed area topologies and know direction to other destinations.

Internet Inter-AS Routing: BGP

  • De facto inter-domain routing protocol. BGP is a "path vector" protocol.
  • Allows subnets to advertise their existence and destinations to others.
  • BGP provides a means for each AS to:
    • Obtain subnet reachability information from neighbors.
    • Propagate to AS-internal routers.
    • Determine desired routes to other networks.

eBGP, iBGP Connections

  • eBGP: BGP connectivity between gateway routers of different ASes.
  • iBGP: BGP connectivity between gateway routers within the same AS.

BGP Basics

  • Routing among peers via semi-permanent TCP connections.
  • Messages (OPEN, UPDATE, KEEPALIVE, NOTIFICATION) used by peers.

Path Attributes and BGP Routes

  • Routing prefix + attributes (like AS Path, NEXT-HOP).
  • Policy-based routing for gateways, determines appropriate routes through other ASes.

BGP Path Advertisement

  • AS router advertises paths to other ASes.
  • Based on policy and reachability.

BGP Messages

  • Exchange messages between peers over TCP connections.
  • Common BGP messages: OPEN, UPDATE, KEEPALIVE, NOTIFICATION

ICMP: Internet Control Message Protocol

  • Used by hosts and routers for network-level information and error reporting.
  • Supports network-layer functions "above" IP address layer. ICMP messages include a type, code and data of the message, along with 8 bytes from the initial IP datagram with the error.
  • Components of an ICMP message, types of errors handled by ICMP.

Traceroute and ICMP

  • Traceroute uses ICMP to determine network paths.
  • Uses Time-to-Live (TTL) values in IP packets.
  • Stopping criteria involve arrival/non-arrival of ICMP messages, providing RTT measurements.

SDN: Selected Challenges

  • Hardening the control plane (dependability, reliability, performance, scalability, security).
  • Network and protocol requirements (e.g., real-time, ultra-reliable, ultra-secure).
  • Internet-scaling (beyond a single AS).
  • Applications in 5G cellular networks.

SDN and the Future of Traditional Network Protocols

  • SDN-computed vs. router-computed forwarding tables.
  • Potential for SDN-computed congestion control.

Software-Defined Networking (SDN)

  • Historically, network layers have used a distributed, per-router control approach.
  • More recent "softwarization" efforts with SDN offer enhanced control plane that includes centralized control.
  • SDN's central control plane uses a network OS which oversees the network.

Studying That Suits You

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

Quiz Team

Description

Explore the fundamental principles of the network control plane in this quiz. Focused on traditional routing algorithms and protocols like OSPF and BGP, the quiz also covers SDN controllers, network management tools, and key internet protocols. Test your understanding of concepts essential for effective network communication.

More Like This

Network Control Plane Functions Quiz
17 questions
Chapter 5
101 questions

Chapter 5

LuxuriantMaracas avatar
LuxuriantMaracas
Computer Networks Control Plane Quiz
40 questions
Use Quizgecko on...
Browser
Browser