0% found this document useful (0 votes)
40 views127 pages

All Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views127 pages

All Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 127

Application Layer

DNS Name Resolution


Iterative Example
DNS Name Resolution
Recursive Example
DNS Name Resolution
Real-World Example
Chapter 2 Review Questions SECTION 2.1

R1. List five nonproprietary Internet applications and the application-layer


protocols that they use.

R2. What is the difference between network architecture and application


architecture?

R3. For a communication session between a pair of processes, which process is


the client and which is the server?

R4. Why are the terms client and server still used in peer-to-peer applications?

R5. What information is used by a process running on one host to identify a


process running on another host?

R6. What is the role of HTTP in a network application? What other components
are needed to complete a Web application?
R7. Referring to Figure 2.4, we see that none of the applications listed in Figure
2.4 requires both no data loss and timing. Can you conceive of an application
that requires no data loss and that is also highly time-sensitive?

R8. List the four broad classes of services that a transport protocol can
provide. For each of the service classes, indicate if either UDP or TCP (or
both) provides such a service.

R9. Recall that TCP can be enhanced with SSL to provide process-to-process
security services, including encryption. Does SSL operate at the transport layer
or the application layer? If the application developer wants TCP to be enhanced
with SSL, what does the developer have to do?
Transport Layer
TCP & UDP
• What happens when RTT increases?
• WHY UDP doesn’t have sender buffer?
• Why random starting seq number?
• Why congestion control at transport layer?
• RTT Estimation Ceveats: Too small vs too large? AND SOLUTION?
• How to compute timeout in TCP?
• How TCP handle RTT estimation for cumulative ACKs?
• TCP retransmission scenarios
• Why timed wait after server to client FIN and why timed wait at client
• 2-way handshake failure scenarios
Multiplexing and De- Multiplexing
TCP: Receiver Buffer
TCP CONGESTION CONTROL
• Congestion collapse and its causes
• Where to prevent collapse?
• Congestion control: TCP vs UDP competing flows scenario
• TCP: Congestion Control problems and solution in context of packet
conservation
• TCP self clocking mechanism
• TCP TAHOE, RENO, NEW RENO, BIC, CUBIC, VEGAS, BBR,
COMPOUND
• NDP protocol
• TCP Fairness
• TCP: Detecting and reacting to loss
TCP CONGESTION
CONTROL
TCP CONGESTION
CONTROL

UDP
120
Gbps
100
TCP Gbps

What bandwidth UDP and TCP flows get?


TCP CONGESTION
CONTROL
TCP CONGESTION
CONTROL
TCP CONGESTION
CONTROL
TCP CONGESTION
CONTROL
NETWORK
LAYER
NETWORK
LAYER
+ Why CIDR
+ LIMITATION OF CLASSFUL
ADDRESSING
+ HOW TO ASSIGN IP ADDRESS TO
DEVICE
+ ISSUES WITH NAT
+ HOW DO YOU DO FORWARDING AT
A ROUTER/SWITCH USING CIDR
+ WHICH CLASSFUL IP CLASS FOR
500 devices?
SUBNETTING

COLLISION DOMAIN?
BROADCAST DOMAIN?
Compute Routing, Forwarding Table and
SHORTEST PATH TREE
Routing Algorithms
+ Good news and Bad news in bellman ford
+ Possible issues with Dijkstra’s algorithm and solution
+ Route updates in Bellman-ford algorithm
+ Comparison of LS and DV Algorithms (Robustness, Message Complexity and Speed of convergence)
+ RIP: Table processing
+ RIP: Failure and recovery
+ RIP: Avoid “count-to-infinity” problem
+ OSPF Operation Stages and Packet types
+ OSPF LSA Database exchange and synchronization and syncing method
+ OSPF Minimize magnitude of update LSA (reduce dup LSA)
+ Hierarchical Routing in OSPF
+ AREA PARTITIONs in Hierarchical Routing in OSPF
+ OSPF: Advanced features
Bellman ford example
BGP
BGP- Video I
• Why BGP is defacto standard in internet?
• Why BGP is distance vector?
• Why not BGP is link state?
• Policies with BGP (2x2)
• Customers vs Peers routing table exchange
• Which route to prefer Peering vs Provider?
• Benefits/Uses of path vector?
• BGP messages (4)
BGP route advertisements
BGP: Transit Vs Non-Transit
BGP- Video II
• Important attributes (2)
• BGP route processing
• Where policies are applied in BGP when processing routes?
• BGP elimination rules
NEXT BEST HOP ATTRIBUTE: HOT
POTATO ROUTING
Multihoming and Load-balancing with BGP
iBGP – VIDEO IV
• Why iBGP peer will not advertise a route learned by one iBGP peer to
another iBGP peer?
• N border routers means N(N-1)/2 peering sessions – this does not
scale -> Currently three solutions
• BGP Link failures Types?
• failures are completely different in BGP. Why?
• How to ensure no policy conflicts: Strawman proposal
• Gao and Rexford Scheme
• Why different Intra-, Inter-AS routing ? Policy, Scale, Performance
BGP Link failures
BGP Link failures
BGP Convergence
BGP Convergence
BGP Policies
BGP Policies
DATA-LINK
LAYER
ANYCAST / ROUTER
ARCHITECTURE
• Unicast/Multicast/Anycast
• CDN load balancing using DNS CNAME vs Anycast
• IP Anycast: BGP
• Challenges with IP Anycast
• EDNS Client Subnet
• RIB (Routing Information Base)
• Input port functions
• Switching fabrics
• Output ports
• Input port queuing
• Data link layer services
• Error detection and correction techniques
• Multiple Access Protocols
• An ideal multiple access protocol?
• Multiple Access Protocols Categories and techniques
ANYCAST / ROUTER
ARCHITECTURE
DATA LINK LAYER
• IP vs MAC Address
• ARP Table Soft state or Hard state?
• How to determine the MAC address of B knowing B’s IPv4 address?
• How to determine MAC address of B knowing B’s IPv6 address?
• Ethernet: Physical topology
• Ethernet: Unreliable, connectionless
• Hub Vs Switch Vs Router
• Switch: Self-learning
• How router restrict broadcast storms?
COLLISION DOMAINS
PUTTING IT ALL TOGETHER
Multimedia/ VoIP/
DataCenter/ SDN
Multimedia(REMINDER: ASK
MAHNOOR TO DRAW TOPOLOGIES)
• Audio/Video/ Video coding/ Video bit rates

