Routing Fundamentals Flashcards

1
Q

The laptops used by a sales team are unable to connect to the devices used by the marketing team. Both the devices belong to different VLANs within a network. Which statements are true with regard to troubleshooting the connectivity issue between the two VLANs? (Choose all that apply.)

A. Ensure that the DNS values are correctly updated on the users’ laptops.

B. Ensure that the correct default gateway is configured on the laptops the sales team uses.

C. Ensure that the router has the route to the destination VLAN.

D. Check for a local LAN connectivity issue.

A

B. Ensure that the correct default gateway is configured on the laptops the sales team uses.
C. Ensure that the router has the route to the destination VLAN.
D. Check for a local LAN connectivity issue.

The following statements are true with regard to troubleshooting the connectivity issue between two VLANs:
1 Ensure that the correct default gateway is configured on the laptops the sales team uses.
2) Check for a local LAN connectivity issue.
3) Ensure that the router has the route to the destination VLAN.The default gateway should be reachable as it acts as an exit point for the VLAN. Use the ip route command to check if the route is available for the destination address. Use the ping and traceroute command to check the LAN connectivity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A network administrator needs to forward packets based on IP addresses. The packet to the network 192.172.16.0/24 should be forwarded to the IP address 192.169.16.2, whereas the packet with the IP address 192.172.16.10 should be forwarded to 192.179.16.2. What command needs to be configured to configure the host route and the network route? (Choose all that apply.)

A. ip route 192.172.16.0 255.255.255.0 192.169.16.2

B. ip route 192.172.16.10 255.255.255.0 192.179.16.2

C. ip route 192.172.16.10 255.255.255.255 192.179.16.2

D. ip route 192.172.16.0 192.179.16.2 fa0/0

A

A. ip route 192.172.16.0 255.255.255.0 192.169.16.2
C. ip route 192.172.16.10 255.255.255.255 192.179.16.2

The “ip route 192.172.16.10 255.255.255.255 192.179.16.2” command is used to configure the host route, and the “ip route 192.172.16.0 255.255.255.0 192.169.16.2” command is used to configure the network route. The two routes overlap, but the router uses the most specific route to send packets. The host route is defined as a route for a single host address with the subnet mask /32. A network route defines the route to an IP network or subnet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The network 172.168.10.2 255.255.255.0 has been advertised using RIP and IGRP using default admin distance. The show ip route command output displays only the route using the RIP protocol. Why is the IGRP route not displayed in the routing table? (Choose all that apply)

A. A better competing RIP route is available with a higher administrative distance.

B. The outgoing interface listed in the ip route for IGRP is down.

C. A route that matches the next hop address is unavailable.

D. The metric value for IGRP is higher than RIP.

A

B. The outgoing interface listed in the ip route for IGRP is down.
C. A route that matches the next hop address is unavailable.

The IGRP route is not displayed in the routing table due to the following reasons:

1) The outgoing interface listed in the ip route for IGRP is down.
2) A route that matches the next hop address is unavailable.

The administrative distance for RIP is 120, whereas that for IGRP is 120. The ip route will lower the administrative distance updated in the routing table if there are more than two routes for the same network. If the outgoing interface or next hop is down, the routing table will update the next available route on the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Host A needs to send a packet each to host B and C. Hosts A and B are located in the headquarters, whereas Host C is at a remote site. Which statements are true with respect to IP routing? (Choose all that apply.)

A. Host A sends the packet to the default gateway.

B. Host A sends the packet directly to Host B.

C. Host A sends the packet directly to Host C.

D.The packet sent to Host C is discarded.

A

A. Host A sends the packet to the default gateway.
B. Host A sends the packet directly to Host B.

The following statements are true with respect to IP routing:

  1. Host A sends the packet directly to Host B.
  2. Host A sends the packet to the default gateway.

If the destination is local, a device can send a data packet directly. But, if the destination is remote, the device sends a data packet to the default gateway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The network administrator needs data communication between five VLANs configured on a hub site switch. For example, the Sales VLAN device should be able to communicate with the Marketing VLAN devices and so on. How should the router be configured so that the least router interface is used for VLAN communication? (Choose all that apply.)

A. Ensure a unique sub-interface is created for each VLAN that needs to be routed.

B. Use the encapsulation dot1q vlan_id command.

C. Define the ip address ip-address mask command to configure IP settings.

D. Each router interface should be assigned one VLAN.

A

