Module 1: Introduction To Networking
Module 1: Introduction To Networking
Q2: Compare the OSI model and TCP/IP model in terms of number of
layers.
A2: The OSI model has 7 layers (Physical, Data Link, Network, Transport,
Session, Presentation, Application), while the TCP/IP model has 4 layers
(Network Interface, Internet, Transport, Application).
Q6: Compare twisted pair and coaxial cable in terms of bandwidth and
susceptibility to interference.
A6: Coaxial cable generally offers higher bandwidth and better resistance
to electromagnetic interference compared to twisted pair cable.
Q7: What is the main advantage of fiber optic cables over copper cables?
A7: Fiber optic cables offer much higher bandwidth, longer transmission
distances, and greater resistance to electromagnetic interference
compared to copper cables.
Module 3: Data Link Layer
Q8: What are the main functions of the Data Link Layer?
A8: The main functions of the Data Link Layer include framing, error
control, and flow control.
Q9: Explain the difference between error detection and error correction.
A9: Error detection identifies the presence of errors in transmitted data,
while error correction not only detects errors but also corrects them
without requiring retransmission.
Q18: What are the main differences between IPv4 and IPv6?
A18: IPv6 has a much larger address space (128-bit vs 32-bit), built-in
security features, and improved header structure compared to IPv4.
Q19: Explain the Dijkstra’s algorithm for shortest path routing.
A19: Dijkstra’s algorithm finds the shortest path between nodes in a graph
by iteratively selecting the unvisited node with the smallest tentative
distance and updating the distances to its neighbors.
Q20: What is the difference between Link State and Distance Vector
routing protocols?
A20: Link State protocols maintain a complete view of network topology
and calculate best paths, while Distance Vector protocols only know
distances to their neighbors and exchange this information periodically.
Q33: How do you use the ‘tracert’ command, and what information does it
provide?
A33: The ‘tracert’ command is used by typing ‘tracert [destination]’ in the
command prompt. It shows the route packets take to reach the
destination and the time taken for each hop.
Q34: What information can you obtain using the ‘netstat’ command?
A34: The ‘netstat’ command displays active TCP connections, ports on
which the computer is listening, Ethernet statistics, the IP routing table,
IPv4 statistics, and IPv6 statistics.
Q38: What information can you gather about Ethernet frames using
Wireshark?
A38: Using Wireshark, you can observe Ethernet frame details such as
source and destination MAC addresses, frame type, frame size, and the
encapsulated protocol.
Q39: How do you capture and analyze ARP packets using Wireshark?
A39: To capture ARP packets in Wireshark: 1) Start a capture, 2) Apply
filter “arp”, 3) Generate ARP traffic, 4) Analyze captured packets to see
MAC-IP address bindings and ARP request/response processes.
Q42: How do you add a new route to the routing table in Linux?
A42: Use the ‘ip route add’ command. For example: ‘sudo ip route add
10.0.0.0/24 via 192.168.1.1’ adds a route to the 10.0.0.0/24 network
through the gateway 192.168.1.1.
Q47: What are the main steps in performing file transfer using FTP?
A47: Main steps for FTP file transfer: 1) Connect to FTP server, 2)
Authenticate with username and password, 3) Navigate to the desired
directory, 4) Set transfer mode (ASCII or binary), 5) Upload or download
files, 6) Close the connection.