SDN and Networking Concepts Quiz
48 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 is the primary focus of routing within a single Autonomous System (AS)?

  • Quality of the routes used
  • Policy orientation of routing
  • Routing complexity
  • Performance realized on the route (correct)

What is required to assign an IP address to a web server?

  • Using an existing DNS server
  • Obtaining a range from a local ISP (correct)
  • Connecting to a global ISP
  • Contracting with a domain name registrar

Which protocol does a local ISP use to advertise a /24 prefix to other ISPs?

  • OSPF
  • BGP (correct)
  • RIP
  • EIGRP

Which characteristic of an SDN architecture involves separating decisions about network control from the data forwarding?

<p>Decoupling of data and control plane (C)</p> Signup and view all the answers

What does OpenFlow allow in the context of SDN?

<p>Flow-based forwarding based on header field values (A)</p> Signup and view all the answers

What does the term 'unbundling' in SDN refer to?

<p>Separation of data plane switches, SDN controllers, and applications (C)</p> Signup and view all the answers

Which component of an SDN architecture is responsible for monitoring and controlling network devices?

<p>SDN controller (D)</p> Signup and view all the answers

For what purpose do network-control applications in an SDN serve?

<p>Programming and controlling the network (C)</p> Signup and view all the answers

What is the primary factor used to select routes when multiple options share the highest local preference value?

<p>Shortest AS-PATH (C)</p> Signup and view all the answers

In the route selection algorithm, after local preference and AS-PATH, what criteria does BGP use next?

<p>Hot potato routing (C)</p> Signup and view all the answers

Why might CDNs choose not to use IP-anycast?

<p>BGP routing changes can disrupt TCP connections. (A)</p> Signup and view all the answers

What happens when a BGP router receives multiple advertisements for the same IP address?

<p>It treats them as different paths to one location. (C)</p> Signup and view all the answers

What is the role of the local-preference attribute in route selection?

<p>It defines the policy of the local AS for route preference. (C)</p> Signup and view all the answers

Which statement is true regarding BGP’s route-selection process?

<p>BGP prioritizes routes with the highest local preference first. (D)</p> Signup and view all the answers

What is a consequence of using IP-anycast for DNS queries?

<p>Different packets may reach different server instances. (C)</p> Signup and view all the answers

What is the first step in BGP's route selection algorithm?

<p>Assigning a local preference value to routes. (D)</p> Signup and view all the answers

What happens if a router detects its own AS in the AS-PATH?

<p>It rejects the route advertisement. (C)</p> Signup and view all the answers

Which IP address is considered the NEXT-HOP for the route 'AS2 AS3 x' from AS1?

<p>The IP address of the left interface on router 2a. (A)</p> Signup and view all the answers

What is the primary goal of hot-potato routing?

<p>Quickly forward packets out of the AS. (C)</p> Signup and view all the answers

How is cost defined for selecting the route to a NEXT-HOP router?

<p>By the number of links traversed. (B)</p> Signup and view all the answers

When adding an outside-AS prefix to a forwarding table, which protocols are utilized?

<p>BGP and OSPF. (D)</p> Signup and view all the answers

What determines the decision for a router like 1b when selecting the least-cost path to the NEXT-HOP?

<p>The number of links traversed. (C)</p> Signup and view all the answers

If multiple routes to the same prefix exist, what is the first action BGP takes?

<p>Selects the route with the lowest cost. (C)</p> Signup and view all the answers

What might cause two routers within the same AS to choose different AS paths to the same prefix?

<p>Different costs to each NEXT-HOP. (C)</p> Signup and view all the answers

What is the primary purpose of the Border Gateway Protocol (BGP)?

<p>To route packets across multiple Autonomous Systems (ASs). (D)</p> Signup and view all the answers

How does BGP determine the 'best' route?

<p>Based on reachability information and policy decisions. (D)</p> Signup and view all the answers

What type of routing protocol is BGP classified as?

<p>Distance-vector protocol. (D)</p> Signup and view all the answers

What does a router’s forwarding table contain in BGP?

<p>Records in the form (prefix, interface number). (B)</p> Signup and view all the answers

Which type of router connects to external ASs in BGP?

<p>Gateway router. (B)</p> Signup and view all the answers

What is meant by CIDRized prefixes in BGP?

<p>A representation of subnets or collections of subnets. (B)</p> Signup and view all the answers

Which statement about BGP routing tables is true?

<p>They often contain over half a million routes. (C)</p> Signup and view all the answers

How does BGP facilitate packet routing between ASs?

<p>It advertises subnet existence to neighboring ASs. (A)</p> Signup and view all the answers

What describes the path that AS2 relays to AS1 regarding the subnet with prefix x?

<p>AS2 AS3 x (A)</p> Signup and view all the answers

What type of BGP connection is established between routers in different ASs?