A. Ensure a unique sub-interface is created for each VLAN that needs to be routed.
B. Use the encapsulation dot1q vlan_id command.
C. Define the ip address ip-address mask command to configure IP settings.

The router should be configured in the following ways to use the least router interface for VLAN communication:

1) Ensure that a unique sub-interface is created for each VLAN that needs to be routed.
2) Use the encapsulation dot1q vlan_id command.
3) Define the ip address ip-address mask command to configure IP settings.

By default, devices in the same VLAN are able to communicate. To enable communication between different VLANs, an administrator needs to use either a layer-three switch or a router. One of the best ways to achieve this is to divide a router interface into logical interfaces for each VLAN. Set the interface to trunk with the encapsulation command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A remote site has a backup link configured in case the primary link fails. The existing route used to forward packets is an IGP route. The routing table of the router is as follows:

R1#show ip route
Gateway of last resort is not set
192.116.10.0/24 is subnetted, 1 subnets
C 192.116.1.0 is directly connected, Ethernet0
I 10.10.0.0/8 [100/1200] via 192.116.1.200, 00:00:03, Ethernet0
C 172.168.1.0/24 is directly connected, Loopback0

What command needs to be used to activate the backup link if the primary link fails?

A. ip route 192.116.1.0 255.255.255.0 interface Ethernet0

B. ip route 10.10.0.0 [90/1100] via 192.116.1.200 Serial0/0

C. ip route 10.10.0.0 255.0.0.0 Dialer 1 250

D. ip route 172.168.1.0/24 is directly connected, Loopback0

A

C. ip route 10.10.0.0 255.0.0.0 Dialer 1 250

To activate the backup link in case the primary link fails, use the “ip route 10.10.0.0 255.0.0.0 Dialer 1 250” command.

The network administrator needs to configure a static route with an administrative distance greater than the route of the primary link. The routing table shows only the best route for each network. If a secondary route exists, it will be updated only when the primary route is unreachable. The static route configured is called the floating static route.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A network administrator needs to configure manual summarization for Routing Information Protocol version 2. What configuration changes are required on Cisco IOS router for manual summarization? (Choose all that apply.)

A. Auto summarization needs to be disabled on the Cisco IOS router.

B. The validation of source IP addresses should be disabled.

C. The IP address and network mask that identify the routes to be summarized need to be configured.

D. The authentication mode should be configured in the global configuration mode.

A

A. Auto summarization needs to be disabled on the Cisco IOS router.
C. The IP address and network mask that identify the routes to be summarized need to be configured.

The following configuration changes are required on the Cisco IOS router for manual summarization:

1) Auto summarization needs to be disabled on the Cisco IOS router.
2) The IP address and network mask that identify the routes to be summarized need to be configured.

The scalability and efficiency of a large network are improved by using summarizing routes in RIP version 2. The RIP database with summarized routes is processed first. The network administrator needs to use the “no auto-summary” command to disable auto-summarization on the Cisco IOS router. The former needs to use the “ip summary-address rip ip-address subnet mask” command on the interface where the summary address belongs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the correct syntax to add a static route to a routing table?

A. ip route [destination_network] [mask] [next-hop_address or exit interface] [source_network]

B. ip route [destination_network] [mask] [next-hop_address or exit interface] [administrative_distance] [permanent]

C. ip route [destination_network] [next-hop_address or exit interface]

D. ip route [destination_network] [mask] [next-hop_address or exit interface] [administrative_distance] [source_network]

A

B. ip route [destination_network] [mask] [next-hop_address or exit interface] [administrative_distance] [permanent]

The following syntax is used to add a static route to a routing table:

ip route [destination_network] [mask] [next-hop_address or exit interface] [administrative_distance] [permanent]

The “ip route” command is used to create the static route.
The destination network is the network placed in the routing table.
Mask refers to the subnet mask used on the network.
The next-hop address is the IP address of the next-hop router that will receive packets and forward them to the remote network.
An exit interface is used in place of the next-hop address and is shown as a directly connected route.
Static routes have an administrative distance of 1 or 0 if an exit interface is used instead of a next-hop address.
If the interface is shut down or the router is unable to communicate with the next-hop router, the route will be automatically discarded from the routing table. Choosing the permanent option keeps the entry in the routing table, regardless of the consequence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A network engineer has configured a new Cisco router with default route as the gateway of the last resort. The show ip route command displays the gateway of the last resort as not set. To troubleshoot the issue, the network engineer verifies the running configuration, which is given as follows:

