Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 6250 Quiz 1 (All Quizzes) Latest Update | Verified Questions and Correct Answers | Complete Study Guide – Georgia Institute of Technology

Rating
-
Sold
-
Pages
66
Grade
A+
Uploaded on
07-03-2026
Written in
2025/2026

CS 6250 Quiz 1 (All Quizzes) Latest Update | Verified Questions and Correct Answers | Complete Study Guide – Georgia Institute of Technology 2026/2027 | GRADED A+ | 100 out of 100 Question: How did LIcklider and his team in the early 1960s experiment with a precursor to the Internet? Answer Connecting two computers over a dial-up telephone line Question: What is the DNS designed to do primarily Answer Translate domain names into IP addresses Question: What is the architecture design of the internet protol stack based on? Answer Layers Question: Both the data link and transport layer provide error correction Answer True Question: What allows for communication between the application layer and transport layer Answer Socket Question: Whis protocol belongs to application layer? Answer DNS(Domain Name Service) Question: Which two protocols belong to the transport layer? Answer TCP, UDP Question: When an application sends a packet of information across the network, this packt travels down the IP stack and undergoes what process? Answer Encapsulation Question: According to the e2e principle, where should most of the Internet's functionality/Intelligence be implemented Answer At the edges of a network Question: The difference between hubs, bridges, and routers? Answer Hubs: physical layer; bridge: data-link layer; routers:network layer Question: What are advantages and disadvantages of a layered architecture? Answer Each protocol layer offers different services. Some advantages are scalability, flexibility, and ease of adding / removing components making it easier for cost-effective implementations. Disadvantages include: some layers functionality depends on the information from the other layer and violates the goal of layer separation; one layer may duplicate lower layer functionalities; overhead both in computation and in message headers caused by abstraction barriers between layers. Question: What are the differences and similarities of the OSI model and five-layered Internet model? Answer The OSI model and the 5-layered Internet Model have many of the same layers, with the difference being three of the layers are combined in the 5-layered model. Specifically the five-layer model combines the application, presentation, and session layers from the OSI model into a single application layer. Question: What are sockets? Answer A network socket is a software structure within a network node of a computer network that serves as an endpoint for sending and receiving data across the network. The structure and properties of a socket are defined by an application programming interface (API) for the networking architecture. Sockets are created only during the lifetime of a process of an application running in the :// and receives messages from, the network through a software interface called a socket. Let's consider an analogy to help us understand processes and sockets. A process is analogous to a house and its socket is analogous to its door....a socket is the interface between the application layer and the transport layer within a host." - Kurose and Ross, 2.1 Question: Describe each layer of the OSI model. Answer Application layer: Service, Interface, Protocol. Ex: Turn on your smartphone and look at the list of apps. (HTTP, SMTP, FTP, DNS) Presentation layer: Plays intermediate role of formatting the information received from the layer below and delivering it to the application layer. Ex: converting big endian to little endian. Session layer: Responsible for the mechanism that manages the different transport streams that belong to the same session between end-user and application process. Ex: teleconference app, it is responsible for tying together audio and video streaming. Transport layer: Responsible for the end-to-end communication between end hosts. 2 transport protocols, TCP and UDP. TCP includes a connection-oriented service to the applications that are running on the layer above, guaranteed delivery of the application-layer messages, flow control, and congestion control mechanism. UDP provides a connectionless, best-effort service to the applications that are running in the layer above without reliability, flow, or congestion control. In this layer the packet is called a segment. Network layer: This layer is responsible for moving the packet of information, called a datagram, from one host to another. The network layer is responsible for delivering the datagram to the Transport layer on the destination host. In this layer there are the IP Protocol and the routing tables. Data Link layer: Packets are referred to as frames. Examples include: ethernet, ppp, wifi. Responsible for moving the frames from one node (host or router) to the next node. Services offered by the data link layer protocol include reliable delivery (transmission of the data from one transmitting node, across one link, to the receiving node. Physical layer: This layer is the actual hardware responsible to transfer bits within a frame between two nodes connected through a physical link. Ex: Ethernet (twisted-pair copper, coax, fiber-optics). Question: Provide examples of popular protocols at each layer of the five-layered Internet model. Answer Application: NFS, DNS, SNMP, ftp, rcp, telnet, HTTP Transport: TCP, UDP Internet: IP, ARP, ICMP Data Link: PPP, IEEE 802.2, Ethernet Physical Network: Token Ring, RS-232 Question: What is encapsulation, and how is it used in a layered model? Answer Encapsulation is when data (called a header) is appended to the packet through each layer to signify its on the correct path to the destination host. Question: What is the end-to-end (e2e) principle? Answer A design choice that shaped the current internet architecture. It states the network core should be simple and minimal, while the end systems should carry the intelligence. Network functions should be simple and essential commonly used functions so any host can utilize the service and higher form functions should be built into the application itself. Lower level layers should be independent and free to perform only their designed function and the higher-level layers deal with the more intricate functions that deal with the specific application. Question: What are the examples of a violation of e2e principle? Answer Violations include firewalls and traffic filters. Firewalls violate because they are intermediate devices that are operated between two end hosts and they can drop the end host communications. Network Address Translation (NAT) boxes are also a violation because it uses the single public IP address and distributes a new IP scheme to the hosts connected to it to route data through re-writing the header info to route to the correct destination host. NAT boxes are a violation because they are not globally addressable or routable. Question: What is the EvoArch model? An hourglass shaped model of the Internet where the outer bands are more frequently modified or replaced and the further in you go the harder it is for that layer to be altered or modified. Question: Explain a round in the EvoArch model. EvoArch is a discrete-time model that is executed over rounds. At each round, we perform the following steps: A) We introduce new nodes, and we place them randomly at layers. B) We examine all layers, from the top to the bottom, and we perform the following tasks: 1) We connect the new nodes that we may have just introduced to that layer, by choosing substrates based on the generality probabilities of the layer below s(l−1), and by choosing products for them based on the generality probability of the current layer s(l). 2) We update the value of each node at each layer l, given that we may have new nodes added to the same layer l. 3) We examine all nodes, in order of decreasing value in that layer, and remove the nodes that should die. C) Finally, we stop the execution of the model when the network reaches a given number of nodes. Question: What are the ramifications of the hourglass shape of the internet? A. Many technologies that were not originally designed for the internet have been modified so that they have versions that can communicate over the internet (such as Radio over IP). B. It has been a difficult and slow process to transition to IPv6, despite the shortage of public IPv4 addresses. Question: Repeaters, hubs, bridges, routers operate on which layers? Repeaters and Hubs work over L1 (Physical Layer) Bridges and Layer 2-Switches work over L2 (Data link layer) Routers and Layer 3-Switches work over L3 (Network layer) Question: What is a bridge, and how does it "learn"? A bridge is a device with multiple inputs/outputs. A bridge transfers frames from an input to one (or multiple) outputs. Though it doesn't need to forward all the frames it receives. A learning bridge learns, populates and maintains a forwarding table. The bridge consults that table so that it only forwards frames on specific ports, rather than over all ports. So how does the bridge learn? When the bridge receives any frame this is a "learning opportunity" to know which hosts are reachable through which ports. This is because the bridge can view the port over which a frame arrives and the source host. Question: What is a distributed algorithm? A distributed algorithm is an algorithm designed to run on computer hardware constructed from interconnected processors. Distributed algorithms are used in many varied application areas of distributed computing, such as telecommunications, scientific computing, distributed information processing, and real-time process control. Question: Explain the Spanning Tree Algorithm. The algorithm runs in "rounds" and at every round each node sends to each neighbor node a configuration message with three fields: a) the sending node's ID, b) the ID of the roots as perceived by the sending node, and c) the number of hops between that (perceived) root and the sending node. At every round, each node keeps track of the best configuration message that it has received so far, and it compares that against the configuration messages it receives from neighboring nodes at that round. At the very first round of the algorithm, every node thinks that it is the root. Question: What is the purpose of the Spanning Tree Algorithm? The purpose of the Spanning Tree Algorithm is to prevent broadcast storm through the network and cause stalls or heavy congestion. The spanning tree also prevents loops (cycles) from occurring in a network. What does the transport layer provide? The transport layer is the logical connection. Transport layer consists of TCP and UDP protocols. The transport layer provides an end-to-end connection between two applications that are running on different hosts. Of course the transport layer provides this logical connection regardless if the hosts are in the same network. User datagram protocol (UDP) and the Transmission Control Protocol (TCP). -Some applications that use UDP include video streaming, DNS, and Online Multiplayer Games. - Some applications that use TCP include Web, SMTP and FTP What is a packet for the transport layer called? WA segment. (If it is a TCP packet) Datagram (If it is UDP packet) What are the two main protocols within the transport layer? User datagram protocol (UDP) and the Transmission Control Protocol (TCP). What is multiplexing, and why is it necessary? Multiplexing is the ability for a host to run multiple applications using the network simultaneously. It's necessary to ensure multi-tasking with the host. Multiplexing essentially combines multiple signals into one with 1 IP and multiple ports, where each application binds itself to a port. Allow multiple apps to communite to different servers with 1 IP address Describe the two types of multiplexing/demultiplexing. 1. Connectionless Multiplexing/Demultiplexing: Uses the UDP socket that consists of a two-tuple made up of a destination IP address and port. Transport layer identifies port from receiverd datagram that includes the port. 2. Connection Oriented Multiplexing/Demultiplexing: Uses the TCP socket and is a four-tuple that consists of IP address, source port, destination IP address, destination port. What are the differences between UDP and TCP? UDP is A.) an unreliable protocol as it lacks the mechanism that TCP has in place. B.) a connectionless protocol that does not require the establishment of a connection (example: three way handshake) before sending packets. Some benefits to UDP are: A.) no congestion control or similar mechanisms. B.) No connection management overhead. The UDP packet structure is a 64 bits header consisting: 1.) Source and destination ports. 2.) Length of the UDP segment (header and data). 3.) Checksum (an error checking mechanism). Since there is no guarantee for link-by-link reliability, we need a basis mechanism in place for error checking. The UDP sender adds the src port, the dest port and the packet length. Then it takes the sum and performs an 1s complement (all 0s are turned to 1 and all 1s are turned to 0s). If during the sum there is an overflow, it's wrapped around. The receiver adds all the four 16-bit words (including the checksum). The result should be all 1s unless an error has occurred. To detect errors, the receiver adds the four words (the three original words and the checksum). If the sum contains a zero, the receiver knows there has been an error. While all one-bit errors will be detected, but two-bit errors can be undetected (e.g., if the last digit of the first word is converted to a 0 and the last digit of the second word is converted to a 1). TCP is a protocol consisting of a three-way handshake and a connection teardown: 3-way Handshake: Step 1: The TCP client sends a special segment, (containing no data) and with SYN bit set to 1. The Client also generates an initial sequence number (client_isn) and includes it in this special TCP SYN segment. Step 2: The Server upon receiving this packet, allocates the required resources for the connection and sends back the special 'connection-granted' segment which we call SYNACK. This packet has SYN bit set to 1, ack field containing (client_isn+1) value and a randomly chosen initial sequence number in the sequence number field. Step 3: When the client receives the SYNACK segment, it also allocates buffer and resources for the connection and sends an acknowledgment with SYN bit set to 0. Teardown: Step 1: When client wants to end the connection, it sends a segment with FIN bit set to 1 to the server. Step 2: Server acknowledges that it has received the connection closing request and is now working on closing the connection. Step 3: The Server then sends a segment with FIN bit set to 1, indicating that connection is closed. Step 4: The Client sends an ACK for it to the server. It also waits for sometime to resend this acknowledgment in case the first ACK segment is lost. When would an application layer protocol choose UDP over TCP? When developers need just a simple mechanism for transmission control. Typically, use UDP in applications where speed is more critical than reliability. For example, it may be better to use UDP in an application sending data from a fast acquisition where it is acceptable to lose some data points. You can also use UDP to broadcast to any machine(s) listening to the server. UDP%20in%20applications,s)%20listening%20to%20the%20server. Explain the TCP Three-way Handshake. 3-way Handshake: Step 1: The TCP client sends a special segment, (containing no data) and with SYN bit set to 1. The Client also generates an initial sequence number (client_isn) and includes it in this special TCP SYN segment. Step 2: The Server upon receiving this packet, allocates the required resources for the connection and sends back the special 'connection-granted' segment which we call SYNACK. This packet has SYN bit set to 1, ack field containing (client_isn+1) value and a randomly chosen initial sequence number in the sequence number field. Step 3: When the client receives the SYNACK segment, it also allocates buffer and resources for the connection and sends an acknowledgment with SYN bit set to 0. Explain the TCP connection teardown. Teardown: Step 1: When client wants to end the connection, it sends a segment with FIN bit set to 1 to the server. Step 2: Server acknowledges that it has received the connection closing request (FIN-ACK) and is now working on closing the connection. Step 3: The Server then sends a segment with FIN bit set to 1, indicating that connection is closed. Step 4: The Client sends an ACK for it to the server. It also waits for sometime to resend this acknowledgment in case the first ACK segment is lost. What is Automatic Repeat Request or ARQ? An error-control method for data transmission that uses acknowledgements (messages sent by the receiver indicating that it has correctly received a packet) and timeouts (specified periods of time allowed to elapse before an acknowledgment is to be received) to achieve reliable data transmission over an unreliable communication channel. If the sender does not receive an acknowledgment before the timeout, it usually re-transmits the packet until the sender receives an acknowledgment or exceeds a predefined number of retransmissions. What is Stop and Wait ARQ? also referred to as alternating bit protocol, is a method in telecommunications to send information between two connected devices. It ensures that information is not lost due to dropped packets and that packets are received in the correct order. It is the simplest automatic repeat-request (ARQ) mechanism. A stop-and-wait ARQ sender sends one frame at a time; it is a special case of the general sliding window protocol with transmit and receive window sizes equal to one in both cases. After sending each frame, the sender doesn't send any further frames until it receives an acknowledgement (ACK) signal. After receiving a valid frame, the receiver sends an ACK. If the ACK does not reach the sender before a certain time, known as the timeout, the sender sends the same frame again. The timeout countdown is reset after each frame transmission. The above behavior is a basic example of Stop-and-Wait. However, real-life implementations vary to address certain issues of design. What is Go-back-N? Now let's look at how does the receiver notify the sender of a missing segment. One way is for the receiver to send an ACK for the most recently received in-order packet. The sender would then send all packets from the most recently received in-order packet, even if some of them had been sent before. The receiver can simply discard any out-of-order received packets. What is selective ACKing? The sender retransmits only those packets that it suspects were received in error. The receiver in this case would acknowledge a correctly received packet even if it is not in order. The out-of-order packets are buffered until any missing packets have been received at which point the batch of the packets can be delivered to the application layer. "The fourth extension allows TCP to augment its cumulative acknowledgment with selective acknowledgments of any additional segments that have been received but aren't contiguous with all previously received segments. This is the selective acknowledgment, or SACK, option. When the SACK option is used, the receiver continues to acknowledge segments normally—the meaning of the Acknowledge field does not change—but it also uses optional fields in the header to acknowledge any additional blocks of received data. This allows the sender to retransmit just the segments that are missing according to the selective acknowledgment." Peterson 5.3.8 "A proposed modification to TCP, the so-called selective acknowledgment [RFC 2018], allows a TCP receiver to acknowledge out-of-order segments selectively rather than just cumulatively acknowledging the last correctly received, in-order segment. When combined with selective retransmission—skipping the retransmission of segments that have already been selectively acknowledged by the receiver" Kurose 3.5.4 What is fast retransmit? When the sender receives 3 duplicate ACKs for a packet, it considers the packet to be lost and will retransmit it instead of waiting for the timeout. What is transmission control and why do we need to control it? Transmission control is implemented in the transport layer. It deals with issues of fairness in using the network. Transmission control has two parts, flow control and congestion control. What is flow control and why do we need to control it? Flow control is TCP's rate control mechanism that helps match the sender's rate against the receiver's rate of reading the data. The sending host maintains a "receive window" which provides the sender an idea of how much data the receiver can handle at that moment. "TCP provides a flow-control service to its applications to eliminate the possibility of the sender overflowing the receiver's buffer. Flow control is thus a speed matching service—matching the rate at which the sender is sending against the rate at which the receiving application is reading." - Kurose 3.5.5 What is congestion control? Congestion control controls the transmission rate to protect the network from congestion to avoid longer queues and packet drops ● What are the goals of congestion control? Efficiency. We should get high throughput or utilization of the network should be high. Match the load to available capacity. Fairness. Each user should have its fair share of the network bandwidth. The notion of fairness is dependent on the network policy. For this context, we will assume that every flow under the same bottleneck link should get equal bandwidth. Low delay. In theory, it is possible to design protocols that have consistently high throughput assuming infinite buffer. Essentially, we could just keep sending the packets to the network and they will get stored in the buffer and will eventually get delivered. However, it will lead to long queues in the network leading to delays. Thus, applications that are sensitive to network delays such as video conferencing will suffer. Thus, we want the network delays to be small. Fast convergence. The idea here is that a flow should be able to converge to its fair allocation fast. This is important as a typical network's workload is composed of a lot of short flows and few long flows. If the convergence to fair share is not fast enough, the network will still be unfair for these short flows. ● What is network-assisted congestion control? In this we rely on the network layer to provide explicit feedback to the sender about congestion in the network. For instance, routers could use ICMP source quench to notify the source that the network is congested. However, under severe congestion, even the ICMP packets could be lost, rendering the network feedback ineffective. ● What is end-to-end congestion control? E2E does not provide any explicit feedback about congestion to the end hosts. Instead, the hosts infer congestion from the network behavior and adapt the transmission rate. Eventually, TCP ended up using the end-to-end approach. This largely aligns with the end-to-end principle adopted in the design of the networks. Congestion control is a primitive provided in the transport layer, whereas routers operate at the network layer. Therefore, the feature resides in the end nodes with no support from the network. Note that this is no longer true as certain routers in the modern networks can provide explicit feedback to the end-host by using protocols such as ECN and QCN. ● How does a host infer congestion? The host infer congestion from the network behavior mainly through 2 signals: First is the packet delay. As the network gets congested, the queues in the router buffers build up. This leads to increased packet delays. Thus, an increase in the round-trip time, which can be estimated based on ACKs, can be an indicator of congestion in the network. However, it turns out that packet delay in a network tends to be variable, making delay-based congestion inference quite tricky. Another signal for congestion is packet loss. As the network gets congested, routers start dropping packets. Note that packets can also be lost due to other reasons such as routing errors, hardware failure, TTL expiry, error in the links, or flow control problems, although it is rare. ● How does a TCP sender limit the sending rate? TCP uses a congestion window which is similar to the receive window used for flow control. It represents the maximum number of unacknowledged data that a sending host can have in transit (sent but not yet acknowledged). TCP uses a probe-and-adapt approach in adapting the congestion window. Under regular conditions, TCP increases the congestion window trying to achieve the available throughput. Once it detects congestion then the congestion window is decreased. In the end, the number of unacknowledged data that a sender can have is the minimum of the congestion window and the receive window. ● Explain Additive Increase/Multiplicative Decrease (AIMD) in the context of TCP. TCP decreases the window when the level of congestion goes by halving the window size, and it increases the window when the level of congestion goes down by adding to the window size. This causes convergence to the optimal bandwidth by quickly cutting use in times of congestion while slowly increasing utilization when the congestion clears. The idea behind additive increase is to increase the window by one packet every RTT (Round Trip Time). Once TCP Reno detects congestion, it reduces the rate at which the sender transmits. So, when the TCP sender detects that a timeout occurred, then it sets the CongestionWindow (cwnd) to half of its previous value. ● What is a slow start in TCP? Slow start is called "slow" start despite using an exponential increase because in the beginning it sends only one packet and starts doubling it after each RTT. ● Is TCP fair in the case where two connections have the same RTT? Explain. Different RTT? In TCP, fairness means: for k-connections passing through one common link with capacity R bps, each connection gets an average throughput of R/k If two connections have the same RTT then the throughput for each should sum up to R. Since TCP relies on acknowledgements of received packets, RTT (round trip time) affects the connection speed. In AIMD, a connection with a faster RTT would be able to ramp faster than another connection with slower RTT. (alt answer) If the RTT's are different, the connections with smaller RTT values would increase their congestion window faster than the ones with longer RTT values which leads to an unequal sharing of the bandwidth. ● Explain how TCP CUBIC works. CUBIC uses a cubed polynomial as its growth function. To maintain the TCP fairness it uses a multiplicative decrease and reduces the window to half. TCP CUBIC is fair regardless of RTT because the calculation that is used depends on the elapsed time from two congestion events, rather than being dependent on the RTT of a connection. ● Explain TCP throughput calculation. The calculation is: P = Probability of packet loss MSS = Maximum Segment Size RTT = Round-Trip Times BW = data per cycle / time per cycle BW = MSS/RTT * C / sqrt(P) ● What is the difference between the forwarding and routing? So by forwarding we refer to transferring a packet from an incoming link to an outgoing link within a single router. By routing we refer to how routers work together using routing protocols to determine the good paths (or good routes as we call them) over which the packets travel from the source to the destination node. What is the main idea behind a link state routing algorithm? Also called Dijkstra's Algorithm. In link state routing, the link costs and the network topology are known to all nodes (for example by broadcasting these values). ● What is an example of a link state routing algorithm? Link state routing consists of: Initialization step: All currently known least-cost paths from (u) source node to its direct attached neighbors. Loop (Iterations): A loop is executed for every destination to (v) every other node in the network. During each iteration we're looking for sets of nodes that are NOT included in the initialization and identify the node (w) with the least cost path from the previous iteration. Exit: It exits by returning the shortest paths and their costs from the source node to every other node in the network. ● Walk through an example of the link state routing algorithm.[1] [2] [3] [4] I wonder if it's meant for us to go through an iteration instead of giving the logic behind the algorithm. Maybe, I wasn't entirely sure how to answer that one. I'll post a comment in piazza later today. It would be good to know if we are going to be given some values and have to go through an iteration. Did you ever get an answer? Initialization: N' (set only including source node u) = {u} for all nodes v: If v is a neighbor of u: Then D(v) = c(u,v) Else: D(v) = ∞ Loop: Find w not in N' such that D(w) is a minimum: Add w to N' Update D(v) for each neighbor v of w and NOT in N': D(v) = min( D(v), D(w) + c(w,v) ) / new cost to v is either old cost to v or known least path cost to w plus cost from w to v / Exit: Until N' = N ● What is the computational complexity of the link state routing algorithm? In other words, in the worst case, how many computations are needed to find the least-cost paths from the source to all destinations in the network? In the first iteration we need to search through all nodes to find the node with the minimum path cost. But as we proceed in the next iterations, this number decreases. So in the second iteration we search through (n-1) nodes. This decrease continues at every step. So by the end of the algorithm, after we go through all the iterations, we will need to search through n(n+1)/2 nodes. Thus the complexity of the algorithm is in the order of n squared O(n^2). What is the main idea behind the distance vector routing algorithm? The Distance Vector algorithm is based on the Bellman Ford algorithm, which states each node exchanges their distance vectors to its neighbors which update their own view of the network. It is an iterative that loops until the neighbors do not have new updates to send to each other. It's also asynchronous which means it does not require the nodes to be synchronized with each other (not requiring the latest updates when they are not ready, while still ensuring convergence). Finally it's distributed which means direct nodes send information to one another, then they resend their results back after performing the calculation locally on that node, this means that each node has its own computing power and is not a centralized network. Helpful hint: There are videos on Udacity from the previous classes at Georgia Tech that explain this, and other concepts, in more detail. I found these videos extremely helpful to further understand several concepts in the chapters covered. Here is the video I found: Thanks, this was more helpful and added additional insight. ● Walk through an example of the distance vector algorithm. Each node x updates its own distance vector using the Bellman Ford equation: Dx(y) = minv{c(x,v) + Dv(y)} for each destination node y in the network. A node x, computes the least cost to reach destination node y, by considering the options that it has to reach y through each of its neighbor v. So node x considers the cost to reach neighbor v, and then it adds the least cost from that neighbor v to the final destination y. It calculates that quantity over all neighbors v and it takes the minimum. ● When does the count-to-infinity problem occur in the distance vector algorithm? When two or more nodes keep updating their values and informs the neighbors of the change and they in turn update their values causing the original root to update its value again. This continues for a long time in a constant loop. This happens primarily when a neighbor's advertised path includes the present node's path as a loop. ● How does poison reverse solve the count-to-infinity problem? Called poison reverse: since z reaches x through y, z will advertise to y that the distance to x is infinity (Dz(x)=infinity). However z knows that this is not true and Dz(x)=5. z tells this lie to y, as long as it knows that it can reach to x via y. Since y assumes that z has no path to x except via y, it will never send packets to x via z. So z poisons the path from z to y. ● What is the Routing Information Protocol (RIP)? The Routing Information Protocol (RIP) is based on the Distance Vector protocol. The first version, released as a part of the BSD version of Unix, uses hop count as a metric (i.e. assumes link cost as 1). The metric for choosing a path could be shortest distance, lowest cost or a load-balanced path. In RIP, routing updates are exchanged between neighbors periodically, using a RIP response message, as opposed to distance vectors in the DV Protocols. These messages, called RIP advertisements, contain information about sender's distances to destination subnets. What is the Open Shortest Path First (OSPF) protocol? Open Shortest Path First (OSPF) is a routing protocol which uses a link state routing algorithm to find the best path between the source and the destination router. It is a link-state protocol that uses flooding of link-state information and a Dijkstra least-cost path algorithm. Advances include authentication of messages exchanged between routers, the option to use multiple same cost paths, and support for hierarchy within a single routing domain. How does a router process advertisements? The router consists of a route processor (which is the main processing unit) and interface cards that receive data packets which are forwarded via a switching fabric. Let us break down router processing in a few steps: 1. Initially, the LS update packets which contain LSAs from a neighboring router reaches the current router's OSPF (which is the route processor). This is the first trigger for the route processor. As the LS Updates reach the router, a consistent view of the topology is being formed and this information is stored in the link-state database. Entries of LSAs correspond to the topology which is actually visible from the current router. 2. Using this information from the link-state database, the current router calculates the shortest path using the shortest path first (SPF) algorithm. The result of this step is fed to the Forwarding Information Base (FIB) 3. The information in the FIB is used when a data packet arrives at an interface card of the router, where the next hop for the packet is decided and its forwarded to the outgoing interface card. What is hot potato routing? Hot potato routing is a technique/practice of choosing a path within the network, by choosing the closest egress point(network exit) based on intra domain path cost (Interior Gateway Protocol/IGP cost). Hot potato routing simplifies computations for the routers as they are already aware of the IGP path costs. It makes sure that the path remains consistent, since the next router in the path will also choose to send the packet to the same egress point. Hot potato routing also effectively reduces the network's resource consumption by getting the traffic out as soon as possible. ● Describe the relationships between ISPs, IXPs, and CDNs. The Internet is a complex ecosystem. It is built with a network of networks. These networks include (ISPs) Internet Service Providers, (IXPs) Internet Exchange Points, (CDNs) Content Delivery Networks. In 2019, there were apx. 500 IXPs around the world. large scale Tier-1 ISPs that operate at a global scale, and essentially they form the "backbone" network over which smaller networks can connect IXPs are interconnection infrastructures, which provide the physical infrastructure, where multiple networks (eg ISPs and CDNs) can interconnect and exchange traffic locally. CDNs are networks that are created by content providers with the goal of having greater control of how the content is delivered to the end-users, and also to reduce connectivity costs. Some example CDNs include Google and Netflix. These networks have multiple data centers - and each one of them may be housing hundreds of servers - that are distributed across the world. ● What is an AS? AS stands for autonomous systems. ISPs, IXPs and CDNs can all operate as an AS. An AS is a group of routers including the links among them that operate under the same administrative authority. ● What kind of relationship does AS have with other parties? An AS is independent of other ASes. They set their own policies, make its own traffic engineering decisions and interconnection strategies and also determine how the traffic leaves and enters the network. ● What is BGP? BGP stands for Border Gateway Protocol. The border routers of ASes use BGP to exchange routing information with each other. ● How does an AS determine what rules to import/export? AS business relationships drive an AS' routing policies and influence which routes an AS needs to import or export. There are 3 selective transit routes: Transit customer routes, Transit Provider Routes, Peer Routes. The main rule is financial incentive. Transit customer routes peer routes transit provider routes. Similarly as exporting, ASes are selective about which routes to import based, primarily, on which neighboring AS advertises them and what type of business relationship is established. An AS receives route advertisements from its customers, providers and peers. When an AS receives multiple route advertisements towards the same destination, from multiple ASes, then it needs to rank the routes before selecting which one to import. The routes that are preferred first are the customer routes, then the peer routes and finally the provider routes. The reasoning behind this ranking is that an AS... 1. wants to ensure that routes towards its customers do not traverse other ASes unnecessarily generating costs, 2. uses routes learned from peers since these are usually "free" (under the peering agreement), 3. and finally resorts to import routes learned from providers as these will add to costs. ● What are / were the original design goals of BGP? What was considered later? The original design goals of BGP were: 1. Scalability manage the complications of this growth, while achieving convergence in reasonable timescales and providing loop free paths. 2. Express routing policies BGP has defined route attributes that allow ASes to implement policies (which routes to import and export), through route filtering and route ranking 3. Allowing cooperation among ASes individual AS can still make local decisions (which routes to import and export) while keeping these decisions confidential from other ASes. Security was considered later as the complexity and size of the Internet has been increasing. Solutions have not been widely deployed or adopted due to difficulty to transition to new protocols and lack of incentives. ● What are the basics of BGP? BGP session. A pair of routers, known as BGP peers, exchange routing information over a semi-permanent TCP port connection called a BGP session. To begin a BGP session a router will send an OPEN message to another router. Then the sending and receiving router will send each other announcements from their individual routing tables. Depending on the number of routes being exchanged, this can take from seconds up to several minutes. A BGP session between a pair of routers in two different ASes is called external BGP (eBGP) session, and a BGP session between routers that belong to the same AS is called internal BGP (iBGP) session. BGP messages. After a session is established between BGP peers, the peers can exchange BGP messages to provide reachability information and enforce routing policies. We have two types of BGP messages: UPDATE Announcements: These messages advertise new routes and updates to existing routes. They include several standardized attributes. Withdrawals: These messages are sent when a previously announced route is removed. This could be due to some failure or due to a change in the routing policy. 2. KEEPALIVE: These messages are exchanged to keep a current session going. BGP prefix reachability. In the BGP protocol, destinations are represented by IP Prefixes. Each prefix represents a subnet or a collection of subnets that an AS can reach. Gateway routers running eBGP advertise the IP Prefixes they can reach according to the AS's specific export policy to routers in neighboring ASes. Then, using separate iBGP sessions, the gateway routers disseminate routes to internal routers according to the AS's import policy. Internal routers run iBGP to propagate the routes to other internal iBGP speaking routers. Path Attributes and BGP Routes. In addition to the reachable IP prefix field, advertised BGP routes consist of a number of BGP attributes. Two notable attributes are AS-PATH and NEXT-HOP. AS-PATH. Each AS, as identified by the AS's autonomous system number (ASN), that the route passes through is included in the AS-PATH. This attribute is used to prevent loops and to choose between multiple routes to the same destination, the route with the shortest path. NEXT-HOP. This attribute refers to the IP address (interface) of the next-hop router along the path towards the destination. Internal routers use the field to store the IP address of the border router. Internal BGP routers will have to forward all traffic bound for external destinations through the border router. If there is more than one such router on the network and each advertises a path to the same external destination, NEXT-HOP allows the internal router to store in the forwarding table the best path according to the AS routing policy. ● What is the difference between iBGP and eBGP? In the previous topic we saw that we have two flavors of BGP: eBGP (for sessions between border routers of neighboring ASes) and iBGP (for sessions between internal routers of the same AS). Both protocols are used to disseminate routes for external destinations. The eBGP speaking routers learn routes to external prefixes and they disseminate them to all routers within the AS. This dissemination is happening with iBGP sessions. ● What is the difference between iBGP and IGP-like protocols (RIP or OSPF)? iBGP is not another IGP-like protocol (eg RIP or OSPF). IGP-like protocols are used to establish paths between the internal routers of an AS based on specific costs within the AS. In contrast, iBGP is only used to disseminate external routes within the AS. ● How does a router use the BGP decision process to choose which routes to import? The router compares routes by going through a list of attributes and chooses the path with the lowest amount of hops, in the simplest scenario. The router uses a decision tool called LocalPref attribute which is the preferred route learned through a specific AS over other ASes. An AS ranks routes by first preferring the routes learned from its customers, then the routes learned from its peers, and finally from the routes learned from its providers. Another attribute that can affect routing decisions is the MED (Multi-Exit Discriminator) attribute. This is used by ASes connected by multiple links to designate which of those links are preferred for inbound traffic. ● What are two main challenges with BGP? Why? Two main challenges are misconfigurations and faults. A misconfiguration can result in an excessively large number of updates which in turn can result in route instability, router processor and memory overloading, outages, and router failures. IXP stands for Internet Exchange Point. They provide physical infrastructure for ASes to interconnect and directly exchange traffic with each other. The physical infrastructure of an IXP is usually a network of switches that are located either in the same physical location, or they can be distributed over a region or even at a global scale. Typically, the infrastructure has fully redundant switching fabric that provides fault-tolerance, and the equipment is usually located in facilities such as data centers to provide reliability, sufficient power and physical security. ● What is an IXP? IXPs are physical infrastructures that provide the means for ASes to interconnect and directly exchange traffic with one another. The ASes that interconnect at an IXP are called participant ASes. The physical infrastructure of an IXP is usually a network of switches that are located either in the same physical location, or they can be distributed over a region or even at a global scale. ● What are four reasons for IXPs increased popularity? 1. IXPs are large interconnection hubs handling large traffic volumes. Some large IXPs handle as much traffic as Tier 1 ISPs 2. They play an important role in mitigating DDoS attacks 3. The "real world" infrastructures provide an excellent research playground for multiple applications 4. IXPs are active marketplaces and technology innovation hubs. They are providing new services beyond interconnection like DDoS mitigation or SDN-based services ● Which services do IXPs provide? IXPs provide: 1. Public Peering 2. Private Peering 3. Route Servers and Service Level Agreements (SLAs) 4. Remote peering through resellers 5. Mobile Peering 6. DDoS Blackholing 7. Free value-add services: Extra things for the "good of the internet" like Consumer broadband tests, DNS root name servers and distribution of local time through NTP ● How does a route server work? A route server: ● Collects and shares routing information from its peers or participants that connects with (i.e. IXP members that connect to the RS). ● Executes its own BGP decision process and also re-advertise the resulting information (I.e. best route selection) to all RS's peer routers. ● Also known as Multi-lateral BGP peer sessions. (L1) How did Licklider and his team in the early 1960s experiment w/ a precursor to the Internet? Connecting two computers over a dial up telephone line (L1) What is the Domain Name System design to do primarily? Translate domain names into IP addresses (L1) What is the architectural design of the Internet protocol stack based on? Layers (L1) Both the data link and transport layer protocols may provide error correction. True (L1) What allows for communication between application layer and transport layer? Sockets (L1) Which of the follow protocols belong to the application layer? UDP DNS IP Ethernet DNS (L1) Which two protocols belong in the transport layer? UDP & TCP (L1) When an application sends a packet of information across the network, this packet ravels down the IP stack and undergoes what process? Encapsulation (L1) According to the end-to-end principle, where should most of the Internet's functionality/intelligence be implemented? At the edges of the network (L1) What is the difference between hubs, bridges, and routers? They operate at different layers of the IP stack. (L2) The transport layer protocols offer a logical connection between processes only if the hosts reside in the same network False (L2) A sending host receives a message from the application and encapsulates it with the transport layer headers before passing it down to the network layer. True (L2) An application running on a host can bind to multiple sockets simultaneously. True (L2) The identifier of a UDP socket is a tuple of destination IP address and port. True (L2) The identifier of a TCP socket is a tuple of source IP address and port. False (L2) UDP is considered more lightweight than TCP. True (L2) One of the functionalities that UDP offers is to increase or decrease the pace with which the sender sends data to the receiver. False (L2) UDP offers basic error checking True (L2) Assume Hosts A,B, and C. Host A has a UDP socket with port 123. Hosts B and C each send their own UDP segment to host A. Hosts B and C cannot use the same destination port 123 for sending their UDP segment False (L2) TCP offers in-order delivery of the packets, flow control, and congestion control. True (L2) TCP detects packet loss using timeouts and triple duplicate acknowledgments. True (L2) Flow control is a rate control mechanism to protect the receiver's buffer from overflowing True (L2) Congestion control is a rate control mechanism to protect the network from congestion. True (L2) In TCP, the number of unacknowledged segments that a sender can have is the minimum of the congestion window and the receive window. True (L2) Consider the TCP Reno, congestion window is cut in half in both of the following events: a) a timeout occurs b) triple duplicate acknowledgement occurs. False (L2) Consider a TCP connection and a diagram showing the congestion as it progresses. From the diagram, when we observe the congestion window drop to its initial value, we infer that a packet loss occurred. True (L2) Consider a TCP connection and a diagram that shows how the congestion window progresses over time. From the diagram we can identify the time periods of slow start when the congestion window increases by 1 every RTT. False (L2) TCP Cubic was designed for a better network utilization. True (L2) TCP Cubic congestion window growth function is designed to not overflow the receiver's buffer. False (L2) TCP Cubic uses a cubic function to increase the congestion windw. True (L2) TCP Cubic increases the congestion window in every RTT. False (L3) "Routing" and "forwarding" are interchangeable terms False (L3) Consider a source and destination host. Before packets leave the source host, the host needs to define the path over which the packets will travel to reach the destination host. False (L3) Intradomain routing refers to routing that takes place among routers that belong to the same admin domain. In contrast when routers belong to different admin domains, we refer to routing as interdomain routing. True (L3) Consider the link-state routing protocol. The link costs are known to all nodes. True (L3) Consider the link-state routing protocol. The network topology is known to all nodes. False (L3) Consider the link-state routing protocol and a node u as our source node. The goal of the algorithm is to compute the least-cost paths from the source node u to every other node in the network. True (L3) Consider the link-state routing protocol with a node u as our source node. Consider the initialization of the algorithm. We initialize the least-cost path from node u to directly attached neighbors we initialize the least-cost path to be infinity. True (L3) The distance vector routing algorithm continues iterating as long as neighbors sense new updates to each other. True (L3) The distance vector routing algorithm is an example of a ____ algorithm. Distributed/decentralized (L3) The distance vector routing algorithm requires synchronization between routers. False (L3) In the distance vector routing algorithm, each node maintains and updates its own view of the network. True (L3) Consider the distance routing algorithm. Which is used by each node to update the node's distance vector? The Bellman Ford equation (L3) The count to infinity problem states that good news (ie a decrease in a link cost) propagates slowly among nods in a network. False (L3) The poison reverse technique solves the count-to-infinity problem for all network topologies. False (L3) The Routing Information Protocol (RIP) is based on the Distance Vector protocol. True (L3) Open Shortest Path First (OSPF) is based on the link state routing algorithm. True (L3) The number of egress points that a network has is upper bounded ie two or three egress points per network. False (L3) Consider a network with multiple egress points. Further consider that these egress points offer different paths to the same external destinations. Then these paths must have different costs. False (L3) According to the hot potato routing technique, it is in a network's best interest to route the traffic so that it exits the network at the router geographically closest to the one from which it entered the network. False (L3) Assume a source and a destination host. As packets travel over a path from the source host to the destination host the packets are handled by multiple routers over that path. If these routers belong to different administrative domains, they need to run the same intradomain routing algorithm, since they are on the same path for that pair of hosts. False (L1 P1) Some data link protocols such as 802.11 (WiFi), implement some basic error correction as the physical medium used is easily prone to interference and noise (such as a nearby running microwave). Is this a violation of the end to end principle? No (L1 P2) Which of the following are ramifications of the "hourglass shape of the internet"? Many technologies that were not originally designed for the internet have been modified so that they have versions that can communicate over the internet (such as Radio over IP). True Modifying a technology so that it is compatible with the rest of the internet great enhances market penetration (from the vendor's perspective) and/or decreases the amount of extra development that would need to happen. (L1 P2) Which of the following are ramifications of the "hourglass shape of the internet"? It has been a difficult and slow process to transition to IPv6 despite the shortage of public IPv4 addresses. True A big part of the internet infrastructure uses IPv4 while the cost of transitioning is high. This is a reflection of the narrow waist. (L1 P2) Which of the following are ramifications of the "hourglass shape of the internet"? Applications like BitTorrent leverage peer-to-peer networking instead of a more traditional client-server model for better performance. True Not relevant here. The hourglass shape refers to internet architecture in terms of protocols available at the different layers. (L1 P3) Consider the following statements about the Spanning Tree Algorithm (STA) (used in bridges), a network used to organize and manage network paths. Which is correct? The STA helps to manage data flow in networks to prevent overwhelming traffic, known as "broadcast storms" True This is the purpose of the STA. Although it is still possible to have broadcast storms on the network (such as from a bad network card), STA prevents broadcast storms that result from having loops present in the network topology. (L1 P3) Consider the following statements about the Spanning Tree Algorithm (STA) (used in bridges), a network used to organize and manage network paths. Which is correct? In the STA, the root of the spanning tree is always positioned centrally to minimize the distance to all other network nodes. False STA presented guarantees a unique spanning tree that all the nodes will agree to, but sometimes this is not optional tree. Network administrators can configure the switch IF if they want to have specific spanning tree. (L1 P3) Consider the following statements about the Spanning Tree Algorithm (STA) (used in bridges), a network used to organize and manage network paths. Which is correct? When using STA, data cannot be sent over a network link that the algorithm has deactivated or put into an inactive state. False Traffic can still reach the link, but the link is not used to forward traffic. (L2 P1) As we have seen, UDP and TCP use port numbers to identify the sending application and destination application. Why don't UDP and TCP just use process IDs rather than define port numbers? Process IDs are specific to operating systems and therefore using process IDs rather than a specifically defined port would make the protocol operating system dependent. Also a single process can set up multiple channels of communications and so using process ID as destination identifier wouldn't be able to properly demultiplex. Finally, having processes listen on well-known ports (like 90 for http) is an important convention. (L2 P2) UDP and TCP use 1's complement for their checksums. But why is it that UDP takes the 1's complement of the sum - why not just use the sum? Exploring this further, using t's complement, how does the receiver compute and detect errors? Using 1's complement, is it possible that a 1-bit error will go undetected? What about a 2-bit error? To detect errors, the receiver adds the four words (the three original words and the checksum). If the sum contains a zero, the receiver knows there has been an error. While all one-bit errors will be detected, but two-bit errors can be undetected (ie if the last digit of the first word is converted to a 0 and the last digit of the second word is converted to a 1) (L2 P3) TCP utilizes AIMD policy for fairness. Other possible policies for fairness in congestion control would be Additive Increase Additive Decrease (AIAD), Multiplicative Increase Additive Decrease (MIAD) and Multiplicative Increase Multiplicative Decrease (MIMD). Would these other policies converge? if so, how would their convergence behavior differ from AIMD? In AIAD and MIMD, the plotted throughput line will oscillate over the full bandwidth utilization line but will not converge as was shown for AIMD. On the other hand, MIAD will converge. None of these are stable. (L2 P4) Explain how TCP Cubic the congestion window growth becomes independent of RTTs. The key feature of CUBIC is that its window growth depends only on the time between two consecutive congestion events. One congestion event is the time when TCP undergoes fast recovery. This feature allows CUBIC flows competing in the same bottleneck to have approximately the same window size independent of their RTTs, achieving good RTT-fairness. (L3 P1) In this lecture, we discuss intradomain routing, where all the nodes and subnets are owned and managed by the same organization. (In contract, interdomain routing is about routing between different organizations - such as between two ISPs) Before we being talking about intradomain routing algorithms, what could the weights on the graph edges represent in these diagrams, when we are seeking the least cost path between two nodes? Length of cable, time delay to traverse the link, monetary cost, link capacity, and current load on the link (this is not static so it can dramatically change the traffic) It does not include business relationships. (L3 P1) A packet is ___ when it is moved from a router's input link to the appropriate link. Forwarded (L3 P1) Which action is network-wide (ie involved multiple routers) - Routing or Forwarding? Routing (L3 P1) Intradomain routing must involve multiple admin domains. False (L3 P2) Consider x to be the source node this time instead of u. Supposed x is executing the linkstate algorithm and just finished the initialization step. Which is true? Node X will execute fewer iterations than node u did, as there are fewer infinity distance nodes after initialization. Node X will execute the same number of iterations that node u did, as the number of immediate neighbors has no impact on the number of iterations the algorithm requires. Node X will execute more iterations than node u did, as there are more immediate neighbors to consider. Node X will execute the same number of iterations that node u did, as the number of immediate neighbors has no impact on the number of iterations the algorithm requires. (L3 P2) In Dijkstra's algorithm, all nodes in a network are aware of the entire network topology only after the algorithm's termination. False (L3 P2) Use Dijkstra's algorithm to determine the cost to each path from b to all other nodes. a: 3 c: 4 d: 6 e: 8 f: 9 (L3 P3) Select words that describe the distance vector algorithm Distributed Centralized Iterative Asynchronous Synchronous Non-terminating Distributed Iterative Asynchronous (L3 P3) Determine which of the following can cause the count-to-infinity problem Poison reversing Routing loops Hot potato routing Dropped packets Routing loops (L3 P4) Dijkstra's algorithm is a ____(1) routing algorithm, which is also referred to as a ____(2) algorithm. (1) global OR decentralized (2) link-state OR distance-vector Dijkstra's algorithm is a global routing algorithm, which is also referred to as a link-state algorithm. (L3 P4) The Bellman Ford equation is used by the ___(1) algorithm. (1) link-state OR distance-vector The Bellman Ford equation is used by the distance-vector algorithm. The Routing Information Protocol (RIP) is an example of: a link-state algorithm a distance vector algorithm poison reverse an interdomain routing algorithm an intradomain routing algorithm The Routing Information Protocol (RIP) is an example of: a distance vector algorithm an intradomain routing algorithm (L3 P5) There may be multiple egress points from an administrative domain to an external destination. True (L3 P5) Hot potato routing always selects the egress point that is geographically closest to the ingress point. False (L4) The internet topology has been evolving to an increasingly prominent hierarchical structure. False (L4) An Autonomous System operates across multiple administrative domains. False - ISPs operate across multiple admin domains. Typically an AS is one admin domain. (L4) For two ASes to form a peering agreement, they need to find common ground regarding the internal policies and traffic engineering approaches that each AS implements. False (L4) A Content Distribution Network (CDN) or an ISP can operative over multiple Autonomous Systems. True (L4) Consider the figure. C1 C2 and C3 are customers of ISP-X. ISP-P is a provider of ISP-X. ISP-X has the incentive to advertise routes for C3 to Y. True (L4) Consider the figure. C1 C2 and C3 are customers of ISP-X. ISP-P is a provider of ISP-X. ISP-X has the incentive to advertise the routes for P's customers to Y and Z. False (L4) Consider the figure. C1 C2 and C3 are customers of ISP-X. ISP-P is a provider of ISP-X. Assume that AS-X learns multiple routes for the same external destination W. These multiple routes are advertised from C3, from Y, and from P. How would AS-X rank these routes before deciding which one to import? C3, Y, and P (L4) Consider the topology below and types of BGP sessions the routers form Select the true statements (A) R-A1 - R-A3: iBGP (B) R-B1 - R-A3: eBGP (C) R-B3 - R-D2: iBGP (D) R-D3 - R-D2: eBGP (A) R-A1 - R-A3: iBGP (B) R-B1 - R-A3: eBGP (L4) Assume that router R-D2 learns about a router to a destination in AS-A. How would router R-D2 disseminate this route to R-D3 and R-D1? iBGP (L4) Assume that router R-D2 learns about a router to a internal destination in AS-D. How would router R-D2 disseminate this route to R-D3 and R-D1? IGP (L4) Assume that router R-B1 learns about a router to a destination in AS-C. How would router R-B1 disseminate this route to R-A3? eBGP (L4) Sin

