Exam Flashcards
to the moon
What is MPLS?
MPLS (Multiprotocol Label Switching) is a protocol-independent tunneling mechanism that forwards packets based on fixed-length labels rather than IP addresses.
How does MPLS differ from traditional IP routing?
MPLS uses label swapping for faster forwarding, avoiding IP lookup delays.
What are the key differences between MPLS and traditional IP routing?
- Speed: Avoids IP lookup delays
- Traffic Engineering: Explicit LSP paths can bypass congested routes
- Services: Supports VPNs, QoS, and multicast efficiently
What is an LER in MPLS?
LER (Label Edge Router) adds/removes labels at the MPLS network boundary.
What is an LSR in MPLS?
LSR (Label Switch Router) swaps labels in the MPLS core.
What is an LSP in MPLS?
LSP (Label Switched Path) is a unidirectional path for label-switched traffic.
Compare PIM-SM and PIM-DM in multicast.
- Join Mechanism: Receivers explicitly join via RP (PIM-SM) vs. floods traffic, prunes unused branches (PIM-DM)
- Efficiency: Better for sparse networks (PIM-SM) vs. better for dense networks (PIM-DM)
- Complexity: Uses Rendezvous Point (RP) (PIM-SM) vs. no RP, simpler but less scalable (PIM-DM)
What is RPF in multicast?
RPF (Reverse Path Forwarding) ensures multicast packets are only forwarded if received on the interface closest to the source.
What are the key components of a CDN?
- Content Provider: Origin server hosting original content
- CDN Provider: Distributed surrogate servers (caches)
- End-users: Clients requesting content via the CDN
How does a CDN improve web performance?
- Reduces latency by caching content closer to users
- Offloads origin servers during traffic spikes
- Improves reliability via redundant edge servers
How does NDN differ from traditional IP?
- Addressing: Content names (e.g., /video) vs. IP addresses (e.g., 192.0.2.1)
- Routing: Consumers request data via Interests vs. senders push data to destinations
- Caching: Routers cache content vs. no built-in caching
What are the key layers in SDN architecture?
- Application Layer: Firewall, load balancer apps
- Control Layer: SDN controller (e.g., OpenDaylight)
- Infrastructure Layer: OpenFlow switches
Compare proactive and reactive flow handling in OpenFlow.
- Proactive: Low latency (rules pre-set), less flexible for dynamic changes
- Reactive: Adapts to traffic dynamically, higher initial setup delay
Compare UDP and TCP in terms of reliability, ordering, and congestion control.
- Reliability: UDP (No) vs. TCP (Yes, ACKs/retransmit)
- Ordering: UDP (No) vs. TCP (Yes, seq. numbers)
- Congestion Control: UDP (No) vs. TCP (Yes, AIMD)
What is CIDR?
CIDR (Classless Inter-Domain Routing) allows flexible subnetting, improving address efficiency and reducing routing table size.
Differentiate between intra-domain and inter-domain routing.
Intra-domain routing (e.g., OSPF, RIP) occurs within an Autonomous System (AS); inter-domain routing (e.g., BGP) occurs between ASes.
What is an Autonomous System (AS)?
An AS is a domain with a unified routing policy under one organization, supporting hierarchical routing.
What is ARP?
ARP (Address Resolution Protocol) maps IP addresses to MAC addresses using broadcast queries and caching responses.
What is the difference between MAC and IP addresses?
- MAC: 48-bit, hardware-based, local
- IP: Logical, hierarchical, globally routable
How does routing differ when addressing another LAN versus the same LAN?
Same LAN uses direct MAC resolution; other LANs route through a gateway using the MAC of the router.
What are link layer services?
- Framing
- Addressing (MAC)
- Error detection/correction
- Reliable delivery
- Medium access
Where is the link layer implemented?
In NIC hardware, OS software, or firmware.
What is the structure of an Ethernet frame?
- Preamble
- Dest MAC
- Src MAC
- Type
- Payload
- CRC
What is CSMA/CD?
CSMA/CD (Carrier Sense Multiple Access with Collision Detection) is a protocol that senses the channel and retransmits on collision.