Router#show running-config
--Output discard--
ip routing
ip route 172.168.10.4 255.255.255.0172.16.170.2
ip default- gateway 172.168.10.4
ip route 0.0.0.0 0.0.0.0 172.16.170.2

Why is the gateway of the last resort not set on the Cisco IOS router?

A. Static route already exists for the define network in the routing table.

B. The no auto summary command is missing on the router.

C. IP routing should be disabled on the router.

D. The ip default- network command should be configured in place of the ip default-gateway.

A

D. The ip default- network command should be configured in place of the ip default-gateway.

The ip default- network command should be configured in place of ip default-gateway to set the gateway of the last resort on a Cisco IOS router.

The ip default-network and ip route 0.0.0.0 0.0.0.0 commands are used to set the gateway of the last resort on Cisco routers. The IP routing should be enabled on a Cisco router. The gateway of the last resort is used to forward an IP packet to a destination for which the route is not found in the routing table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

On which algorithm does the routing protocol work? (Choose all that apply)

A. Link state

B. Distance metric

C. Distance vector

D. Speed of convergence

A

A. Link state
C. Distance vector

The algorithm used by a routing protocol is distance vector or link state.

The information the router knows about each route is defined by distance vector. The router learns the following information related to each route: the destination subnet, the routing protocol metric (distance), and the link/next hop used by the router for its route to the destination address (vector).

In the case of link state routing protocols, each router sends information about its link status to the entire network, due to which all routers understand the entire network topology.
A router runs an algorithm every time a network change is announced to identify the best routes throughout the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The routing protocol configured on a Cisco IOS router is the RIP protocol. It is observed that the router interface sends periodic updates even though no RIP router exists on the LAN interface. What are the reasons for disabling such routing updates from unnecessary interfaces? (Choose all that apply)

A. The receiving device will discard the RIPv1 updates processed by all LAN devices.

B. Advertising updates on the broadcasting network can pose security risk.

C. The unnecessary updates consume bandwidth, which is wastage of bandwidth.

D. It might create a broadcast storm within the network.

A

A. The receiving device will discard the RIPv1 updates processed by all LAN devices.
B. Advertising updates on the broadcasting network can pose security risk.
C. The unnecessary updates consume bandwidth, which is wastage of bandwidth.

Here are the reasons for disabling routing updates from unnecessary interfaces:

1) The unnecessary updates consume bandwidth, which is wastage of bandwidth.
2) Advertising updates on the broadcasting network can pose security risks.
3) The receiving device will discard the RIPv1 updates processed by all LAN devices.

To stop RIP updates from being propagated from any specific interface, an administrator needs to use the following commands:

router rip
passive-interface FastEthernet port number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the correct options with regard to administrative distance? (Choose all that apply.)

A. Administrative distance is used to measure the distance between the source and the destination address.

B. Administrative distance can’t be modified; all routing protocols are assigned with default administrative distance.

C. Administrative distance being 255 means no traffic will be passed using this route.

D. Administrative distance being zero is the most trusted route.

A

C. Administrative distance being 255 means no traffic will be passed using this route.
D. Administrative distance being zero is the most trusted route.

The correct options with regard to administrative distance are as follows:

1) Administrative distance being zero is the most trusted route.
2) Administrative distance being 255 means no traffic will be passed using this route.
The trustworthiness of routing information is defined by Administrative Distance (AD). The routing protocols are assigned a default administrative distance, but it can be modified at the CLI level.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An administrator doesn’t want to advertise an RIP network across all LAN and WAN interfaces on a Cisco router. What command does the administrator need to use to stop propagation of RIP updates from any specific interface?

A. router rip
passive-interface FastEthernet 0/1

B. router rip
interface FastEthernet 0/1 passive-rip

C. router rip
network 172.10.0.0 passive-interface FastEthernet 0/1

D. router rip
interface FastEthernet 0/1
passive network 172.10.0.0

A

A. router rip
passive-interface FastEthernet 0/1

To stop propagation of RIP updates from any specific interface, an administrator needs to use the following command:

router rip
passive-interface FastEthernet 0/1

It’s not necessary to advertise an RIP network over all WAN and LAN interfaces. So, the administrator can stop unwanted RIP updates using the passive-interface command. The command prevents RIP update broadcasts from being sent to the interfaces, but allows the interfaces to receive RIP updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A headquarter router receives an IP packet with the destination address as 10.20.1.15 and the source address as 10.20.10.15. What action will the router take, considering the following output?

