NEW
Font size
WorksheetsCN Quiz-2
Total questions: 60
Worksheet time: 30mins
The transport layer provides communication
Host-to-host
Process-to-process
Router-to-router
Link-to-link
Transport layer addressing is done using
IP address
Port numbers
MAC address
Frame id
Encapsulation and decapsulation at transport layer refer to
DNS mapping
Adding and removing header around data
Encrypting data
Multipath routing
Multiplexing in transport layer means
Sending same data twice
Combining multiple streams over one connection
Splitting packets
Filtering duplicate packets
Demultiplexing refers to
Breaking packets at routers
Delivering data to correct process using port
Dropping packets
DNS lookup
UDP is a
Connection-oriented protocol
Connectionless, unreliable protocol
Reliable stream protocol
Congestion-controlled protocol
TCP is designed to provide
Unreliable datagram service
Reliable end-to-end byte stream
Only multicast service
Only half-duplex communication
TCP connection type is
Broadcast
Multicast
Full duplex, point-to-point
Simplex
TCP is a
Message-oriented protocol
Byte-stream protocol
Datagram only protocol
File-based protocol
A TCP segment has
Only data
Only header
20-byte fixed header + optional part
8-byte header
Maximum TCP segment size depends on
TTL
MTU of link
DNS settings
HTTP method
ACK number in TCP indicates
Last received byte
Next byte expected
Connection ID
Port number
TCP window field is used for
IP addressing
Flow control
Congestion notification
Encryption
TCP FIN flag is used to
Reset connection
Establish connection
Gracefully release connection
Send urgent data
TCP SYN flag is used in
Data transfer
Connection teardown
Connection setup
Error reporting
RST flag in TCP is used to
Restart router
Reset confused connection
Increase congestion window
Send multicast traffic
UDP minimum header size is
4 bytes
6 bytes
8 bytes
20 bytes
UDP checksum is
Mandatory
Optional but recommended
Never used
Only for IPv6
When many hosts inject high traffic quickly, network suffers
Encryption loss
Congestion
Collision
Fragmentation only
Congestion occurs at
Hosts
Routers
Switches only
DNS servers
AIMD in congestion control stands for
Addictive-Interactive Minimum-Division
Additive Increase Multiplicative Decrease
Algorithmic Increase Multi-Data
Automatic IP Management Domain
DNS is used for
Routing packets
Mapping names to IP addresses
Error correction
NAT translation
DNS resource record has
2 fields
5-tuple fields
10 bits only
MAC table
SMTP uses
UDP
TCP on port 25
ICMP
FTP transport
SMTP is
Binary only
Simple ASCII protocol
Multimedia only
Encrypted by default
POP3 works on
Port 80
Port 110
Port 21
Port 443
POP3 in delete mode
Keeps mail forever
Removes mail after retrieval
Encrypts mailbox
Sends broadcast replies
IMAP4 allows
No server-side folders
Checking header before download
Mandatory delete after read
TCP reset control
MIME enables
Text-only mail
Multimedia content in email
Only attachments
Only ASCII
TELNET provides
Secure remote login
Non-secure remote login
Email delivery
DNS service
HTTP runs over
UDP
TCP at port 80
ICMP
ARP
HTTP persistent connection means
One TCP connection for all objects
New connection per object
No TCP required
UDP streaming only
HTTP response 200 means
Client error
Server error
Successful request
Redirection
IPv4 address length is
16 bits
32 bits
48 bits
128 bits
Class A address range starts from
0.0.0.0 to 127.255.255.255
128.0.0.0 to 191.255.255.255
192.0.0.0 to 223.255.255.255
224.0.0.0 to 239.255.255.255
Class C default subnet mask is
/8
/16
/24
/30
CIDR is used to
Support only class A networks
Avoid subnetting
Provide classless hierarchical addressing
Use NAT only
255.255.255.0 corresponds to
/8
/16
/24
/28
In subnetting, network portion is identified by
MAC table
Subnet mask
Port number
TTL
Private IP ranges include
10.0.0.0/8
11.0.0.0/8
200.0.0.0/8
240.0.0.0/8
NAT translates
MAC ↔ switch port
Public IP ↔ DNS
Private IPs ↔ Public IP
IPv6 ↔ IPv4 only
The device performing NAT is usually
Host PC
Router/firewall
Hub
L2 switch
Primary purpose of NAT
Increase bandwidth
Save private IPs and provide security
Reduce routing updates
Remove fragmentation
PAT (Port Address Translation) allows
One private IP only
Multiple private IPs to share one public IP
Only IPv6 translation
Routing without tables
IPv6 address size is
32 bits
64 bits
128 bits
256 bits
IPv6 uses
Dotted decimal
Hexadecimal notation
Binary text only
ASCII format
Loopback address in IPv6
127.0.0.1
0.0.0.0
::1
fe80::/10
A key benefit of IPv6 over IPv4
Packet switching change
Unlimited routing tables
Larger address space & auto-configuration
Replaces TCP
Routing decisions in networks are taken by
Physical layer
Transport layer
Network layer
Application layer
Distance Vector Routing periodically exchanges
Full link-state database
Distance vector tables with neighbors only
Only topology maps
Congestion reports
The fundamental metric used in Distance Vector Routing is
CPU cycles
Hop count or cost estimate
Power consumption
Buffer size
Count-to-Infinity problem occurs in
Link State Routing
Distance Vector Routing
Shortest path bridging
Frame relay
One common solution to Count-to-Infinity problem is
Tunneling
UDP encapsulation
Split horizon and poison reverse
NAT translation
In split horizon technique
Routes are broadcast to all networks always
Distance to unreachable node is always zero
Router does not advertise a route back on the incoming interface
Only default route is exchanged
Link State Routing requires each router to
Maintain only neighbor distances
Exchange entire topology information
Never update tables
Flood only partial updates
Link State packets are distributed by
Token passing
Stop-and-wait
Flooding
ARP broadcast
To compute shortest paths in Link State Routing, routers use
DFS
BFS
Dijkstra’s algorithm
Floyd-Warshall
VCI refers to
Virtual Channel Interface
Variable Circuit Identifier
Virtual Circuit Identifier
Virtual Connection Instrument
Packet delay in datagram networks is
Constant for all packets
Zero
Variable based on load and route
Variable based on load and route
Virtual circuits provide
Per packet route selection
A single pre-established logical path
Only LAN-based routing
No need for routing tables
