IP Routing Questions and Answers updated daily – Networking
16 IP Routing Questions and answers section with explanation for various online exam preparation, various interviews, Networking IP Routing online test. IP Routing Questions with detailed description, explanation will help you to master the topic.
IP Routing Questions
Network 220.127.116.11 was assigned to the Acme Company to connect to its ISP. The administrator of Acme would like to configure one router with the commands to access the Internet. Which commands could be configured on the Gateway router to allow Internet access to the entire network?
Gateway(config)# ip route 0.0.0.0 0.0.0.0 18.104.22.168
Gateway(config)# router rip
Gateway(config-router)# network 22.214.171.124
Gateway(config-router)# network 126.96.36.199 default
Correct Ans:1 and 4
There are actually three different ways to configure the same default route, but only two are shown in the answer. First, you can set a default route with the 0.0.0.0 0.0.0.0 mask and then specify the next hop, as in option A. Or you can use 0.0.0.0 0.0.0.0 and use the exit interface instead of the next hop. Finally, you can use option D with the ip default-network command.
IGRP uses which of the following as default parameters for finding the best path to a remote network?
Cumulative interface delay
Path bandwidth value
Correct Ans:3 and 5
IGRP uses bandwidth and delay of the line, by default, to determine the best path to a remote network. Delay of the line can sometimes be called the cumulative interface delay.
Which two of the following are true regarding the distance-vector and link-state routing protocols?
Link state sends its complete routing table out all active interfaces on periodic time intervals.
Distance vector sends its complete routing table out all active interfaces on periodic time intervals.
Link state sends updates containing the state of its own links to all routers in the internetwork.
Distance vector sends updates containing the state of its own links to all routers in the internetwork.
Correct Ans:2 and 3 only
The distance-vector routing protocol sends its complete routing table out all active interfaces at periodic time intervals. Link-state routing protocols send updates containing the state of its own links to all routers in the internetwork.
What does RIPv2 use to prevent routing loops?
Correct Ans:2 and 5
RIPv2 uses the same timers and loop-avoidance schemes as RIPv1. Split horizon is used to stop an update from being sent out the same interface it was received on. Holddown timers allow time for a network to become stable in the case of a flapping link.
A network administrator views the output from the show ip route command. A network that is advertised by both RIP and IGRP appears in the routing table flagged as an IGRP route. Why is the RIP route to this network not used in the routing table?
Correct Ans:IGRP has a lower administrative distance.
RIP has an administrative distance (AD) of 120, while IGRP has an administrative distance of 100, so the router will discard any route with a higher AD than 100.
6. Which of the following is true regarding RIPv2?
Correct Ans:It has the same timers as RIPv1
RIPv2 is pretty much just like RIPv1. It has the same administrative distance and timers and is configured just like RIPv1.
7. What is route poisoning?
Correct Ans:It describes when a router sets the metric for a downed link to infinity.
Another way to avoid problems caused by inconsistent updates and to stop network loops is route poisoning. When a network goes down, the distance-vector routing protocol initiates route poisoning by advertising the network with a metric of 16, or unreachable (sometimes referred to as infinite).
If your routing table has a static, a RIP, and an IGRP route to the same network, which route will be used to route packets by default?
Correct Ans:Static route
Static routes have an administrative distance of 1 by default. Unless you change this, a static route will always be used over any other found route. IGRP has an administrative distance of 100, and RIP has an administrative distance of 120, by default.
The Corporate router receives an IP packet with a source IP address of 192.168.214.20 and a destination address of 192.168.22.3. Looking at the output from the Corporate router, what will the router do with this packet?
Corp#sh ip route
R 192.168.215.0 [120/2] via 192.168.20.2, 00:00:23, Serial0/0
R 192.168.115.0 [120/1] via 192.168.20.2, 00:00:23, Serial0/0
R 192.168.30.0 [120/1] via 192.168.20.2, 00:00:23, Serial0/0
C 192.168.20.0 is directly connected, Serial0/0
C 192.168.214.0 is directly connected, FastEthernet0/0
Correct Ans:The packet will be discarded.
Since the routing table shows no route to the 192.168.22.0 network, the router will discard the packet and send an ICMP destination unreachable message out interface FastEthernet 0/0, which is the source LAN where the packet originated from.
10. You type debug ip rip on your router console and see that 172.16.10.0 is being advertised to you with a metric of 16. What does this mean?
Correct Ans:The route is inaccessible.
You cannot have 16 hops on a RIP network by default. If you receive a route advertised with a metric of 16, this means it is inaccessible.
11. Two connected routers are configured with RIP routing. What will be the result when a router receives a routing update that contains a higher-cost path to a network already in its routing table?
Correct Ans:The update will be ignored and no further action will occur.
When a routing update is received by a router, the router first checks the administrative distance (AD) and always chooses the route with the lowest AD. However, if two routes are received and they both have the same AD, then the router will choose the one route with the lowest metrics, or in RIP's case, hop count.
12. What command is used to stop RIP routing updates from exiting out an interface but still allow the interface to receive RIP route updates?
Correct Ans:Router(config-router)# passive-interface s0
The (config-router)#passive-interface command stops updates from being sent out an interface, but route updates are still received.
13. What is split horizon?
Correct Ans:Information about a route should not be sent back in the direction from which the original update came.
A split horizon will not advertise a route back to the same router it learned the route from.
You have the following routing table. Which of the following networks will not be placed in the neighbor routing table?
R 192.168.30.0/24 [120/1] via 192.168.40.1, 00:00:12, Serial0
C 192.168.40.0/24 is directly connected, Serial0
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.30.0 is directly connected, Loopback0
R 192.168.20.0/24 [120/1] via 192.168.40.1, 00:00:12, Serial0
R 10.0.0.0/8 [120/15] via 192.168.40.1, 00:00:07, Serial0
C 192.168.50.0/24 is directly connected, Ethernet0
The network 10.0.0.0 cannot be placed in the next router's routing table because it already is at 15 hops. One more hop would make the route 16 hops, and that is not valid in RIP networking.
Which statement is true regarding classless routing protocols?
The use of discontiguous networks is not allowed.
The use of variable length subnet masks is permitted.
RIPv1 is a classless routing protocol.
IGRP supports classless routing within the same autonomous system.
RIPv2 supports classless routing.
Correct Ans:2 and 5
Classful routing means that all hosts in the internetwork use the same mask. Classless routing means that you can use Variable Length Subnet Masks (VLSMs) and can also support discontiguous networking.
16. Which of the following statements are true regarding the command ip route 172.16.4.0 255.255.255.0 192.168.4.2?
- The command is used to establish a static route.
- The default administrative distance is used.
- The command is used to configure the default route.
- The subnet mask for the source address is 255.255.255.0.
Correct Ans:2 and 4
The debug ip rip command is used to show the Internet Protocol (IP) Routing Information Protocol (RIP) updates being sent and received on the router.