• Multimedia apps and their tolerance to loss, delay, jitter

• Streaming stored video: Challenges

• Playout buffering: average fill rate (x), playout rate (r)

• Streaming: UDP vs TCP

• Streaming: Is TCP ill-suited? And Solution


VoIP
• VoIP, VoIP: Characteristics

• VoIP: Packet loss, delay

• Delay jitter

• VoIP: Fixed playout delay

• VoIP: Adaptive playout delay

• How does receiver determine whether packet is first in a talk spurt?

• Skype and components, mechanism and solution for NAT issues

• Forward Error Correction (FEC) and techniques


Data centers
• Datacenters: In practice ... And Datacenters: How?

• Datacenters: Connecting racks

• Datacenters: Fat tree and features

• Bisection bandwidth, oversubscription, oversubscription ration, Diameter,


Bisection width, Full Bisection bandwidth

• Datacenters layer 2 vs layer 3 devices

• Datacenter & TCP


SDN
• Control/Data/Management plane

• What and Why SDN?

• SDN layers and API names

• Open flow message types

• OFPacketIn and OFPacketOut

• Flow entries and Flow entry messages

• Flow entry idle vs hard timeout

• Openflow Flow insertion approaches

• SDN Dimensions: Granularity of flow rules

• SDN challenges -> availability (solution), fault tolerance,security, debug, verify


P4/ Signaling /
State / RSVP
P4
• SDN Challenges

• P4: Goals

• P4 Parser and its functionality

• P4 de-Parser and its functionality

• Match action pipeline in P4


P4
P4
Signaling
• Signaling, why, where, when?

• Two principles for State in networks?

• Classify states and reasoning -> RSVP, TCP

• State mechanism and variables in TCP

• What are SIP and RSVP

• SIP Services

• RSVP’s first-class citizen is?

• How multicast works?

• What and where IGMP is? And what about multicast addressing?
State
• Separation of control and data
• HTTP: in-band signaling
• FTP: out-of-band signaling, RSVP (signaling) separate from routing, forwarding.
• State definition?
• State: Sender, receiver
• Hard state and its assumption
• Soft state and its assumption
• Soft state vs hard state comparison
• Q: How to set Soft-State’s refresh/timeout timers ?
• Effect state lifetime on consistency of state on multiple nodes?
RSVP
• RSVP

• RSVP does not ...

• RSVP: Overview of operation

• Reservation msgs

• Path msgs

• RSVP: Soft-state

• Use cases for reservation/path refresh (3)


RSVP
RSVP
RSVP
RSVP
RSVP
Indirection /
Virtulization /
QUIC
Virtualization

• Overlay Networks

• Overlay Network and BGP

• Virtual Private Networks (VPN)

• VPN architectures x 3

• Tunnelling

• VLANS and port-based VLAN

• Port based VLAN features

• VLANs spanning multiple switches


Indirection

• Indirection in Multicast how and why? Which protocol?

• Mobility and Indirection methods? X2

• Suppose mobile user moves to another network

• Mobility via indirect routing pros and cons


QUIC

• HTTP/1 : HoL Blocking

• HTTP/2 : HoL Blocking

• QUIC Design 2x2

• Why QUIC over UDP

• QUIC streams and frames

• QUIC sequence numbering and congestion control


IoT / SIP / RTP / QoS
MQTT diagrams -> Receiver
subscribes after publish (empty
IoT broker queue)

MQTT diagrams -> Receiver


subscribes after sender dies
(outdated info)

MQTT diagrams -> Receiver


subscribes before publish
QoS
• Network support for multimedia -> Approaches
• Dimensioning best-effort networks and challenges
• Providing multiple classes of service
• Per flow QoS
• Scheduling Mechanisms
• Policing Mechanisms
• Policing Mechanisms: Implementation
• Why QoS simple functions in network core; relatively complex functions at edge routers (or hosts)?
• DiffServ Architecture
• Packet Profiles
• Edge router packet marking
• DiffServ: Marking details
• Forwarding PHB
Real-Time Protocol (RTP)

• RTP, transport layer, and important fields


• RTP: QoS?
• Payload type (7 bits) , Sequence number (16 bits) , Timestamp field (32 bits
long) , SSRC field (32 bits long)
• Real-Time Control Protocol (RTCP)
• RTCP packet types x 3
• Stream synchronization via RTCP
• RTCP: Bandwidth scaling
Session Initiation Protocol (SIP)
• SIP
• SIP: Services
• SIP: Setting up a call x 2
• SIP Server functions: Registrar and Proxy

You might also like