Combined Flashcards
(110 cards)
What is the Layered Network?
Packets travel on the network from the sending end system to the receiving end system.
Switching nodes decide which outgoing link should the packet take.
What are the key characteristics of Circuit Switching?
- Fixed path
- No extra overhead
- Constant cost per time
- Problem: If 1 link fails, all circuits fail
What are the key characteristics of Packet Switching?
- Data is sent in small packets of bits
- Routed independently
- Contains routing information: Source & Destination
- Charged for the amount of data sent
What is Frequency Division Multiplexing (FDM)?
Assigning narrow frequency bands to specific users, transmitting at max rate of narrow band for as long as they want.
What is Time Division Multiplexing (TDM)?
Assigning time slots to specific users, transmitting at max rate for a limited period of time.
What is connection-oriented communication?
Maintains connection between sender and receiver pairs across multiple transmissions (e.g., SMTP, FTP, TCP).
What is connectionless communication?
Each transmission is independent of the previous one (e.g., HTTP, UDP, IP, DHCP).
How many unique IPV4 addresses are available?
2^32 unique addresses identifying each node in internet.
What do IPV4 addresses encode?
Encoding of hierarchical arrangements of nodes into networks and subnetworks.
What uniquely identifies application processes on a computer?
Port numbers (16-bit).
What are the reserved port numbers range for well-known application processes?
Port numbers between 0 – 1023.
What is a Socket in networking?
A software interface between application process (Layer 5) and protocol (Layer 4).
What protocols are included in the TCP/IP Stack?
- Application: HTTP, DHCP, SMTP
- Transport: TCP, UDP
- Network: IP
- Data Link: Ethernet, ALOHA
- Physical: Bluetooth, Ethernet
What is the typical socket life-cycle for UDP?
- Create
- Bind
- Transfer
- Close
What is the typical socket life-cycle for TCP?
- Create
- Bind
- Connect
- Transfer
- Close
What are the main differences between TCP and UDP?
- TCP: Reliable transport, Flow Control, Connection-oriented
- UDP: Unreliable transport, No Flow Control, Connection-less
What does a network protocol specify?
A format for its PDU (Protocol Data Unit), for example, the request format for an HTTP request.
What is HTTP classified as?
Connectionless and stateless.
What is the sequence of events when URL is entered in a browser?
- Type URL in browser
- HTTP request message generated
- Open TCP socket
- DNS request made
- IP retrieved
- Send GET request to server
- Server sends HTTP response
What is Round Trip Time (RTT)?
The measure of the latency of the network: the time it takes to receive a response after initiating a request.
What is the difference between Non-persistent and Persistent connections?
- Non-persistent: Open TCP connection, send at most one object, close TCP connection
- Persistent: Open TCP connection, download multiple objects, close TCP connection
What is Pipelining in networking?
Multiple requests sent over a single TCP connection without waiting for responses.
What is Head of Line (HoL) blocking?
When the first request takes a long time to be served, causing other requests to wait.
What is the function of Web Caches?
Improve page delivery speed and reduce traffic to the origin server.