HQrouter#show ip route
Codes: L - local, C - connected, S - static,
L 10.0.0.1/32 is directly connected, FastEthernet0/3
S 10.20.1.1/32 [120/2] via 10.10.10.2, 00:00:23, Serial0/0
S 10.20.20.0 [120/1] via 10.10.10.2, 00:00:23, Serial0/0
L 10.20.1.0/26 is directly connected, FastEthernet0/1
C 10.20.10.0 is directly connected, FastEthernet0/0

A. The packet will be routed out of FastEthernet0/1.

B. The packet will be discarded.

C. The router will broadcast considering the destination.

D. The packet will be routed out of FastEthernet0/0.

A

A. The packet will be routed out of FastEthernet0/1.

Considering the output of the headquarter router, the packet will be routed out of FastEthernet0/1. The routing table has a path to route packets to the 10.20.1.0 network. Hence, the headquarter router will route the IP packet to the destination address through the FastEthernet0/1 interface. The router will check if any routing path is available for the destination address. If not, the router will discard the packet by sending an ICMP destination unreachable message to the source LAN the packet originated from.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the default administrative distance for static routes and connected routes? (Choose all that apply.)

A. 1

B. 0

C. 110

D. 90

A

A. 1
B. 0

One and zero are the default administrative distance for static routes and connected routes, respectively.
An administrator can change the default value by adding an administrative weight at the end of a command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A remote site user is unable to access the resources of the headquarter site. To troubleshoot the issue, an administrator uses the show ip route command and finds that the static route available is correct. What are the possible causes for the user not being able to access the resources of the headquarter site? (Choose all that apply)

A. The headquarter router interface is administratively down.

B. The connection is dropped by the service provider.

C. A wrong IP route has been configured for the subnets used at the headquarter site.

D. The link used is oversaturated.

A

A. The headquarter router interface is administratively down.
B. The connection is dropped by the service provider.
D. The link used is oversaturated.

Here are the possible causes for the user not being able to access the resources of the headquarter sites.

  1. The connection is dropped by the service provider.
  2. The link used is oversaturated.
  3. The headquarter router interface is administratively down.

The following commands are used to troubleshoot connectivity issues between the source and the destination IP address:
The ping command is used to verify if a device is able to communicate with another within a network.
The traceroute command is used to determine the path between the source and the destination using UDP and ICMP packets.
The show ip interface command is used to display the summary of the router interfaces.

17
Q

Communication between VLANs should happen at the headquarter site. A network engineer needs to configure inter-VLAN routing to achieve communication between VLANs using a Cisco IOS router and a switch. What factors should be kept in mind to achieve this requirement? (Choose all that apply)

A. The switch ports used to connect hosts should be configured as access port.

B. The switch port connecting to the router must be a trunk port.

C. The router should be connected to the switch via sub-interfaces.

D. An IP address needs to be assigned to each sub-interface port on a switch.

A

A. The switch ports used to connect hosts should be configured as access port.
B. The switch port connecting to the router must be a trunk port.
C. The router should be connected to the switch via sub-interfaces.

The following considerations should be made to configure inter-VLAN routing:

1) The router should be connected to the switch via sub-interfaces.
2) The switch ports used to connect hosts should be configured as the access port.
3) The switch port connecting to the router must be a trunk port.

Devices in the same VLAN can communicate by default. However, to communicate between different VLANs, an administrator needs to use either the layer 3 switch or a router. One of the best ways to achieve this is dividing a router interface into logical interfaces for each VLAN.

18
Q

A remote site device with the IP address 172.16.171.2/24 sends a packet to the destination address 172.16.172.13/29. The routing table shows the routes of different devices as follows.

Router#show ip route
Codes: L - local, C - connected, S - static
C 172.16.171.0/24 is directly connected, FastEthernet0/0
L 172.16.172.0/30 is directly connected, FastEthernet1/0
C 172.16.172.8/29 is directly connected, FastEthernet0/1
S 172.16.171.2/24 is directly connected, Serial0/0
C 172.16.0.0/24 is directly connected, FastEthernet1/1
L 172.16.172.16/29 is directly connected, FastEthernet0/2
C 172.16.0.0/24 is directly connected, FastEthernet0/0
S 172.16.172.2/30 is directly connected, Serial0/1

Which interface will be used to send the packet to the destination address 172.16.172.13?

A. FastEthernet0/0

B. Serial0/0

C. None of these options

D. FastEthernet0/1

A

D. FastEthernet0/1

The FastEthernet0/1 interface will be used to send a packet to the destination address 172.16.172.13.

