IP Routing - Fundamentals

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Tcpipguru
T
Tcpipguru
Community Contributor
Quizzes Created: 3 | Total Attempts: 3,562
Questions: 17 | Attempts: 816

SettingsSettingsSettings
IP Routing - Fundamentals - Quiz

Exam on IP Routing Fundamentals - 


Questions and Answers
  • 1. 

    A router is required for communication between two PC's with IP address 192.168.1.63/26 and 192.168.1.65/26  respectively. 

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    A router is required for communication between two PCs with IP addresses 192.168.1.63/26 and 192.168.1.65/26 because they are on different subnets. The subnet mask 26 indicates that the first 26 bits of the IP address are used for the network address, leaving only 6 bits for the host addresses. Since the two PCs have different host addresses, they are on different networks and require a router to route the traffic between them.

    Rate this question:

  • 2. 

    How many routing entries would be available on a routers routing table which has two interfaces configured with IP addresses 192.168.1.1/24 and 192.168.2.1/24 respectively. 

    • A.

      None

    • B.

      1

    • C.

      2

    • D.

      3

    Correct Answer
    C. 2
    Explanation
    The router has two interfaces configured with IP addresses 192.168.1.1/24 and 192.168.2.1/24 respectively. Each interface will have a corresponding routing entry in the routing table. Therefore, there will be two routing entries available on the router's routing table.

    Rate this question:

  • 3. 

    Which field in an incoming IP packet would be used by the router to perform a route look up process

    • A.

      Source IP address

    • B.

      Destination IP address

    • C.

      TTL

    • D.

      Subnet Mask

    Correct Answer
    B. Destination IP address
    Explanation
    The router would use the Destination IP address field in an incoming IP packet to perform a route lookup process. This is because the Destination IP address helps the router determine the intended recipient of the packet and the appropriate path to forward it. By examining the Destination IP address, the router can match it with its routing table to find the next hop or outgoing interface for the packet.

    Rate this question:

  • 4. 

    A router has three directly connected networks - 192.168.1.0 /24, 192.168.2.0 /24, 192.168.3.0 /24. If a host 192.168.1.1 tries to access a host 192.168.2.1, does the router need to perform a route look up for the destination when the IP packet from 192.168.1.1 reaches the routers interface. 

    • A.

      Yes

    • B.

      No

    Correct Answer
    A. Yes
    Explanation
    Yes, the router needs to perform a route lookup for the destination when the IP packet from 192.168.1.1 reaches the router's interface. This is because the router needs to determine the appropriate interface to forward the packet to in order to reach the destination network 192.168.2.0 /24. Since the destination network is directly connected, the router will have a route entry for it, but it still needs to perform the lookup to determine the outgoing interface.

    Rate this question:

  • 5. 

    A PC does not have default gateway configured on it's TCP/IP adapter. Which of the following route entries would be unavailable in its routing table

    • A.

      Default route

    • B.

      PC does not have routing table

    • C.

      Static route

    • D.

      Directly connected route

    Correct Answer
    A. Default route
    Explanation
    If a PC does not have a default gateway configured on its TCP/IP adapter, it means that it does not have a route specified for sending packets to destinations outside of its local network. Therefore, the default route entry would be unavailable in its routing table. The default route is used when there is no specific route available for a given destination, allowing the PC to forward packets to a default gateway for further routing.

    Rate this question:

  • 6. 

    The IP address of a PC is 192.168.1.2 /24 and the default gateway configured on the TCP/IP adapter setting on the PC is 192.168.1.1, which is the routers IP address for the network. If a user on the PC pings the website, www.tcpipguru.com, what would be the destination IP address of the IP packet carrying the icmp (ping) data send from the PC.  

    • A.

      192.168.1.1

    • B.

      Www.tcpipguru.com

    • C.

      The IP address of www.tcpipguru.com

    • D.

      The routers default gateways IP address

    Correct Answer
    C. The IP address of www.tcpipguru.com
    Explanation
    The destination IP address of the IP packet carrying the ICMP (ping) data sent from the PC would be the IP address of www.tcpipguru.com.

    Rate this question:

  • 7. 

    A PC is configured with an IP address 192.168.1.2 and subnet mask 255.255.255.0. The default gateway on the TCP/IP adapter settings of the PC is not configured. The default gateway, which is the router,  is configured with an IP address of 192.168.1.1 and subnet mask 255.255.255.0. What would happen if a user on the PC issues the command ping 192.168.1.1. 

    • A.

      A response would be received from the router on the PC.

    • B.

      The packet would be dropped on the PC

    • C.

      The packet would be dropped on the router

    • D.

      The router would receive the packet , but a response would not be received by the PC.

    Correct Answer
    A. A response would be received from the router on the PC.
    Explanation
    If a user on the PC issues the command "ping 192.168.1.1", a response would be received from the router on the PC. This is because the PC and the router are on the same subnet, as they both have the same IP address range and subnet mask. Therefore, the PC can directly communicate with the router without the need for a default gateway. The ping command sends an ICMP echo request to the specified IP address, and since the router is reachable on the same subnet, it will respond with an ICMP echo reply.

    Rate this question:

  • 8. 

    Refer the exhibit -  E0 and E1 interface of the router is configured with IP address 192.168.1.1/24 and 192.168.2.1/24. The IP address of PC1 is 192.168.1.2/24 and the default gateway  is 192.168.1.1. The IP address of PC2 is 192.168.2.2/24. If a user on PC1 issues the command ping 192.168.2.2, what would be the source IP address of the IP packet carrying the icmp (ping) packet when it exits the E1 interface of the router.

    • A.

      192.168.1.2

    • B.

      192.168.2.1

    • C.

      192.168.1.1

    • D.

      192.168.2.2

    Correct Answer
    A. 192.168.1.2
    Explanation
    When a user on PC1 issues the command "ping 192.168.2.2", the source IP address of the ICMP (ping) packet when it exits the E1 interface of the router would be 192.168.1.2. This is because the IP address of PC1 is 192.168.1.2, and the ICMP packet is originating from PC1. Therefore, the source IP address would be the IP address of PC1.

    Rate this question:

  • 9. 

    The IP address of a PC is 192.168.1.2/24 and the default gateway is 192.168.1.1. Which of the following actions would result in the request to be send to the default gateway. 

    • A.

      Ping www.tcpipguru.com

    • B.

      Http://www.tcpipguru.com (On the browser)

    • C.

      Ping 192.168.2.3

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    All of the above actions would result in the request to be sent to the default gateway. The default gateway is the IP address that a device uses to send data to another network. In this scenario, the PC has an IP address of 192.168.1.2 with a subnet mask of /24, which means that it is on the same network as the default gateway at 192.168.1.1. When the PC tries to ping www.tcpipguru.com or ping 192.168.2.3, it will realize that these IP addresses are not on the same network and will send the request to the default gateway for further routing. Similarly, when the PC tries to access http://www.tcpipguru.com on the browser, it will send the request to the default gateway for routing to the internet.

    Rate this question:

  • 10. 

    How do routers derive network address for directly connected interfaces.

    • A.

      The network address has to be manually configured.

    • B.

      The network address is derived from the IP address and subnet mask configured on the interface

    • C.

      The network address is derived from the IP address configured on the interface.

    • D.

      A network address is not required for directly connected interfaces.

    Correct Answer
    B. The network address is derived from the IP address and subnet mask configured on the interface
    Explanation
    The network address is derived from the IP address and subnet mask configured on the interface. The IP address and subnet mask together determine the network portion of the address. By applying the logical AND operation between the IP address and the subnet mask, the router can determine the network address. This allows the router to identify which network the interface is connected to and make routing decisions accordingly.

    Rate this question:

  • 11. 

    Two routers are directly connected. What should be used so that the routing table on the routers are exchanged with each other.

    • A.

      This is not possible

    • B.

      Dynamic routing protocols should be configured on both the routers

    • C.

      The routing table information should be manually configured on both the routers

    • D.

      Routing tables would be exchanged since the routers are directly connected.

    Correct Answer
    B. Dynamic routing protocols should be configured on both the routers
    Explanation
    In order for the routing tables on the routers to be exchanged with each other, dynamic routing protocols should be configured on both routers. Dynamic routing protocols allow routers to automatically exchange routing information with each other, ensuring that the routing tables are kept up to date. This allows for efficient and automatic routing decisions to be made based on the current network topology.

    Rate this question:

  • 12. 

    A PC is connected to a switch, which is connected to a router. The router is connected to the internet and has the default gateway configured on it. The PC does not have a default gateway configured on it's TCP/IP adapter settings. Will the PC be able to access the internet. 

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    The PC will not be able to access the internet because it does not have a default gateway configured on its TCP/IP adapter settings. The default gateway is the IP address of the router that allows the PC to communicate with devices outside of its local network. Without a default gateway, the PC will not know where to send its internet-bound traffic, resulting in no internet connectivity.

    Rate this question:

  • 13. 

    A router has three interfaces, E0, E1 and E2. If the router receives an ethernet frame with destination mac-address FF-FF-FF-FF-FF-FF on E0 , which among the following is true

    • A.

      The router would forward the frame to E1 and E2 interface

    • B.

      The router will not forward the frame to E1 and E2 interface

    • C.

      The router would forward the frame on E0, E1 and E2 interface

    • D.

      None of the above

    Correct Answer
    B. The router will not forward the frame to E1 and E2 interface
    Explanation
    If the router receives an ethernet frame with a destination MAC address of FF-FF-FF-FF-FF-FF on interface E0, it means that the frame is a broadcast frame. Broadcast frames are intended to be received by all devices on the network. Therefore, the router will not forward the frame to interfaces E1 and E2 since it is not necessary to do so.

    Rate this question:

  • 14. 

    What would a router do if it receives an IP packet with TTL value as 1

    • A.

      The router would forward the packet to the appropriate destination.

    • B.

      The router would decrement the TTL value and then forward the packet.

    • C.

      The router would drop the packet.

    • D.

      The next hop for the router would drop the packet.

    Correct Answer
    C. The router would drop the packet.
    Explanation
    When a router receives an IP packet with a TTL (Time to Live) value of 1, it means that the packet has already traversed through one router. The TTL value is decremented by each router it passes through. If the TTL reaches 0, it indicates that the packet has been traveling for too long or has encountered a loop. In this case, the router would drop the packet to prevent it from endlessly circulating in the network.

    Rate this question:

  • 15. 

    A router has two directly connected networks - 192.168.1.0/24 and 192/168.2.0/24. What should be configured on the router for enabling communication between the networks. 

    • A.

      Static routes

    • B.

      Any dynamic routing protocol

    • C.

      Since the networks are directly connected, additional configuration is not required.

    • D.

      None of the above

    Correct Answer
    C. Since the networks are directly connected, additional configuration is not required.
    Explanation
    The correct answer is that additional configuration is not required because the two networks are directly connected. This means that the router already has the necessary information about both networks and can route traffic between them without any additional configuration.

    Rate this question:

  • 16. 

    Which of the following fields would be included in a class full routing protocol update packet. 

    • A.

      Subnet Mask

    • B.

      Default Subnet Mask

    • C.

      Default gateway

    • D.

      None of the above

    Correct Answer
    D. None of the above
    Explanation
    A classful routing protocol does not include the subnet mask, default subnet mask, or default gateway fields in its update packet. Classful routing protocols, such as RIP version 1, do not support the use of subnet masks or variable-length subnet masks (VLSM). Instead, they assume that all networks within a classful network have the same subnet mask. Therefore, none of the mentioned fields would be included in a classful routing protocol update packet.

    Rate this question:

  • 17. 

    A PC is connected to a switch, which is connected to a router. The management IP address of the switch is 192.168.1.3/24.  The IP address of the PC is 192.168.1.2/24 and that of the routers interface is 192.168.1.1 /24. The default gateway of the router is 192.168.2.1 /24, which is used for internet access. What should  be the default gateway on the PC , if it has to access the internet. 

    • A.

      192.168.2.1

    • B.

      192.168.1.1

    • C.

      192.168.1.3

    • D.

      Default gateway is not required for internet access

    Correct Answer
    B. 192.168.1.1
    Explanation
    The default gateway on the PC should be set to 192.168.1.1 in order to access the internet. The default gateway is the IP address of the router that connects the local network to the internet. In this scenario, the router's interface has the IP address 192.168.1.1, which is the default gateway for the PC.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Oct 16, 2011
    Quiz Created by
    Tcpipguru
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.