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)

Computer Networks Exam 2 Q&A

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
10-03-2025
Written in
2024/2025

Computer Networks Exam 2 Q&A

Institution
Computer Networks
Course
Computer Networks

Content preview

Computer Networks Exam 2 Q&A
Datagram - =the name of a network-layer packet



What is the difference between a router and a link-layer switch? - =Router uses IP (layer 3) address of
the packet to forward it.

Switch uses MAC (layer 2) address of packet to forward it.



Two most important network-layer functions in a datagram network? - =Forwarding and routing



Forwarding - =process of moving the packet that arrives at the input link of the router to a correct
output link. Done by using forwarding tables.



Routing - =route in which the packet flows from sender to receiver, calculated by routing algorithm.
Determines end-to-end paths that packet takes



Important network-layer functions in a virtual-circuit network - =Forwarding, routing, connection setup



Connection setup - =three-way handshake is required before data flows from source to destination.
Routers along the chosen path handshake with each other to set up connection



What are some services that network layer provides to a single packet? - =Guaranteed delivery,
guaranteed delivery with bounded delay



Applications that would benefit from ATM's CBR service model - =Telephone companies, audio/video
traffic, live multimedia apps



What are the three types of switching fabrics? Which can send multiple packets across the fabric in
parallel? - =Via memory, via bus, via interconnected network.

Switching via interconnected network, allows packets from different input ports to the same output
port.

, Do routers have IP addresses? How many? - =Every router has an IP address for each interface.



What is the 32-bit binary equivalent of the IP address 223.1.3.27? - =Each decimal number represents a
byte (8 bits).

11011111 00000001 00000011 00011011



What is DHCP? - =Dynamic Host Configuration Protocol. Allows the host in obtaining the IP address
automatically. Client-server protocol.



When one host sends a TCP segment encapsulated in an IP datagram, how does the receiving host
network layer know it should pass the segment to TCP rather than UDP or something else? - =The IP
datagram consts of an 8-bit field called Protocol, which gives info about which transport layer protocol
the segment is to be passed to.



What are the differences/similarities between the IPv4 and IPv6 headers? - =IPv6 consists of minimum
number of fields, rather than a lot of optional fields.

IPv6 has a FIXED header size (40 bytes), IPv4 header is TYPICALLY 20-bytes.

IPv6 src/dest address: 128 bits.

IPv4 src/dest address: 32 bits.



Compare/contrast link-state and distance-vector routing algorithms - =Both find best path from src
router to dest router. Both compute least-cost path.

LS computes least-cost path from src to dest with complete knowledge on network, DV computes least-
cost path in an iterative/distributed manner

LS shortest path found with Dijkstra, DV found with Bellman Ford

Open Shortest Path First (OSPF) is LS, Routing Information Protocol (RIP) is DV

LS is global, DV is decentralized (exchange info with neighbors)



Broadcast routing - =network layer provides a service of delivering a packet sent from a source node to
all other nodes in the network

Written for

Institution
Computer Networks
Course
Computer Networks

Document information

Uploaded on
March 10, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$9.99
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

Get to know the seller
Seller avatar
hurryben
3.0
(1)

Get to know the seller

Seller avatar
hurryben Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
12
Member since
2 year
Number of followers
5
Documents
1808
Last sold
11 months ago

3.0

1 reviews

5
0
4
0
3
1
2
0
1
0

Trending documents

Recently viewed by you

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

Frequently asked questions