The destination address 172.16.172.13 belongs to the subnet 172.16.172.8/29, which is connected to FastEthernet0/1. The longest match rule is used to match a route from the routing table. If the destination address is not matched, it will check for matching subnets. Once a subnet is matched, the router packet switches the packet with the associated interface, which then sends it out to the network subnet. Packet switching of a frame is referred to as frame rewrite.

19
Q

A network engineer has configured a static route on a remote site router using the IPv6 route command. The route can be used to forward packets to the hub site. What commands need to be used to verify IPv6 routing? (Choose all that apply.)

A. show ip route

B. ping ip-address

C. show ipv6 unicast-routing

D. show ipv6 route static

A

B. ping ip-address
D. show ipv6 route static

The following commands need to be used to verify static IPv6 routing on a Cisco IOS router:

1) show ipv6 route static
2) ping ip-address

The network engineer needs to enable forwarding of IPv6 packets by using the “ipv6 unicast-routing” command on the Cisco IOS router. To configure an IPv6 static route, the “ipv6 route ip address” command needs to be used.

20
Q

A remote site router has been configured with a permanent static route for 172.168.12.0/24 and 172.168.15.0/24. However, the following issues occur:

The dynamic route exits for both the networks with a higher administrative distance.
The serial 0/1 interface goes down, and the next hop is unreachable to send the packet to the destination address.
The routing table is not updated with the new route for the network 172.168.12.0/24 and 172.168.15.0/24.

What is the possible cause for all this?

A. The outgoing interface listed in the ip route command is down.

B. A route matching the next hop address is unavailable.

C. A permanent static route has been configured on a remote site router.

D. A better competing route is available with a higher administrative distance.

A

C. A permanent static route has been configured on a remote site router.

No route is updated in the routing table because a permanent static route has been configured on the remote site router.

Using the permanent keyword at the end to static route commands lets the router keep the route in the routing table, irrespective of the status of the outgoing interface or the next hop address.
If the outgoing interface goes down, the router will not be able to forward packets to the destination address, but the route will still exist in the routing table.

21
Q

A network engineer has configured a static route on a Cisco IOS router to forward packets to the hub site. What commands does the network engineer need to execute to verify the static route? (Choose all that apply.)

A. show ip route

B. debug ip route

C. show ip route static

D. show ip route network

A

A. show ip route
C. show ip route static
D. show ip route network

The network engineer needs to execute the following commands to verify the static route:

1) show ip route
2) show ip route static
3) show ip route network

The network engineer can also use ping and traceroute to verify the static route. The IP routes added to a routing table through direct configuration are called static routes. These routes define explicit paths between two routers and cannot be automatically updated. The administrator needs to manually reconfigure static routes when network changes occur.

22
Q

What commands are used to verify inter-VLAN routing? (Choose all that apply.)

A. show vlans

B. show switch port details

C. show ip interface brief

D. show ip route

A

A. show vlans
C. show ip interface brief
D. show ip route

The following commands are used to verify inter-VLAN routing:

1) show vlans
2) show ip route
3) show ip interface brief

Inter-VLAN routing is used for communication between hosts that belong to two different VLANs.
The “show vlans,” “show ip route,” and ‘show ip interface brief” commands are used to verify that new networks are added to the routing table and that their sub interface status is up/up.

23
Q

The “show ip route” command shows the message “Gateway of last resort is not set.” in the following routing table:

routerHQ#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP, D - EIGRP, EX - EIGRP external, O - OSPF
Gateway of last resort is not set
172.44.0.0/24 is subnetted, 1 subnets
C 172.44.192.0 is directly connected, Ethernet0
10.91.0.0/24 is subnetted, 1 subnets
C 10.91.99.0 is directly connected, Serial0
S 192.10.1.0/24 [1/0] via 172.44.192.2

What command needs to be configured to set the gateway of the last resort?

A. ip default-network 192.10.1.0

B. ip default-gateway of last resort 172.44.192.2

C. ip default-gateway 172.44.192.2

D. ip default-gateway

A

A. ip default-network 192.10.1.0

To set the gateway of the last resort of the network, use the “ip default-network 192.10.1.0” command.
A gateway of the last resort is used by the router when there is no other known route to transmit IP packets. Instead of configuring static routes to specific next-hops, the administrator can set the router to select a default route to a particular network by checking the routing table.

24
Q

Which statement is true about a routing table with an entry IP route, 172.16.170.0 255.255.255.0 192.16.10.8 255?

A. The routing source used is EIGRP.

