Networking Interview Questions with Answers
For Associate Level
Q.1: What is Routing?
Ans: Routing is the process of finding a path on which data can pass from source to destination. Routing is done by a device called routers, which are network layer devices.
Q.2: What is the purpose of the Data Link?
Ans: The job of the Data Link layer is to check messages are sent to the right device. Another function of this layer is framing.
Q.3: What is the key advantage of using switches?
Ans: When a switch receives a signal, it creates a frame out of the bits that was extracted from that signal. With this process, it gains access and reads the destination address, after which it forwards that frame to the appropriate port. This is a very efficient means of data transmission, instead of broadcasting it on all ports.
Q.4: When does network congestion occur?
Ans: Network congestion occurs when too many users are trying to use the same bandwidth. This is especially true in big networks that do not resort to network segmentation.
Q.5: What is a Window in networking terms?
Ans: A Window refers to the number of segments that is allowed to be sent from source to destination before an acknowledgement is sent back.
Q.6: Does a bridge divide a network into smaller segments?
Ans: Not really. What a bridge actually does is to take the large network and filter it, without changing the size of the network.
Q.7: Which LAN switching method is used in CISCO Catalyst 5000?
Ans: This model uses the Store-and-forward switching method. It stores the entire frame to its buffers and performs a crc check before deciding whether or not to forward that data frame.
Q.8: What is the role of the LLC sublayer?
Ans: The LLC sublayer, short for Logical Link Control, can provide optional services to an application developer. One option is to provide flow control to the Network layer by using stop/start codes. The LLC can also provide error correction.
Q.9: How does RIP differ from IGRP?
Ans: RIP relies on the number of hops in order to determine the best route to a network. On the other hand, IGRP takes consideration many factors before it decides the best route to take, such as bandwidth, reliability, MTU and hop count.
Q.10: What are the different memories used in a CISCO router?
Ans: - NVRAM stores the startup configuration file
- DRAM stores the configuration file that is being executed
- Flash Memory – stores the Cisco IOS.
Q.11: What is BootP?
Ans: BootP is a protocol that is used to boot diskless workstations that are connected to the network. It is short for Boot Program. Diskless workstations also use BootP in order to determine its own IP address as well as the IP address of the server PC.
Q.12: What is the function of the Application Layer in networking?
Ans: Application Layer supports the communication components of an application and provides network services to application processes that span beyond the OSI reference model specifications. It also synchronizes applications on the server and client.
Q.13: Differentiate User Mode from Privileged Mode
Ans: User Mode is used for regular task when using a CISCO router, such as to view system information, connecting to remote devices, and checking the status of the router. On the other hand, privileged mode includes all options that are available for User Mode, plus more. You can use this mode in order to make configurations on the router, including making tests and debugging.
Q.14: What is 100BaseFX?
Ans: This is Ethernet that makes use of fiber optic cable as the main transmission medium. The 100 stands for 100Mbps, which is the data speed.
Q.15: Differentiate full-duplex from half-duplex.
Ans: In full-duplex, both the transmitting device and the receiving device can communicate simultaneously, that is, both can be transmitting and receiving at the same time. In the case of half-duplex, a device cannot receive while it is transmitting, and vice versa.
Q.16: What is MTU?
Ans: MTU stands for Maximum Transmission Unit. It refers to the maximum packet size that can be sent out onto the data line without the need to fragment it.
Q.17: How does cut-through LAN switching work?
Ans: In Cut-Through LAN switching, as soon as the router receives the data frame, it will immediately send it out again and forward it to the next network segment after reading the destination address.
Q.18: What is latency?
Ans: Latency is the amount of time delay that measures the point from which a network device receives a data frame to the time it sends it out again towards another network segment.
Q.19: Utilizing RIP, what is the limit when it comes to number of hops?
Ans: The maximum limit is 15 hop counts. Anything higher than 15 indicates that the network is considered unreachable.
Q.20: What is a Frame Relay?
Ans: Frame Relay is a WAN protocol that provides connection-oriented communication by creating and maintaining virtual circuits. It has a high performance rating and operates at the Data Link and Physical Layers.
Q.21: How do you configure a Cisco router to route IPX?
Ans: The initial thing to do is to enable IPX routing by using the “ipx routing” command. Each interface that is used in the IPX network is then configured with a network number and encapsulation method.
Q.22: What are the different IPX access lists?
Ans: There are two access lists: Standard and Extended. Standard Access List can only filter the source or destination IP address. An Extended Access List uses the source and destination IP addresses, port, socket and protocol when filtering a network.
Q.23: Explain the benefits of VLANs.
Ans: VLANs allow the creation of collision domains by groups other than just physical location. Using VLANs, it is possible to establish networks by different means, such as by function, type of hardware, protocol, among others. This is a big advantage when compared to conventional LANs wherein collision domains are always tied to physical location.
Q.24: What is subnetting?
Ans: Subnetting is the process of creating smaller networks from a big parent network. Being a part of a network, each subnet is assigned some additional parameters or identifier to indicate its subnet number.
Q.25: What are the advantages of a layered model in the networking industry?
Ans: A layered network offers many advantages. It allows administrators to make changes in one layer without the need to make changes in the other layers. Specialization is encouraged, allowing the network industry to make progress faster. A layered model also lets administrators troubleshoot problems more efficiently.
Q.26: Why is UDP lease favored when compared to TCP?
Ans: It’s because UDP is unreliable and unsequenced. It is not capable of establishing virtual circuits and acknowledgements.
Q.27: What are some standards supported by the Presentation layer?
Ans: Presentation layer supports many standards, which ensures that data is presented correctly. These include PICT, TIFF and JPEG for graphics, MIDI, MPEG and QuickTime for Video/Audio.
Q.28: What’s the simplest way to remotely configure a router?
Ans: In cases when you need to configure a router remotely, the most convenient is to use the Cisco Auto Install Procedure. However, the router must be connected to the WAN or LAN through one of the interfaces.
Q.29: What does the show protocol display?
Ans:
- routed protocols that is configured on the router
- the address assigned on each interface
- the encapsulation method that was configured on each interface
Q.30: How do you depict an IP address?
Ans: It can be done in three possible ways:
- using Dotted-decimal. For example: 192.168.0.1
- using Binary. For example: 10000010.00111011.01110010.01110011
- using Hexadecimal. For example: 82 1E 10 A1
Q.31: How do you go to privileged mode? How do you switch back to user mode?
Ans: To access privileged mode, you enter the command “enable” on the prompt. In order to get back to user mode, enter the command “disable”
Q.32: What is HDLC?
Ans: HDLC is short for High Level Data Link Control protocol, and is a propriety protocol of CISCO. It is the default encapsulation operated within CISCO routers.
Q.33: How are internetworks created?
Ans: Internetworks are created when networks are connected using routers. Specifically, the network administrator assigns a logical address to every network that connects to the router.
Q.34: What is Bandwidth?
Ans: Bandwidth refers to the transmission capacity of a medium. It is a measure of how much volume a transmission channel can handle, and is measured in Kbps.
Q.35: How does Hold-downs work?
Ans: Hold-downs prevent regular update messages from reinstating a downed link by removing that link from update messages. It uses triggered updates to reset the hold-down timer.
Q.36: What are packets?
Ans: Packets are the results of data encapsulation. These are data that has been wrapped under the different protocols of the OSI layers. Packets are also referred to as datagrams.
Q.37: What are segments?
Ans: Segments are sections of a data stream that comes from the upper OSI layers and ready for transmission towards the network. Segments are the logic units at the Transport Layer.
Q.38: Give some benefits of LAN switching.
Ans:
- allows full duplex data transmission and reception
- media rate adaption
- easy and efficient migration
Q.39: What is Route Poisoning?
Ans: Route Poisoning is the process of inserting a table entry of 16 to a route, making it unreachable. This technique is used in order to prevent problems caused by inconsistent updates on a route.
Q.40: How do you find valid hosts in a subnet?
Ans: The best way to go about this is to use the equation 256 minus the subnet mask. The hosts that are considered valid are those that can be found between the subnets.
Q.41: What is DLCI?
Ans: DLCI, or Data Link Connection Identifiers, are normally assigned by a frame relay service provider in order to uniquely identify each virtual circuit that exists on the network.
Q.42: Brielfly explain the conversion steps in data encapsulation.
Ans: From a data transmitter’s point of reference, data from the end user is converted to segments. Segments are then passed on to the other layers and converted into packets or datagrams. These packets are then converted into frames before passing on to the network interface. Finally, frames are converted to bits prior to actual data transmission.
Q.43: What are the different types of passwords used in securing a CISCO router?
Ans: There are actually five types of passwords that can be used. These are enable secret, enable, virtual terminal, console, and auxiliary.
Q.44: Why is network segmentation a good idea when managing a large network?
Ans: For a network administration, segmenting a network would help ease network traffic and ensures that high bandwidth is made available at all times for all users. This translates to better performance especially for a growing network.
Q.45: What causes a triggered update to reset the router hold-down timer?
Ans: This may happen when the hold-down timer has already expired, or when the router received a processing task that incidentally was proportional to the number of links in the internetwork.
For Professional level
For Associate Level
Q.1: What is Routing?
Ans: Routing is the process of finding a path on which data can pass from source to destination. Routing is done by a device called routers, which are network layer devices.
Q.2: What is the purpose of the Data Link?
Ans: The job of the Data Link layer is to check messages are sent to the right device. Another function of this layer is framing.
Q.3: What is the key advantage of using switches?
Ans: When a switch receives a signal, it creates a frame out of the bits that was extracted from that signal. With this process, it gains access and reads the destination address, after which it forwards that frame to the appropriate port. This is a very efficient means of data transmission, instead of broadcasting it on all ports.
Q.4: When does network congestion occur?
Ans: Network congestion occurs when too many users are trying to use the same bandwidth. This is especially true in big networks that do not resort to network segmentation.
Q.5: What is a Window in networking terms?
Ans: A Window refers to the number of segments that is allowed to be sent from source to destination before an acknowledgement is sent back.
Q.6: Does a bridge divide a network into smaller segments?
Ans: Not really. What a bridge actually does is to take the large network and filter it, without changing the size of the network.
Q.7: Which LAN switching method is used in CISCO Catalyst 5000?
Ans: This model uses the Store-and-forward switching method. It stores the entire frame to its buffers and performs a crc check before deciding whether or not to forward that data frame.
Q.8: What is the role of the LLC sublayer?
Ans: The LLC sublayer, short for Logical Link Control, can provide optional services to an application developer. One option is to provide flow control to the Network layer by using stop/start codes. The LLC can also provide error correction.
Q.9: How does RIP differ from IGRP?
Ans: RIP relies on the number of hops in order to determine the best route to a network. On the other hand, IGRP takes consideration many factors before it decides the best route to take, such as bandwidth, reliability, MTU and hop count.
Q.10: What are the different memories used in a CISCO router?
Ans: - NVRAM stores the startup configuration file
- DRAM stores the configuration file that is being executed
- Flash Memory – stores the Cisco IOS.
Q.11: What is BootP?
Ans: BootP is a protocol that is used to boot diskless workstations that are connected to the network. It is short for Boot Program. Diskless workstations also use BootP in order to determine its own IP address as well as the IP address of the server PC.
Q.12: What is the function of the Application Layer in networking?
Ans: Application Layer supports the communication components of an application and provides network services to application processes that span beyond the OSI reference model specifications. It also synchronizes applications on the server and client.
Q.13: Differentiate User Mode from Privileged Mode
Ans: User Mode is used for regular task when using a CISCO router, such as to view system information, connecting to remote devices, and checking the status of the router. On the other hand, privileged mode includes all options that are available for User Mode, plus more. You can use this mode in order to make configurations on the router, including making tests and debugging.
Q.14: What is 100BaseFX?
Ans: This is Ethernet that makes use of fiber optic cable as the main transmission medium. The 100 stands for 100Mbps, which is the data speed.
Q.15: Differentiate full-duplex from half-duplex.
Ans: In full-duplex, both the transmitting device and the receiving device can communicate simultaneously, that is, both can be transmitting and receiving at the same time. In the case of half-duplex, a device cannot receive while it is transmitting, and vice versa.
Q.16: What is MTU?
Ans: MTU stands for Maximum Transmission Unit. It refers to the maximum packet size that can be sent out onto the data line without the need to fragment it.
Q.17: How does cut-through LAN switching work?
Ans: In Cut-Through LAN switching, as soon as the router receives the data frame, it will immediately send it out again and forward it to the next network segment after reading the destination address.
Q.18: What is latency?
Ans: Latency is the amount of time delay that measures the point from which a network device receives a data frame to the time it sends it out again towards another network segment.
Q.19: Utilizing RIP, what is the limit when it comes to number of hops?
Ans: The maximum limit is 15 hop counts. Anything higher than 15 indicates that the network is considered unreachable.
Q.20: What is a Frame Relay?
Ans: Frame Relay is a WAN protocol that provides connection-oriented communication by creating and maintaining virtual circuits. It has a high performance rating and operates at the Data Link and Physical Layers.
Q.21: How do you configure a Cisco router to route IPX?
Ans: The initial thing to do is to enable IPX routing by using the “ipx routing” command. Each interface that is used in the IPX network is then configured with a network number and encapsulation method.
Q.22: What are the different IPX access lists?
Ans: There are two access lists: Standard and Extended. Standard Access List can only filter the source or destination IP address. An Extended Access List uses the source and destination IP addresses, port, socket and protocol when filtering a network.
Q.23: Explain the benefits of VLANs.
Ans: VLANs allow the creation of collision domains by groups other than just physical location. Using VLANs, it is possible to establish networks by different means, such as by function, type of hardware, protocol, among others. This is a big advantage when compared to conventional LANs wherein collision domains are always tied to physical location.
Q.24: What is subnetting?
Ans: Subnetting is the process of creating smaller networks from a big parent network. Being a part of a network, each subnet is assigned some additional parameters or identifier to indicate its subnet number.
Q.25: What are the advantages of a layered model in the networking industry?
Ans: A layered network offers many advantages. It allows administrators to make changes in one layer without the need to make changes in the other layers. Specialization is encouraged, allowing the network industry to make progress faster. A layered model also lets administrators troubleshoot problems more efficiently.
Q.26: Why is UDP lease favored when compared to TCP?
Ans: It’s because UDP is unreliable and unsequenced. It is not capable of establishing virtual circuits and acknowledgements.
Q.27: What are some standards supported by the Presentation layer?
Ans: Presentation layer supports many standards, which ensures that data is presented correctly. These include PICT, TIFF and JPEG for graphics, MIDI, MPEG and QuickTime for Video/Audio.
Q.28: What’s the simplest way to remotely configure a router?
Ans: In cases when you need to configure a router remotely, the most convenient is to use the Cisco Auto Install Procedure. However, the router must be connected to the WAN or LAN through one of the interfaces.
Q.29: What does the show protocol display?
Ans:
- routed protocols that is configured on the router
- the address assigned on each interface
- the encapsulation method that was configured on each interface
Q.30: How do you depict an IP address?
Ans: It can be done in three possible ways:
- using Dotted-decimal. For example: 192.168.0.1
- using Binary. For example: 10000010.00111011.01110010.01110011
- using Hexadecimal. For example: 82 1E 10 A1
Q.31: How do you go to privileged mode? How do you switch back to user mode?
Ans: To access privileged mode, you enter the command “enable” on the prompt. In order to get back to user mode, enter the command “disable”
Q.32: What is HDLC?
Ans: HDLC is short for High Level Data Link Control protocol, and is a propriety protocol of CISCO. It is the default encapsulation operated within CISCO routers.
Q.33: How are internetworks created?
Ans: Internetworks are created when networks are connected using routers. Specifically, the network administrator assigns a logical address to every network that connects to the router.
Q.34: What is Bandwidth?
Ans: Bandwidth refers to the transmission capacity of a medium. It is a measure of how much volume a transmission channel can handle, and is measured in Kbps.
Q.35: How does Hold-downs work?
Ans: Hold-downs prevent regular update messages from reinstating a downed link by removing that link from update messages. It uses triggered updates to reset the hold-down timer.
Q.36: What are packets?
Ans: Packets are the results of data encapsulation. These are data that has been wrapped under the different protocols of the OSI layers. Packets are also referred to as datagrams.
Q.37: What are segments?
Ans: Segments are sections of a data stream that comes from the upper OSI layers and ready for transmission towards the network. Segments are the logic units at the Transport Layer.
Q.38: Give some benefits of LAN switching.
Ans:
- allows full duplex data transmission and reception
- media rate adaption
- easy and efficient migration
Q.39: What is Route Poisoning?
Ans: Route Poisoning is the process of inserting a table entry of 16 to a route, making it unreachable. This technique is used in order to prevent problems caused by inconsistent updates on a route.
Q.40: How do you find valid hosts in a subnet?
Ans: The best way to go about this is to use the equation 256 minus the subnet mask. The hosts that are considered valid are those that can be found between the subnets.
Q.41: What is DLCI?
Ans: DLCI, or Data Link Connection Identifiers, are normally assigned by a frame relay service provider in order to uniquely identify each virtual circuit that exists on the network.
Q.42: Brielfly explain the conversion steps in data encapsulation.
Ans: From a data transmitter’s point of reference, data from the end user is converted to segments. Segments are then passed on to the other layers and converted into packets or datagrams. These packets are then converted into frames before passing on to the network interface. Finally, frames are converted to bits prior to actual data transmission.
Q.43: What are the different types of passwords used in securing a CISCO router?
Ans: There are actually five types of passwords that can be used. These are enable secret, enable, virtual terminal, console, and auxiliary.
Q.44: Why is network segmentation a good idea when managing a large network?
Ans: For a network administration, segmenting a network would help ease network traffic and ensures that high bandwidth is made available at all times for all users. This translates to better performance especially for a growing network.
Q.45: What causes a triggered update to reset the router hold-down timer?
Ans: This may happen when the hold-down timer has already expired, or when the router received a processing task that incidentally was proportional to the number of links in the internetwork.
For Professional level
1: What information must be stored in the route table?
A: At a minimum, each entry of the routing table must include a destination address and the address of a next-hop router or an indication that the destination address is directly connected.
2: What command is used to examine the route table in a Cisco router?
A: show ip route is used to examine the routing table of a Cisco router.
3: What are the two bracketed numbers associated with the non-directly connected routes in the route table?
A: The first bracketed number is the administrative distance of the routing protocol by which the route was learned. The second number is the metric of the route.
4: When static routes are configured to reference an exit interface instead of a next-hop address, in what way will the route table be different?
A: When a static route is configured to reference an exit interface instead of a next-hop address, the destination address will be entered into the routing table as directly connected.
5: What is a summary route? In the context of static routing, how are summary routes useful?
A: A summary route is a single route entry that points to multiple subnets or major IP addresses. In the context of static routes, summary routes can reduce the number of static routes that must be configured.
6: What is an administrative distance?
A: An administrative distance is a rating of preference for a routing protocol or a static route. Every routing protocol and every static route has an administrative distance associated with it. When a router learns of a destination via more than one routing protocol or static route, it will use the route with the lowest administrative distance.
7: What is a floating static route?
A: A floating static route is an alternative route to a destination. The administrative distance is set high enough that the floating static route is used only if a more-preferred route becomes unavailable.
8: What is the difference between equal-cost and unequal-cost load sharing?
A: Equal-cost load sharing distributes traffic equally among multiple paths with equal metrics.
Unequal-cost load sharing distributes packets among multiple paths with different metrics. The
traffic will be distributed inversely proportional to the cost of the routes.
9: How does the switching mode at an interface affect load sharing?
A: If an interface is fast switched, per destination load sharing is performed. If an interface is process switched, per packet load sharing is performed.
10: What is a recursive table lookup?
A: A recursive routing table lookup occurs when a router cannot acquire all the information it needs to forward a packet with a single routing table lookup. For example, the router may perform one lookup to find the route to a destination and then perform another lookup to find a route to the next hop router of the first route.
11: What is a routing protocol?
A: A routing protocol is a "language" that routers speak to each other to share information about
network destinations.
12: Why do routing protocols use metrics?
A: A route metric, also called a route cost or a route distance, is used to determine the best path to a destination. Best is defined by the type of metric used.
13: What is convergence time?
A: Convergence time is the time a group of routers take to complete the exchange of routing
information.
14: What is a distance vector routing protocol?
A: A distance vector protocol is a routing protocol in which each router calculates routes based on the routes of its neighbors and then passes its routes to other neighbors.
15: Explain the difference between simple split horizon and split horizon with poisoned reverse.
A: Simple split horizon does not send route information back to the source of the route information. Split horizon with poisoned reverse sends the information back to the source but sets the metric to unreachable.
16: What is the counting-to-infinity problem, and how can it be controlled?
A: Counting to infinity occurs when routes update a route over a loop; each router increases the metric of the route until the metric reaches infinity. The effects of counting to infinity are controlled by defining infinity as a fairly low metric so that infinity is reached fairly quickly and the route is declared unreachable.
17: What are holddown timers, and how do they work?
A: Holddown timers help prevent routing loops. If a route is declared unreachable or if the metric increases beyond a certain threshold, a router will not accept any other information about that route until the hold down timer expires. This approach prevents the router from accepting possibly bad routing information while the internetwork is reconverging
.
18: What are the differences between distance vector and link state routing protocols?
A: A distance vector router sends its entire route table, but it only sends the table to directly connected neighbors. A link state router sends only information about its directly connected links, but it floods the information throughout the internetworking area. Distance vector protocols usually use a variant of the Bellman-Ford algorithm to calculate routes, and link state protocols usually use a variant of the Dijkstra algorithm to calculate routes.
19: What is the purpose of a topological database?
A: A topological database holds the link state information originated by all routers in the link state routing domain.
20: Explain the basic steps involved in converging a link state internetwork.
A: Each router floods a link state information advertisement describing its links, the states of its links,
and any neighboring routers connected to those links, throughout the internetworking area. All
routers store all received copies of the link state advertisement in a link state database. Each router calculates a shortest path tree from the information in the topological database and enters routes in its routing tables based on the shortest path tree.
21: Why are sequence numbers important in link state protocols?
A: Sequence numbers help a router differentiate between multiple copies of the same link state
advertisement and also prevent flooded link state advertisements from circulating endlessly
throughout the internetwork.
22: What purpose does aging serve in a link state protocol?
A: Aging prevents old, possibly obsolete, link state information from residing in a topological
database or from being accepted by a router.
23: Explain how an SPF algorithm works.
A: A router builds a shortest path tree by first adding itself as the root. Using the information in the topological database, the router creates a list of all of its directly connected neighbors. The lowest cost link to a neighbor becomes a branch of the tree, and that router's neighbors are added to the list. The list is checked for duplicate paths, and if they exist, the higher-cost paths are removed from the list. The lowest-cost router on the list is added to the tree, that router's neighbors are added to the list, and the list is again checked for duplicate paths. This process continues until no routers remain on the list.
24: How do areas benefit a link state internetwork?
A: Within a routing domain, areas are subdomains. They make link state routing more efficient by limiting the size of the link state database of each router in the area.
25: What is an autonomous system?
A: Depending on the usage, an autonomous system can be defined as an internetwork under a common administrative domain or a single routing domain.