















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















(review) name the five layers in order (top-down) - Solution application layer transport layer network layer data link layer physical layer Layer n interfaces only with layer (n-1) and (n+1). lower layer served immediate upper layer Known as OSI (open systems interconnection) model (layering principle) what is the purpose of L5? - Solution Application: Network service to users or apps read/write data from apps, encrypt/decrypt (layering principle) what is the purpose of L4? - Solution Transport: Reliable end-to-end data delivery reliability, app multiplexing (layering principle) what is the purpose of L3? - Solution Network: Best- effort data delivery between networks naming, addressing, dest. discovery, routing, forwarding (layering principle) what is the purpose of L2? - Solution Data Link: best- effort data delivery within a local network naming, addressing, dest. discovery, routing, forwarding (layering principle) what is the purpose of L1? - Solution Physical: bits to and from wire
signal processing, A2D conversions What does network layer do? - Solution Connects different networks
DNS (centralized)
smallest addy highest addy - Solution 0 MSBs 8 subnet bits 24 host bits 2^7 subnets = 128 2^24 hosts 0.0.0. 127.255.255.255. For class B, answer the following:
smallest addy highest addy - Solution 10 MSBs 16 subnet bits 16 host bits 2^14 = 16k subnets 2^16 hosts 128.0.0. 191.255.255. For class C, answer the following:
smallest addy highest addy - Solution 110 MSBs 24 subnet bits 8 host bits 2^21 = 2M subnets
For Internet Protocol, how do we address the following: Addressing Forwarding Routing Destination Discovery - Solution -IP Address -IP Forwarding -Network routing protocols (DV, LS, BGP) -DNS True or false: All hosts within a subnet share the same Subnet Address Prefix - Solution True CIDR is more flexible. How does that correspond to complexity at routers? - Solution CIDR is more complex at routers What is the key to encode the network hierarchy? - Solution Child subnet/host address includes the subnet bits of its parents address as its prefix - to encode the network hierarchy What are the two options for configuring IP address of a host? - Solution 1. Manual(static) configuration (problematic)
What is the main issue with Public IPv4 addresses? - Solution - hosts over Internet have to have unique IP for unique routing
Describe distribute path computation - Solution Similar to STP - each router computes paths using a distributed algorithm, oblivious to network topology Ex: distance vector or border gateway Describe distributed topology computation - Solution Routers use distributed algorithm to learn the entire network topology Each router runs a local path computation algorithm on network topology Ex: link state Describe the DV algorithm - Solution Distance Vector
Why does DV involve periodic advertisements? - Solution Periodic advertisements are required so each node can eventually find a path If not, a link might fail and the neighboring routing table wouldn't know if it doesn't change its vector Does DV always avoid loops? - Solution NO
-- it is difficult to avoid out of order delivery (depends on network dynamics, queuing, # of hops, etc)
through peer = make money)(path through peer > path through provider = save money)(Gao-Rexford path selection policy)
--LOCAL PREF: preference value for ASPATH: higher = better -- IGP COST: cost to gateway router inside ASPATH from internal router (helps hot potato) Describe the issue with BGP: Reachability - Solution Even if a graph is connected, reachability is not guaranteed Ex: AS1 does not want to carry traffic between AS2 and AS3 even if AS connects them Describe the issue with BGP: Security - Solution - IP prefix hijacking --an AS can advertise an IP prefix that they don't have the route to -- results in blackhole (data is discarded), snooping(data is inspected), and redirection(data is redirected to bogus dests)