<p>External BGP (eBGP) (B)</p> Signup and view all the answers

Which port is used for BGP connections?

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

Which statement correctly describes the role of iBGP in route propagation?

<p>iBGP connects routers in the same AS and propagates information. (A)</p> Signup and view all the answers

What are the two important attributes included in a router's advertisement of a prefix?

<p>NEXT-HOP and AS-PATH (B)</p> Signup and view all the answers

How does a router choose between multiple paths to a destination?

<p>By evaluating BGP attributes. (A)</p> Signup and view all the answers

How does gateway router 2c utilize the information received from eBGP?

<p>It forwards the message to all routers in AS2 using iBGP. (B)</p> Signup and view all the answers

Which of these statements accurately describes how routers learn about subnet x?

<p>ASs learn about subnet x through advertised paths. (D)</p> Signup and view all the answers

What is the primary function of access ISPs like W and Y?

<p>To manage traffic entering and leaving their networks (A)</p> Signup and view all the answers

What prevents X from forwarding traffic between B and C?

<p>Selective route advertisement policy (D)</p> Signup and view all the answers

Why might B hesitate to advertise the path BAW to C?

<p>To prevent C from gaining access to W without compensation (B)</p> Signup and view all the answers

What main principle governs traffic flow among ISPs according to the backbone/provider ISP policy?

<p>Traffic must originate from a source in the ISP's network (B)</p> Signup and view all the answers

Why are different routing protocols used for inter-AS and intra-AS?

<p>Intra-AS routing requires less scaling and focuses on policies (D)</p> Signup and view all the answers

Which feature of OSPF enhances its scalability?

<p>Hierarchical area division within an AS (C)</p> Signup and view all the answers

What characteristic defines a multi-homed access ISP like X?

<p>It has connections to two different backbone providers (C)</p> Signup and view all the answers

What could be a potential issue with the current lack of official standards among backbone ISPs?

<p>Difficulty in managing peering agreements (B)</p> Signup and view all the answers

Flashcards

BGP (Border Gateway Protocol)

A protocol used between Autonomous Systems (ASs) to exchange routing information and find the best paths for packets traversing multiple ASs.

BGP route information

BGP works by advertising prefixes, which represent subnets or collections of them. Routers learn if a prefix is reachable and use this information to build forwarding tables.

Gateway router

A router at the edge of an AS directly connected to routers from other ASs. It's responsible for exchanging routing information between ASs.

Internal router

A router that operates within an AS, connecting to other routers and hosts inside the same AS.

Signup and view all the flashcards

BGP route selection procedure

BGP uses this to determine the optimal route to a prefix based on policy and reachability information.

Signup and view all the flashcards

Subnet advertising

This is the process where subnets announce their presence to the rest of the Internet, informing other ASs that they're reachable.

Signup and view all the flashcards

Decentralized nature of BGP

BGP is a decentralized system, meaning each AS handles its own routing information and there is no central authority controlling the entire routing process.

Signup and view all the flashcards

Asynchronous nature of BGP

BGP is asynchronous, meaning it doesn't rely on synchronized clocks or timing, adding flexibility and robustness to the routing system.

Signup and view all the flashcards

BGP Route Advertisement: Initial Message

A BGP message is sent from an autonomous system (AS) to advertise the existence of a subnet with prefix 𝒙. The message indicates that 𝒙 is located in the sending AS. For example, AS3 might send a message stating "AS3 𝒙" to AS2.

Signup and view all the flashcards

BGP Route Advertisement: Relaying the Message

When an AS receives a BGP message about a subnet 𝒙, it adds its own AS identifier to the message before passing it to its neighboring AS. This process creates a path of ASs that leads to the subnet. For example, AS2 might receive a message from AS3 saying "AS3 𝒙" and then send it to AS1 as "AS2 AS3 𝒙" indicating the route to 𝒙 goes through AS2 and then AS3.

Signup and view all the flashcards

BGP Communication: Router-to-Router Connection

Routers, not ASs, communicate directly with each other through semi-permanent TCP connections on port 179.

Signup and view all the flashcards

External BGP (eBGP)

A BGP connection that connects routers in different ASs. It's the primary way for ASs to exchange routing information.

Signup and view all the flashcards

Internal BGP (iBGP)

A BGP connection that connects routers within the same AS. It's used to distribute routing information within an AS.

Signup and view all the flashcards

BGP Route Propagation: Full Path Distribution

A router in AS3 sends an eBGP message to a router in AS2 (e.g., "AS3 x"). The receiving router then sends an iBGP message to all other routers within AS2 (e.g., "AS3 x"). One of those routers then sends an eBGP message to a router in AS1 (e.g., "AS2 AS3 x"). Finally, the router in AS1 sends an iBGP message to all other routers within AS1 (e.g., "AS2 AS3 x").

