In studying on your CCNA exam and making ready to gain this valuable certification, you could be tempted to invest very little time learning static routing and head proper for the more thrilling dynamic routing protocols like RIP, EIGRP, and OSPF. That is an easy to understand blunder, but nonetheless a miscalculation. Static routing is not complex, but it’s a very important matter over the CCNA Test as well as a important talent for serious-globe networking.
To generate static routes on a Cisco router, you use the ip route command accompanied by the spot network, community mask, and possibly another-hop IP handle or maybe the nearby exit interface. It’s very important https://www.washingtonpost.com/newssearch/?query=토토사이트 to maintain that previous portion in your mind – you’re both configuring the IP tackle in the downstream router, or maybe the interface on the neighborhood router that could function the exit interface.
Allow’s say your neighborhood router features a serial0 interface with an IP address of 200.one.one.1/thirty, and also the downstream router that will be the upcoming hop will receive packets on its serial1 interface by having an IP handle of two hundred.one.1.2/thirty. The static route will be for packets destined with the 172.10.1.0 community. Either of the following ip route statements will be right.
R1(config)#ip route 172.10.one.0 255.255.255.0 two hundred.one.1.2 (subsequent-hop IP handle)
OR
R1(config)#ip route 172.ten.one.0 255.255.255.0 serial0 ( local exit interface)
You may also create a static route that matches only one location. It is a host route, and it has 255.255.255.255 for the mask. If the above static routes must only be utilized to ship packets to 172.10.1.one., the following commands would do The work.
R1(config)#ip route 172.ten.1.1 255.255.255.255 two hundred.1.1.2 (up coming-hop IP tackle)
R1(config)#ip route 172.ten.one.1 255.255.255.255 serial0 ( regional exit interface)
Lastly, a default static route serves as a gateway of previous resort. If there aren't any matches for just a place within the routing desk, the default route will probably be utilised. Default routes use all zeroes for each the destination and mask, and once more a future-hop IP tackle or nearby exit interface can be used.
R1(config)#ip route 0.0.0.0 0.0.0.0 200.1.1.2 (up coming-hop IP tackle)
R1(config)#ip route 0.0.0.0 0.0.0.0 serial0 ( regional exit interface)
IP route statements 메이저사이트 appear to be simple more than enough, but the main points regarding the upcoming-hop IP tackle, the community exit interface, default static routes, as well as syntax with the command are essential for achievement on CCNA Test day and in the real earth.