1What is the difference between routing and forwarding?
Forwarding moves packets from a router's input to the appropriate output (Data Plane), while routing determines the entire route taken from source to destination (Control Plane)
2What is the difference between packet switching and circuit switching?
Packet switching breaks data into chunks and shares resources on demand, while circuit switching reserves netweork resources (like link rates and bufferes) for the entire duration of the communication
3What are the five layers of the Internet Protocol Stack?
Application, Transport, Network, Link, and Physical
4What is a Web Cache (Proxy Server)?
A network entity with disk storage that serves HTTP requests on behalf of the origin web server to reduce response time and traffic load
5How do POP3 and IMAP differ for email access?
POP handles authorization, downloading and deletion of messages, while IMAP allows users to create folders, move messages, and search remote folders
6What does and HTTP Conditional GET do?
It Checks the freshness of the cached object by including an If-Modified-Since header in the request
7What does TCP's "Cumulative ACK"mean?
The ACK number represents the sequence number of the nest byte the reciver is expecting, implicitly acknowledging all previous bytes
8What is the difference between flow control and congestion control?
Flow control prevents the sender from overwhelming the receiver's available buffer space, while congestion control prevents the sender from overwhelming the network's router buffers
9What triggers a Fast Retransmit in TCP?
The receipt o fthree duplicate ACKs for the same data.
10How do Link State (LS) and Distance Vector (DV) routing algorithms differe?
LS is centalized and uses Dijkstra's algorithm where all routers know the complete network topology, whereas DV is decentralized and uses the Bellman-Ford equation where routers only communicate with their physicall connected neighbors
11What is the difference between OSPF and BGP?
OSPF is an intra-AS routing protocol (routing within an Autonomous System), while BGP is an inter-AS routing protocol (routing between different Autonomous Systems).
12What is the purpose of ICMP?
The Internet Control Message Protocol is used by hosts and routers to communicate network-layer information, such as error reporting and echo requests (used by ping and traceroute)
13What is CSMA/CD?
Carrier Sense Multiple Access with Collision Detection; a random access protocol where a node listens before speaking, and stops transmitting if it detects a collision
14How does a Link Layer Switch learn MAC addresses?
Through self-learning; whenever a frame is received, the switch records the source MAC address and the incoming interface in its switching table
15What is the function of the ARP protocol?
The Address Resolution Protocol translates IP addresses to MAC addresses for communication within a Local Area Network(LAN)
16Network Structure
The internet consists of the network edge (hosts/end systems like clients and servers) and the network core (the mesh of packet switches and links).
17Access Networks
End systems connect via DSL, cable modems, enterprise Ethernet, or wireless access (WiFi/Cellular)
18Security
The internet was originally designed without heavy security; today it is vulnerable to malware (viruses/worms), DoS (Denial of Service) attacks, packet sniffing, and IP spoofing.
19Paradigms
Applications operate either on a Client-Server model (where the server is always on with a permanent IP) or a Peer-to-Peer (P2P) model (where peers directly communicate and self-scale)
20Sockets
Processes communicate through a socket (API), which acts as the interface between the application and the transport layer.
21HTTP
Hypertext Transfer Protocol uses TCP port 80. It is stateless but uses cookies to track user sessions.
22Email
Relies on SMTP (TCP port 25) to push messages between servers reliably, and protocols like POP3 or IMAP for clients to pull messages to their user agents.
23Transport Layer Connection-Oriented
TCP requires a 3-way handshake to establish a logical, full-duplex, point-to-point connection.
24Transport Layer Reliable Data Transfer (RDT)
TCP guarantees delivery without errors, gaps, or duplicates using sequence numbers, ACKs, and timeout retransmissions.
25Slow Start
The congestion window (cwnd) increases exponentially (doubles every RTT) until a loss occurs or a threshold is reached.
26Congestion Avoidance
cwnd increases linearly (by 1 MSS per RTT).
27Fast Recovery
Initiated upon receiving 3 duplicate ACKs, cutting cwnd in half instead of restarting from 1 MSS.
28Link State (Dijkstra)
Computes the least-cost paths using a complete topology map. Message complexity is O(nE).
29Distance Vector (Bellman-Ford)
Nodes maintain distance estimates and update them asynchronously when neighbors share new info. Susceptible to "count-to-infinity" routing loops.
30Autonomous Systems (AS)
To solve scalability issues, routers are grouped into ASes. Intra-AS routing uses protocols like OSPF, while Inter-AS routing uses BGP.
31Managment - SNMP
(Simple Network Managment Protocol) allows mangaging servers to control network devices using a request-response model.
32Link Layer Services
Responsible for framing datagrams, link access (MAC), and error detection(CRC)
33Channel Partitioning
TDMA (Time Division) and FDMA (Frequency Division) divide the channel equally but leave unused slots idle.
34Random Access
ALOHA and CSMA allow random transmissions but suffer from collusions.
35Taking Turns
Polling and Token-Passing eliminate collisions but introduce overhead and single points of failure.
36Ethernet & Switches
Ethernet is unreliable, connectionless, and uses CSMA/CD. Switces are transparent, plug-and-play devices that filter and forward frames without needing IP configurations.
37OSPF (Open Shortes Path First)
An intra-AS routing protocol used fro routing traffic within a single Autonomouse System.
38BGP (Border Gateway Protocol)
An inter-AS routing protocol used for routing traffic between different Autonomouse Systems
39SMTP (Simple Mail Transfer Protocol)
An application-layer protocol that pushes emaail messages between servers reliably, operating on TCP port 25
40Datagrams
The basic transfer units (packets) of data in a network; the link layer is specifically responsible for framing these datagrams for physical transmission.
41MAC (Media Access Crontrol)
A sublayer of the link layer responsible for link access. Thing Adresses are physical hardware identifiers used to route frames withing a Local Area Network(LAN)
42CRC (Cyclic Redundancy Check)
An error-detection code used at the link layer to check transmitted frames for accidentall changes to raw data.
43/CD (Collision Detection)
It is a random access protocol where a node "listens" to the channel before speaking, and immediately stops transmitting if it detects a data collision