Signup and view all the flashcards

BGP Route Attributes

BGP attributes are used to advertise routes and include information such as the AS Path and the next hop router. These attributes are crucial for routers to choose the best route for traffic.

Signup and view all the flashcards

Choosing the Best Route

A router chooses the best route for traffic based on multiple factors, including the BGP attributes like AS-PATH (how many ASs the path passes through) and NEXT-HOP (the next router in the path).

Signup and view all the flashcards

AS-PATH Attribute

In BGP, when a prefix is received by an AS, it adds its own ASN to the existing AS-PATH list. This prevents routing loops by ensuring that an AS will reject an advertisement if it sees its own ASN in the path.

Signup and view all the flashcards

NEXT-HOP Attribute

The IP address of a router outside the current AS that directly connects to the AS. This is used to forward traffic to the next hop towards the destination.

Signup and view all the flashcards

Hot Potato Routing

A router selects the route with the least cost to the NEXT-HOP router, even if this isn't the overall least-cost path to the destination. This prioritizes getting data out of the AS quickly.

Signup and view all the flashcards

Adding an Outside-AS Prefix in a Forwarding Table

This happens when a router needs to add an outside-AS prefix to its forwarding table. Both BGP (inter-AS) and an intra-AS protocol (like OSPF) are used to make this routing decision.

Signup and view all the flashcards

BGP Route Selection

BGP selects the route with the least cost to the NEXT-HOP router if there is only one route. If there are multiple routes to the same prefix, further criteria are applied.

Signup and view all the flashcards

BGP Tiebreakers

When there are multiple routes to the same prefix, BGP applies tiebreakers after considering the least cost to the NEXT-HOP router.

Signup and view all the flashcards

Local Preference

A policy-based value assigned to each route, with higher values indicating preference.

Signup and view all the flashcards

AS-PATH

A metric used in BGP route selection that penalizes routes with a greater number of Autonomous System (AS) hops.

Signup and view all the flashcards

BGP Identifiers

BGP's mechanism for handling tie-breakers when multiple routes remain after other selection criteria are applied.

Signup and view all the flashcards

IP-Anycast

A network architecture in which multiple servers share the same IP address, allowing clients to connect to the closest server.

Signup and view all the flashcards

Content Distribution Network (CDN)

Distributing content across multiple geographically dispersed servers to improve performance and availability.

Signup and view all the flashcards

DNS (Domain Name Service)

A distributed database system that maps domain names to IP addresses, facilitating the resolution of hostnames.

Signup and view all the flashcards

BGP Route Selection Algorithm

A mechanism for selecting routes based on policy considerations and optimal paths, used in BGP to manage inter-AS routing.

Signup and view all the flashcards

Access ISP Policy

Traffic entering an ISP access network must be destined for that network, and traffic leaving must originate within it.

Signup and view all the flashcards

Multi-homed Access ISP

A multi-homed ISP connected to two different backbone providers.

Signup and view all the flashcards

Selective Route Advertisement Policy

A policy used to prevent a multi-homed ISP from forwarding traffic between backbone providers. This strategy ensures the multi-homed ISP acts as a local access provider.

Signup and view all the flashcards

Backbone/Provider ISP Policy (Valid Traffic)

An ISP network carrying traffic with both source and destination inside its customer networks.

Signup and view all the flashcards

Backbone/Provider ISP Policy (Free-Riding)

A rule of thumb in ISP routing where backbone networks only carry traffic with either source or destination within their customer networks, preventing free-riding.

Signup and view all the flashcards

Policy vs. Technical Factors (Routing)

Decisions based on routing policies take precedence in inter-autonomous system (AS) routing, while technical factors (shortest paths, bandwidth) dominate intra-AS routing.

Signup and view all the flashcards

Scalability in Routing Protocols

The ability of a routing protocol to handle a large number of networks efficiently is essential for inter-AS routing, but less critical within a single AS.

Signup and view all the flashcards

Hierarchical Routing in OSPF

OSPF allows hierarchical routing by dividing an autonomous system into areas, improving scalability and manageability within a single network.

Signup and view all the flashcards

Performance in Intra-AS Routing

Routing within a single Autonomous System (AS) focuses on the performance of routes, unlike inter-AS routing which emphasizes policy.

Signup and view all the flashcards

Obtaining Internet Connectivity

Obtaining internet connectivity involves contracting with a local ISP. The ISP provides the IP address range for your network, including addresses for servers and routers.

Signup and view all the flashcards

Internet Prefix Advertising

Your company's network prefix needs to be advertised to other ISPs for them to route traffic to your network. BGP is used by the local ISP to spread this information across the internet.

Signup and view all the flashcards

SDN Architecture Separation

An SDN architecture separates data plane forwarding from control plane functions. Network switches handle forwarding, while the control plane manages routing, security, and other network tasks.