B. It is the most trusted route.

C. No traffic will pass through this route.

D. The routing source used is RIP.

A

C. No traffic will pass through this route.

The following statement is true:
No traffic will pass through this route.

In the entry IP route, “255” defines administrative distance (AD). An administrative distance is an integer from 0 to 255, where 0 implies most trusted and 255 means no traffic will pass through this route.
AD is used to rate the creditability of the routing information received by the router from a neighbor router.

25
Q

What command needs to be used when IP routing is disabled on a Cisco router?

A. ip route 0.0.0.0 0.0.0.0 s0

B. ip default-network

C. ip route 0.0.0.0 0.0.0.0

D. ip default-gateway

A

D. ip default-gateway

The “ip default-gateway” command needs to be used when IP routing is disabled on a Cisco router.

IP routing uses a set of protocols to determine the path a packet needs to follow to reach the destination IP address. The “ip default-network” command is used when IP routing is enabled on a Cisco router.

26
Q

An HQ site has five subnets configured on a Cisco IOS switch. Each subnet is used by an individual team within an organization. What steps are to be followed to achieve communication between IP subnets using the Layer 3 switch?

A. Configure the router on a stick.
Ensure an IP address is assigned on each interface.
Configure the default route for each subnet.

B. Configure the ip route enable command.
Create a physical interface for each VLAN.
Configure the IP address on the physical interface.

C. Configure the router on a stick.
Create a physical interface for each VLAN.
Configure the default route for each subnet.

D. Ensure the IP routing command is configured.
Create a virtual interface for each VLAN.
Configure the IP address to the logical interface.

A

D. Ensure the IP routing command is configured.
Create a virtual interface for each VLAN.
Configure the IP address to the logical interface.

The following steps need to be taken to achieve communication between IP subnets using the Layer 3 switch:

1) Ensure the IP routing command is configured.
2) Create a virtual interface for each VLAN.
3) Configure the IP address to the logical interface.

A layer 3 switch is used for IP routing. Using a Cisco layer 3 switch is more efficient than using a Cisco router. Use the interface vlan command to create a virtual interface for each VLAN. For intra-VLAN communication, it uses the MAC address table, whereas for inter-VLAN communication, it uses the IP routing table.

27
Q

Based on what facts does a Cisco router update its routing table for subnet connected to each interface? (Choose all that apply.)

A. The connected interface is in the working state.

B. Each interface is assigned with an IP address.

C. Each router learns the routes from its neighbor.

D. IP routes are configured on a router.

A

A. The connected interface is in the working state.
B. Each interface is assigned with an IP address.

Cisco router updates its routing table for subnet connected to each interface based on the following facts:

1) The connected interface is in the working state.
2) Each interface is assigned with an IP address.

The connected interface status is up (line status and protocol status). An IP address is assigned to each interface using the ip address command on the Cisco router.

28
Q

The network administrator needs to authenticate routing information. Which statements are correct with regard to the configuration of authentication for RIPv2? (Choose all that apply.)

A. Configure a key chain in the global configuration mode.

B. RIP authentication needs to be configured under interface.

C. Configure a key string under the router rip command.

D. Ensure a key number is configured.

A

A. Configure a key chain in the global configuration mode.
B. RIP authentication needs to be configured under interface.
D. Ensure a key number is configured.

The following statements are correct with regard to the configuration of authentication for RIPv2:

1) Ensure a key number is configured.
2) RIP authentication needs to be configured under interface.
3) Configure a key chain in the global configuration mode.

RIPv2 supports two modes of authentication: plain text authentication and Message Digest 5 (MD5) authentication.

29
Q

Two routers A and B are connected through Ethernet. On both routers, the loopback interfaces are advertised using IGRP and RIP. The show IP route command displays the IGRP routes over RIP routes as follows:

Router_A#show ip route
Gateway of last resort is not set
192.168.0.0/24 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, Ethernet0
I 10.10.0.0/8 [100/1600] via 192.168.1.200, 00:00:15, Ethernet0
C 192.168.1.0/24 is directly connected, Loopback0

Router_B#show ip route
Gateway of last resort is not set
192.168.0.0/24 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, Ethernet0
C 10.10.0.0/8 is directly connected, Loopback0
I 192.168.1.0/24 [100/1600] via 192.168.1.100, 00:00:08, Ethernet0

What command needs to be configured on router A to advertise RIP routes over IGRP routes?

A. (config)#router rip
(config-router)#version 2
(config-router)#distance 85