Show more Read less
Institution
Course

Content preview

CS 6250 Quiz 1 (All Quizzes) Latest Update | Verified
Questions and Correct Answers | Complete Study Guide –
Georgia Institute of Technology
2026/2027 | GRADED A+ | 100 out of 100




Question:

How did LIcklider and his team in the early 1960s experiment with a precursor to the Internet?

Answer

Connecting two computers over a dial-up telephone line




Question:

What is the DNS designed to do primarily

Answer

Translate domain names into IP addresses




Question:

What is the architecture design of the internet protol stack based on?

Answer

Layers




Question:

Both the data link and transport layer provide error correction

Answer

True

,Question:

What allows for communication between the application layer and transport layer

Answer

Socket



Question:

Whis protocol belongs to application layer?

Answer

DNS(Domain Name Service)




Question:

Which two protocols belong to the transport layer?

Answer

TCP, UDP




Question:

When an application sends a packet of information across the network, this packt travels down the IP stack and
undergoes what process?

Answer

Encapsulation

,Question:

According to the e2e principle, where should most of the Internet's functionality/Intelligence be implemented

Answer

At the edges of a network




Question:

The difference between hubs, bridges, and routers?

Answer

Hubs: physical layer; bridge: data-link layer; routers:network layer



Question:

What are advantages and disadvantages of a layered architecture?