Signup and view all the flashcards

Network Programming in SDN

SDN allows for flexible network programming, enabling you to implement custom rules for traffic flow, security, or load balancing.

Signup and view all the flashcards

Flow-Based Forwarding in SDN

Flow-based forwarding, which is the foundation of SDN, directs traffic based on specific header fields. This allows for precise traffic management based on various criteria.

Signup and view all the flashcards

SDN Unbundling

SDN unbundles network functionality, separating data plane switches, SDN controllers, and network control applications. This allows for greater flexibility and customization.

Signup and view all the flashcards

SDN Control Plane Functionality

Applications running on the SDN controller implement network control functions like routing, firewall, and load balancing. This enables programmable control over the network behavior.

Signup and view all the flashcards

Study Notes

Introduction to Computer Networks

  • This presentation covers various aspects of computer networks
  • Topics include routing algorithms, protocols, and control planes
  • Various protocols are discussed, including OSPF, BGP, ICMP, SNMP, NETCONF/YANG

Routing Algorithms

  • These algorithms determine the best path for data packets to travel through networks
  • Different algorithms exist for routing within and between autonomous systems (ASs)

Intra-AS Routing in the Internet: OSPF

  • OSPF (Open Shortest Path First) is an intra-AS routing protocol
  • It uses a link-state routing approach.
  • Data about network links is shared among routers

Routing Among the ISPs: BGP

  • BGP (Border Gateway Protocol) is an inter-AS routing protocol
  • It is a decentralized and asynchronous
  • It uses a path vector routing approach
  • Routers exchange information about prefixes

The SDN Control Plane

  • SDN (Software-Defined Networking) separates the data plane and control plane
  • This offers greater flexibility and programmability
  • SDN controllers manage network devices.
  • Data plane devices run the network

ICMP: The Internet Control Message Protocol

  • ICMP (Internet Control Message Protocol) is a network-layer protocol
  • It's primarily used for error reporting and communication between network devices
  • It carries messages inside IP datagrams.
  • These datagrams contain a type, code field, and data related to the message

Network Management and SNMP, NETCONF/YANG

  • Network management involves the control & monitoring of network components
  • SNMP(Simple Network Management Protocol) is a network protocol
  • NETCONF/YANG provide configuration & management for network devices
  • These protocols are commonly used to manage complex systems

IP-Anycast

  • IP anycast is a technique used to distribute content across multiple locations
  • This is widely used by content delivery networks (CDNs)
  • Provides services from the closest location
  • BGP is used to support this method

Routing Policy

  • Routing policy governs how paths are selected.
  • It takes into account factors like local preference
  • Backbone providers and access ISP networks have policies to prevent issues like traffic issues

Access ISP Policy

  • All traffic entering and exiting an access network must be destined for that network.
  • Selective route advertisement is used for policies in networking
  • This can maintain the desired network relationships

Backbone/Provider ISP Policy

  • There are no specific standards for backbone ISPs' routing
  • Rules of thumb involve traffic destined for customers of the ISP.
  • Individual peering agreements guide routing

Why are different inter-AS and intra-AS routing protocols used?

  • Routing decisions are often driven by policy issues within an autonomous system (AS) or between them
  • These preferences impact routing choices
  • Routing protocols for different scales must also be considered

Obtaining Internet Presence

  • Obtaining Internet connectivity involves contracting with an ISP
  • ISPs assign IP addresses to various components in the network
  • This allows network communication

SDN Controller

  • SDN controllers manage and control the data plane devices
  • A critical aspect in managing this architecture is its protocols
  • Communication layers and northbound/southbound interfaces are essential elements that maintain operations

OpenFlow Protocol

  • The OpenFlow protocol is used to communicate between the SDN controller and data plane
  • It uses TCP port 6653
  • This method establishes communication

Data and Control Plane Interaction

  • The data plane performs specific operations on packets
  • The control plane handles higher-level management like routing decisions
  • These communicate via protocols like OpenFlow

SDN: Past and Future

  • SDN aims to replace traditional network equipment with software-defined components
  • This enhances flexibility and scalability
  • Generalization of the SDN architecture, known as Network Functions Virtualization (NFV), aims for similar disruptive changes in networking

Studying That Suits You

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

Quiz Team

Related Documents

Description

Test your knowledge on Software Defined Networking (SDN) and routing within Autonomous Systems. This quiz covers essential topics such as IP address assignment, ISP protocols, and the architecture of SDN. Perfect for those looking to deepen their understanding of modern networking principles.

More Like This

Exam: Software-Defined Networks (SDN)
32 questions
Networking Concepts Quiz
40 questions

Networking Concepts Quiz

EncouragingDiopside3189 avatar
EncouragingDiopside3189
Use Quizgecko on...
Browser
Browser