B. (config)#router rip
(config-router)#distance 120

C. (config)#router rip
(config-router)#distance 90

D. (config)#administrative distance 10

A

C. (config)#router rip
(config-router)#distance 90

The following command needs to be configured on router A to advertise RIP routes over IGRP routes:

(config)#router rip
(config-router)#distance 90

To enable a router to select RIP, the administrator needs to configure a distance command on router A, which should be less than the administrative distance of IGRP (100). The router learns RIP routes with an administrative distance of 90, which overlaps the default AD value of 120. The new administrative distance value is applicable only to the routing process of router A.

30
Q

Which commands are used to verify whether RIP is running on the router? (Choose all that apply.)

A. show ip protocols

B. show ip route

C. show ip interface brief

D. show running-config

A

A. show ip protocols
B. show ip route
D. show running-config

The following commands are used to verify whether RIP is running on the router:

  1. show ip protocols
  2. show running-config
  3. show ip route

Routing Information Protocol (RIP) is a true distance-vector routing protocol. The “show ip protocols” command indicates whether RIP is present on the router. In the “show ip route” command output, if R is present at the left of the route, it indicates that RIP is used. The “show running-config” command indicates whether RIP is present on the networks being advertised.

31
Q

What information does a router learn for each route? (Choose all that apply.)

A. Vector

B. Distance

C. Destination subnet

D. Source subnet

A

A. Vector
B. Distance
C. Destination subnet

The router learns the following information for each route.

1) Destination subnet
2) Vector
3) Distance

The vector indicates the direction to the remote network. Distance defines the routing protocol metric, and the destination subnet defines the subnet the remote network/device belongs to.

32
Q

The switch Fa0/1 port is configured as the trunk mode, and the router Fa0/0 port is connected to the switch Fa0/1 port. The router on a stick feature, which is used to provide inter-VLAN, is not working. The running configuration of the switch and router is given below:

Router# show running-config | sec interface
interface f0/0.2
encapsulation dot1q 20
ip address 172.16.171.6 255.255.255.240
interface f0/0.3
encapsulation dot1q 30
ip address 172.16.170.6 255.255.255.240
!
Switch# show running-config | section interface
interface fa0/1
switchport mode trunk
interface f0/2
switchport access vlan 2
interface f0/3
switchport access vlan 3

What is the possible cause?

A. dot1q enable command has not been configured on the router to enable encryption.

B. The switch port has not been configured as the dynamic desirable mode.

C. A wrong VLAN Id has been configured under router Fa ports.

D. Trunking has not been enabled on router ports.

A

C. A wrong VLAN Id has been configured under router Fa ports.

A wrong VLAN Id has been configured under router Fa ports due to which inter-VLAN routing is not working.
The following steps will help configure a router on a stick for inter-VLAN routing.

1) A unique sub-interface needs to be created for each VLAN.
2) The encapsulation dot1q vlan_id command should be configured to enable 802.1Q and associate each sub-interface with VLAN_id.
3) The IP address and subnet mask must be defined for each sub-interface.

33
Q

What is the syntax used for a default route?

A. ip [destination_network] [mask] [next-hop_address or exitinterface] [permanent]

B. ip route 0.0.0.0 ip-address or exit interface type and number [administrative_distance]

C. [destination_network] [mask] [next-hop_address or exitinterface] [administrative_distance] [permanent]

D. ip route 0.0.0.0 0.0.0.0 ip-address or exit interface type and number.

A

C. [destination_network] [mask] [next-hop_address or exitinterface] [administrative_distance] [permanent]

The syntax used for a default route is ip route 0.0.0.0 0.0.0.0 ip-address or exit interface type and number.
The default route is used by an IP network to route a packet with a destination ID not found in the routing table. It is also referred to as the gateway of the last resort.

34
Q

A router at a San Jose site receives a packet for the destination address 192.168.10.25/24 and the source address as 192.168.20.9/24. The show ip arp command output is given below:

San-Jose-Router#show ip arp

Protocol Address Age(min) Hardware Addr Type Interface
Internet 192.168.10.1 - 002E.ACD8.FE56 ARPA Ethernet0/0
Internet 192.168.10.25 10 0C2.67DA.6734 ARPA Ethernet0/0
Internet 192.168.10.19 15 0034. CB45.1467 ARPA Ethernet0/1

What steps will the router follow to forward the packet to the destination address?

