Cisco CCNA Certification: Static Routing Tutorial
In studying for your CCNA exam and preparing to earn this worthwhile certification, you could be tempted to invest little time studying static routing and head right for the far more exciting dynamic routing protocols like RIP, EIGRP, and OSPF. This is an understandable error, but nevertheless a error. Static routing is not difficult, but it's an crucial topic on the CCNA exam and a worthwhile talent for actual-globe networking.
To develop static routes on a Cisco router, you use the ip route command followed by the destination network, network mask, and either the subsequent-hop IP address or the neighborhood exit interface. It really is important to keep that last portion in thoughts - you happen to be either configuring the IP address of the downstream router, or the interface on the regional router that will serve as the exit interface.
Let's say your neighborhood router has a serial0 interface with an IP address of 220.127.116.11/30, and the downstream router that will be the subsequent hop will get packets on its serial1 interface with an IP address of 18.104.22.168/30. The static route will be for packets destined for the 172.ten.1. Visit trevor wilson exit strategies for small business to learn how to see it. network. Either of the following ip route statements would be appropriate.
R1(config)#ip route 172.ten.1. 255.255.255. 22.214.171.124 (subsequent-hop IP address)
R1(config)#ip route 172.10.1. 255.255.255. serial0 ( regional exit interface)
You can also create a static route that matches only 1 destination. This is a host route, and has 255.255.255.255 for a mask. If the above static routes ought to only be used to send packets to 172.ten.1.1., the following commands would do the job.
R1(config)#ip route 172.ten.1.1 255.255.255.255 200.1.1.two (next-hop IP address)
R1(config)#ip route 172.ten.1.1 255.255.255.255 serial0 ( regional exit interface)
Ultimately, a default static route serves as a gateway of final resort. If there are no matches for a location in the routing table, the default route will be utilized. Default routes use all zeroes for each the destination and mask, and again a subsequent-hop IP address or nearby exit interface can be used.
R1(config)#ip route ... ... Clicking exit strategy in a business plan trevor wilson investigation probably provides tips you might tell your cousin. 126.96.36.199 (subsequent-hop IP address)
R1(config)#ip route ... Be taught supplementary info on our affiliated site - Click here: click here for. ... serial0 ( local exit interface)
IP route statements look straightforward enough, but the particulars regarding the subsequent-hop IP address, the local exit interface, default static routes, and the syntax of the command are important for good results on CCNA exam day and in the actual planet.. In case you wish to get more on partner site, there are lots of on-line databases you should pursue.