Made with ScholarlyMake flashcards like these from your own notes
Question:What does BAN stand for in network categories?
Answer:Body Area Network
Question:What is the scope of a LAN in network classification?
Answer:Local Area Network within a building
Question:What area does a CAN cover?
Answer:Campus Area Network across a campus
Question:What is the geographical extent of a MAN?
Answer:Metropolitan Area Network within a city
Question:What does WAN encompass in terms of distance?
Answer:Wide Area Network globally
Question:How are network categories classified based on distance?
Answer:By maximum distance among nodes: BAN, LAN, CAN, MAN, WAN
Question:What is a mesh topology?
Answer:Each node connected to several others, forming dense interconnections
Question:Describe a star topology.
Answer:All nodes connected to a central hub or switch
Question:What characterizes a bus topology?
Answer:All nodes connected to a single cable or bus
Question:How is a ring topology structured?
Answer:Nodes connected in a closed loop
Question:What does a tree topology resemble?
Answer:Hierarchical structure with branches and sub-branches
Question:What is a hybrid topology?
Answer:Combines elements of different topologies, like star and ring
Question:How many layers does the OSI model have?
Answer:Seven layers
Question:What is the top layer of the OSI model?
Answer:Application layer (Layer 7)
Question:Which OSI layer is responsible for data representation?
Answer:Presentation layer (Layer 6)
Question:What does the Session layer (Layer 5) manage?
Answer:Session management between applications
Question:Which OSI layer ensures end-to-end delivery?
Answer:Transport layer (Layer 4)
Question:What is the role of the Network layer (Layer 3)?
Answer:Routing and logical addressing
Question:Which layer handles framing and physical addressing?
Answer:Data Link layer (Layer 2)
Question:What is the bottom layer of the OSI model?
Answer:Physical layer (Layer 1)
Question:What are the five main functionalities of the Data Link layer?
Answer:Addressing, Framing, Error control, Flow control, Access control
Question:What does addressing in the Data Link layer involve?
Answer:Assigning physical addresses to frames
Question:What is framing in the Data Link layer?
Answer:Encapsulating data into frames with headers and trailers
Question:How does the Data Link layer handle error control?
Answer:Detecting and correcting transmission errors
Question:What is flow control in the Data Link layer?
Answer:Regulating data transmission rate between sender and receiver
Question:What does access control in the Data Link layer manage?
Answer:Determining which device has control over the shared medium
Question:What is encapsulation in networking?
Answer:Adding headers (and trailers) to data at each layer
Question:What is decapsulation?
Answer:Removing headers (and trailers) at each receiving layer
Question:In encapsulation, what does H7 represent?
Answer:Header added by the Application layer
Question:What role does the Transport layer header (H4) play?
Answer:Provides end-to-end addressing and reliability
Question:Why is a trailer (T2) added at the Data Link layer?
Answer:For error detection, like CRC
Question:How many bits is the Version field in IPv4 header?
Answer:4 bits
Question:What does the Header length field in IPv4 specify?
Answer:Length of the header in 32-bit words
Question:What is the purpose of Type of Service (ToS) in IPv4?
Answer:Specifies quality of service parameters
Question:What does Total length in IPv4 header include?
Answer:Header plus data in bytes
Question:What is Identification in IPv4 used for?
Answer:Associates fragments of a datagram
Question:What do Flags in IPv4 control?
Answer:Fragmentation behavior (3 bits)
Question:What does Fragment offset indicate in IPv4?
Answer:Position of fragment in original datagram (13 bits)
Question:What is Time to Live (TTL) in IPv4?
Answer:Hops limit to prevent infinite loops
Question:What does Protocol field in IPv4 specify?
Answer:Higher-layer protocol (e.g., TCP=6, UDP=17)
Question:What is Header checksum in IPv4 for?
Answer:Error detection in the header
Question:How many bits is the Source IP address in IPv4?
Answer:32 bits
Question:What is the Destination IP address field size?
Answer:32 bits
Question:What is the variable length of Options in IPv4?
Answer:0 to 40 bytes
Question:What is the typical size range of IPv4 header?
Answer:20 to 60 bytes
Question:In TCP sending buffer, what does pointer A indicate?
Answer:Position where sending process writes next byte
Question:What does pointer B in TCP sending buffer show?
Answer:Position where next byte is sent to network
Question:In TCP receiving buffer, what is pointer C?
Answer:Where receiving process stores next byte from network
Question:What does pointer D in TCP receiving buffer represent?
Answer:Where receiving process delivers next byte to application
Question:Why does TCP use buffers?
Answer:To handle speed differences between sender, receiver, and network
Question:How many bits is Source port in TCP header?
Answer:16 bits
Question:What is the Sequence number in TCP?
Answer:32 bits tracking byte order in stream
Question:What does Acknowledgment number in TCP confirm?
Answer:Next expected byte sequence
Question:What is HLEN in TCP header?
Answer:Header Length (4 bits)
Question:What are Flags in TCP header for?
Answer:Control bits like SYN, ACK, FIN (6 bits)
Question:What does Window size in TCP indicate?
Answer:Receiver's buffer space (16 bits)
Question:What is Checksum in TCP header?
Answer:16 bits for error detection over header and data
Question:What is Urgent pointer in TCP?
Answer:16 bits pointing to urgent data end
Question:How variable is TCP header size?
Answer:20-60 bytes due to options
Question:What is the first step in TCP 3-way handshake?
Answer:Client sends SYN
Question:What does server respond with in TCP handshake?
Answer:SYN + ACK
Question:How does client complete TCP handshake?
Answer:Sends ACK
Question:In TCP data transfer, what does Seq:3501 mean?
Answer:Sequence number starting at 3501
Question:What does Ack:2001 indicate in data transfer?
Answer:Acknowledges up to byte 2000 received
Question:What happens in TCP connection tear down first?
Answer:Client sends FIN
Question:How does server respond to FIN in TCP?
Answer:FIN + ACK
Question:What completes TCP tear down?
Answer:Client sends ACK to server's FIN
Question:In TCP retransmission timer, what triggers resend?
Answer:Timer expires without ACK
Question:What is fast retransmission in TCP?
Answer:Resend on receiving 3 duplicate ACKs
Question:In diagram (a) of TCP error control, why is Seq:3401 resent?
Answer:Lost segment, timer expires
Question:In fast retransmission diagram (b), what causes Seq:4401 resend?
Answer:Three duplicate ACK:2401 received
Question:What is Seq:4501 in TCP data transfer example?
Answer:Client's sequence for data 4501-5000
Question:What does Ack:7001 mean in the example?
Answer:Server acknowledges up to 7000 bytes
Question:How many bytes is UDP header fixed size?
Answer:8 bytes
Question:What is Source port in UDP header?
Answer:16 bits identifying sending process
Question:What does Destination port in UDP specify?
Answer:16 bits for receiving process
Question:What is Total length in UDP?
Answer:16 bits for header plus data
Question:What is Checksum in UDP used for?
Answer:16 bits optional error detection
Question:What is the maximum UDP packet size?
Answer:Up to 65536 bytes
Question:How many layers in the 4-layer TCP/IP model?
Answer:Four: Application, Transport, Internet, Network interface
Question:What corresponds to OSI's Network layer in TCP/IP?
Answer:Internet layer
Question:In 5-layer TCP/IP, what is added below Internet?
Answer:Data Link and Physical layers
Question:What protocols are in TCP/IP Application layer?
Answer:Telnet, FTP, SMTP, DNS, SNMP
Question:Which transport protocols in TCP/IP suite?
Answer:TCP and UDP
Question:What is the core protocol in Internet layer?
Answer:IP (Internet Protocol)
Question:What physical layer example in TCP/IP?
Answer:Ethernet and other physical layers
Question:How does TCP/IP differ from OSI in layers?
Answer:TCP/IP combines upper layers into Application
Question:What is the purpose of the OSI model?
Answer:Standard framework for network interoperability
Question:Why is Layer 7 called Application in OSI?
Answer:Interfaces directly with user applications
Question:What encryption might occur at Presentation layer?
Answer:Data formatting and encryption/decryption
Question:How does Session layer differ from Transport?
Answer:Manages sessions vs. end-to-end delivery
Question:What logical addresses does Network layer use?
Answer:IP addresses for routing
Question:Why is Data Link layer split into LLC and MAC sublayers?
Answer:Logical Link Control and Media Access Control
Question:What signals does Physical layer transmit?
Answer:Raw bits over medium (electrical, optical)
Question:In Data Link, how does error control work?
Answer:Using parity, checksum, or CRC
Question:What is sliding window in flow control?
Answer:Allows multiple frames before ACK
Question:In access control, what is CSMA/CD?
Answer:Carrier Sense Multiple Access with Collision Detection
Question:During encapsulation from Node i to j, what is added last?
Answer:Physical layer header H1
Question:At receiving Node j, what is removed first?
Answer:Physical layer header H1
Question:What if IPv4 header length is 20 bytes?
Answer:No options present
Question:How does TTL prevent loops?
Answer:Decrements to zero, packet discarded
Question:What Protocol value for ICMP in IPv4?
Answer:1
Question:Why 32 bits for IP addresses in IPv4?
Answer:Provides about 4 billion unique addresses
Question:In TCP buffers, what if A > B?
Answer:Data waiting to be sent
Question:What happens if C > D in receiving buffer?
Answer:Data buffered, not yet delivered
Question:How does TCP ensure reliability?
Answer:Sequence numbers, ACKs, retransmissions
Question:What is FIN flag in TCP?
Answer:Requests connection closure
Question:In 3-way handshake, why two SYN?
Answer:Both sides synchronize sequence numbers
Question:What is a duplicate ACK in TCP?
Answer:ACK with same number as previous
Question:Why fast retransmit before timer?
Answer:Reduces latency from lost packets
Question:In UDP, why no sequence numbers?
Answer:Connectionless, no reliability guarantee
Question:What advantage of UDP over TCP?
Answer:Lower overhead, faster for real-time
Question:In TCP/IP 4-layer, what is Network interface?
Answer:Combines OSI Data Link and Physical
Question:Why is TCP/IP called protocol suite?
Answer:Collection of interoperable protocols
Question:What does DNS do in TCP/IP?
Answer:Resolves domain names to IP addresses
Question:How does FTP use TCP?
Answer:For reliable file transfer
Question:What is SNMP for?
Answer:Network management and monitoring
Question:In OSI, why layered approach?
Answer:Modularity, easier troubleshooting
Question:What PDUs at each OSI layer?
Answer:Data (7-5), Segment (4), Packet (3), Frame (2), Bits (1)
Question:In encapsulation Figure 1.5, what is T2?
Answer:Trailer at Data Link layer
Question:What if IPv4 options are 40 bytes?
Answer:Maximum, makes header 60 bytes
Question:In TCP header, what is Reserved bits?
Answer:6 bits, set to zero
Question:During TCP data transfer, why ACK:5501?
Answer:Acknowledges up to 5500 bytes
Question:What is the role of Ethernet in TCP/IP?
Answer:Data Link protocol for LANs
Question:How does OSI Physical layer differ from Data Link?
Answer:Bits vs. frames
Question:What is the main goal of Data Link framing?
Answer:Define start and end of data units
Question:In TCP sending, if buffer full?
Answer:Sender pauses, window zero
Question:Why 3 duplicate ACKs for fast retransmit?
Answer:Confirms loss without ambiguity
Question:In UDP packet, can checksum be disabled?
Answer:Yes, set to zero
Question:What is the 5-layer TCP/IP sometimes called?
Answer:DOD model or Internet model
Question:How many protocols listed in TCP/IP suite figure?
Answer:About 10, including Ethernet
Question:What is the base IPv4 header without options?
Answer:20 bytes (5 words x 4 bytes)
Question:In ring topology, what if one node fails?
Answer:Can break the ring, needs dual for redundancy
Question:Why star topology popular?
Answer:Easy to add nodes, central control
Question:What is mesh full vs partial?
Answer:Full: all-to-all; partial: some connections
Question:In bus topology, what is terminator?
Answer:Prevents signal reflection at ends
Question:Tree topology advantage over bus?
Answer:Scalable hierarchy
Question:Hybrid topology example?
Answer:Star-bus combination
Question:OSI model developed by?
Answer:ISO in 1984
Question:What is PDU for Transport layer?
Answer:Segment or datagram
Question:Network layer fragmentation in IPv4?
Answer:Router breaks large packets
Question:What is Don't Fragment flag?
Answer:In IPv4 flags, prevents fragmentation
Question:TCP urgent data how handled?
Answer:Processed immediately by receiver
Question:What is TCP half-open connection?
Answer:SYN sent, no response
Question:In tear down, why ACK after FIN?
Answer:Confirms receipt of closure request
Question:UDP for what applications?
Answer:Video streaming, DNS queries
Question:TCP/IP vs OSI: which more theoretical?
Answer:OSI is reference model