Description: configure static route 172.16.1.0 mask 255.255.255.0 with next hop address of 192.16.2.1.
Syntax: ip route prefix mask {address|interface} [distance]
prefix mask is the ip route prefix and mask for the destination.
address|interface: Use either the next hop router ip or the local router outbound interface used to reach the destination.
distance is the administrative distance and an optional parameter.
Instructions:
1. Enter into Global Configuration Mode
2. Disable IP Routing
3. Re-enable IP Routing
4. Configure a static route with destination sub-network number as 172.16.1.0,
subnet mask as 255.255.255.0,and IP address of the next-hop router in the
destination path to 172.16.2.1
R1>enable
R1#configure terminal
R1(config)#no ip routing
R1(config)#ip routing
R1(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1
Note: Used no ip routing to remove any previously configured routing information.
Cert-Ex™ Exam Simulators, Cert-Ex™ Network Simulator, Cert-Ex™ Cheatsheets are written independently by CertExams.com and not affiliated or authorized by respective certification providers. Cert-Ex™ is a trade mark of CertExams.com or entity representing Certexams.com.Network+™ is a trademark of CompTIA® organization.