Answer

Each protocol layer offers different services. Some advantages are scalability, flexibility, and ease of adding / removing
components making it easier for cost-effective implementations. Disadvantages include: some layers functionality
depends on the information from the other layer and violates the goal of layer separation; one layer may duplicate
lower layer functionalities; overhead both in computation and in message headers caused by abstraction barriers
between layers.




Question:

What are the differences and similarities of the OSI model and five-layered Internet model?

Answer

The OSI model and the 5-layered Internet Model have many of the same layers, with the difference being three of the
layers are combined in the 5-layered model. Specifically the five-layer model combines the application, presentation,
and session layers from the OSI model into a single application layer.




Question:

What are sockets?

Answer

, A network socket is a software structure within a network node of a computer network that serves as an endpoint for
sending and receiving data across the network. The structure and properties of a socket are defined by an application
programming interface (API) for the networking architecture. Sockets are created only during the lifetime of a process
of an application running in the node.https://en.wikipedia.org/wiki/Network_socket."A process sends messages into,
and receives messages from, the network through a software interface called a socket. Let's consider an analogy to help
us understand processes and sockets. A process is analogous to a house and its socket is analogous to its door....a
socket is the interface between the application layer and the transport layer within a host." - Kurose and Ross, 2.1




Question:

Describe each layer of the OSI model.

