Exam 200-301 | Question id=5386 | IP Connectivity |
Which Cisco Internetwork Operating System (IOS) command would be used to define a static route for network 192.168.11.0 through default gateway 192.168.43.1?
A. |
router(config)# ip route 192.168.11.0 255.255.255.0 192.168.43.1 | |
B. |
router# ip route 192.168.11.0 255.255.255.0 192.168.43.1 | |
C. |
router(config)# ip classless 192.168.43.1 | |
D. |
router(config)# ip default gateway 192.168.11.0 255.255.255.0 192.168.43.1 | |
E. |
router# ip default gateway 192.168.43.1 |
The router(config)# ip route 192.168.11.0 255.255.255.0 192.168.43.1 command would be used to define a static route for network 192.168.11.0 through default gateway 192.168.43.1. Static routing is used to manually configure routes to remote networks. The syntax of the ip route command is as follows:
ip route [destination_network] [mask] [next-hop_address or exit interface] [administrative_distance] [permanent]
The parameters of the command are as follows:
* destination_network: Defines the network that needs to be added in the routing table.
* mask: Defines the subnet mask used on the network.
* next-hop_address: Defines the default gateway or next hop router that receives and forwards the packets to the remote network.
* administrative_distance (AD): Static routes have an AD of 1, which can be changed to change the priority of the route.
Static routing is often implemented in small yet stable networks where the number of routes is small and manageable, and the network can benefit from the elimination of the traffic that dynamic routing protocols would introduce. If this is the case, it is important that all routes be statically created, or else networking problems can occur.