A. 1) The router searches for the IP address 192.168.20.9 in the arp table.
2) The router adds the Mac-address 00C2.67DA.6734 to the Ethernet frame
and encapsulates the IP packet in an Ethernet header.
3) The router forwards the frame to the interface FastEthernet0/0.

B. 1) The router searches for the IP address 192.168.10.25 in the arp table.
2) The router adds the Mac-address 00C2.67DA.6734 to the Ethernet header
and encapsulates the IP packet in an Ethernet frame.
3) The router forwards the frame to the interface FastEthernet0/0.

C. 1) The router searches for the destination Mac-address in the arp table.
2) The router encapsulates the IP packet in an Ethernet frame and adds the
destination IP address to the Ethernet header.
3) The router forwards the frame to the interface FastEthernet0/0.

D. 1) The router searches for the IP address 192.168.10.25 in the arp table.
2) The router adds 192.168.20.9 as the source IP address to the Ethernet header
and encapsulates the IP packet in an Ethernet frame.
3) The router forwards the frame to the interface FastEthernet0/0

A

B. 1) The router searches for the IP address 192.168.10.25 in the arp table.
2) The router adds the Mac-address 00C2.67DA.6734 to the Ethernet header
and encapsulates the IP packet in an Ethernet frame.
3) The router forwards the frame to the interface FastEthernet0/0.

The router performs the following steps to forward the packet to the destination address:

1) The router searches for the IP address 192.168.10.25 in the arp table.
2) The router adds the Mac-address 00C2.67DA.6734 to the Ethernet header and encapsulates the IP packet in an Ethernet frame.
3) The router forwards the frame to the interface FastEthernet0/0.

A router helps route ip packets from the originator to the end destination address. IP routing is a process of delivering IP packets across the entire TCP/IP network.

35
Q

The RIP routing protocol is configured on a router at a site in San Jose. A network engineer needs the routing details for the connected subnets and for the subnets learned from other RIP routers. Which command will be used to obtain these details?

A. show ip route

B. show ip route details

C. show ip rip database command

D. show ip protocol

A

C. show ip rip database command

The network engineer will use the show ip rip database command to obtain the routing details of connected subnets and for subnets learned from other RIP routers.

This command lists both, learned and connected routes, for RIP-enabled interfaces. The show ip route command lists the RIP learned routes but does not define the interfaces in which the RIP is enabled based on the output.

36
Q

On a Cisco router, an administrator configures a static route, but the “show ip route” command does not display the configured static route. What could be the reason for this issue? (Choose all that apply.)

A. A better competing route is available.

B. Routes for remote subnets list the outgoing interface and next-hop router IP address.

C. There are no routes matching the next hop address.

D. The outgoing interface listed in the IP route command is down.

A

A. A better competing route is available.
C. There are no routes matching the next hop address.
D. The outgoing interface listed in the IP route command is down.

Here are the reasons for this issue:

1) The outgoing interface listed in the IP route command is down.
2) There are no routes matching the next-hop address.
3) A better competing route is available.

The IP routes added to a routing table through direct configuration are called static routes. Static paths define explicit paths between two routers and cannot be automatically updated. The administrator needs to reconfigure static routes manually when a network change occurs. Static routes use less bandwidth than dynamic routes.

37
Q

Which options determine whether the received data frame should be processed? (Choose all that apply.)

A. Check whether the frame’s destination address is the router’s IP address.

B. Ensure the data frame has no errors.

C. Check if the ARP table is already updated on the router.

D. Ensure the ip packet is encapsulated in a data-link frame.

A

A. Check whether the frame’s destination address is the router’s IP address.
B. Ensure the data frame has no errors.

The following steps determine whether the received data frame should be processed:

1) Ensure the data frame has no errors.
2) Check whether the frame’s destination address is the router’s IP address.

The Frame Check Sequence (FCS) field checks whether the frame is corrupt. If not, FCD will process it further. The destination address should be either the router ip address or an appropriate broadcast or multicast address.

38
Q

What methods are used by a router to add various routes to its routing tables? (Choose all that apply.)

A. Static routes

B. Database routing

C. Routing protocols

D. Connected routes

A

A. Static routes
C. Routing protocols
D. Connected routes

Connected routes, static routes, and routing protocols are the three methods a router uses to add various routes to its routing table.

Connected routes are subnets directly connected to a router interface. Static routes are configured manually in the router. By adding static routes, a router can trace the route to a remote network that is not directly connected to one of its interfaces. If the routing protocol is enabled, the router can trace the dynamic routes by exchanging routing information between the routers. Every router on a network can use the routing information to build its routing table.