Answer

Application layer: Service, Interface, Protocol. Ex: Turn on your smartphone and look at the list of apps. (HTTP,
SMTP, FTP, DNS)

Presentation layer: Plays intermediate role of formatting the information received from the layer below and delivering
it to the application layer. Ex: converting big endian to little endian.

Session layer: Responsible for the mechanism that manages the different transport streams that belong to the same
session between end-user and application process. Ex: teleconference app, it is responsible for tying together audio
and video streaming.

Transport layer: Responsible for the end-to-end communication between end hosts. 2 transport protocols, TCP and
UDP. TCP includes a connection-oriented service to the applications that are running on the layer above, guaranteed
delivery of the application-layer messages, flow control, and congestion control mechanism. UDP provides a
connectionless, best-effort service to the applications that are running in the layer above without reliability, flow, or
congestion control. In this layer the packet is called a segment.

Network layer: This layer is responsible for moving the packet of information, called a datagram, from one host to
another. The network layer is responsible for delivering the datagram to the Transport layer on the destination host. In
this layer there are the IP Protocol and the routing tables.

Data Link layer: Packets are referred to as frames. Examples include: ethernet, ppp, wifi. Responsible for moving the
frames from one node (host or router) to the next node. Services offered by the data link layer protocol include reliable
delivery (transmission of the data from one transmitting node, across one link, to the receiving node.

Physical layer: This layer is the actual hardware responsible to transfer bits within a frame between two nodes
connected through a physical link. Ex: Ethernet (twisted-pair copper, coax, fiber-optics).




Question:

Provide examples of popular protocols at each layer of the five-layered Internet model.

Answer

Application: NFS, DNS, SNMP, ftp, rcp, telnet, HTTP

Transport: TCP, UDP

Written for

Institution
Course

Document information

Uploaded on
March 7, 2026
Number of pages
66
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EliteStudyDocs Rasmussen College
Follow You need to be logged in order to follow users or courses
Sold
3570
Member since
5 year
Number of followers
2868
Documents
9045
Last sold
8 hours ago
High Quality Exams, Study guides, Reviews, Notes, Case Studies

Welcome to EliteStudyDocs, your ultimate destination for high-quality, verified study materials trusted by students, educators, and professionals across the globe. I specialize in providing A+ graded exam files, practice questions, complete study guides, and certification prep tailored to a wide range of academic and professional fields. P/S: CHECK OUT THE PACKAGE DEALS

4.0

699 reviews

5
383
4
128
3
78
2
39
1
71

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions