In finding out on your CCNA Examination and making ready to get paid this beneficial certification, you may be tempted to spend minimal time studying static routing and head right for the more interesting dynamic routing protocols like RIP, EIGRP, and OSPF. That is an comprehensible miscalculation, but still a error. Static routing will not be complicated, but it really’s an important topic about the CCNA exam and a precious ability for serious-globe networking.
To create static routes on a Cisco router, you use the ip route command followed by the desired destination network, network mask, and both another-hop IP tackle or perhaps the nearby exit interface. It’s very important to help keep that past element in your mind – you’re both configuring the IP handle with the downstream router, or perhaps the interface about the local router that can function the exit interface.
Permit’s say your local router contains a serial0 interface by having an http://www.bbc.co.uk/search?q=토토사이트 IP handle of two hundred.one.1.one/30, as well as downstream router that will be the subsequent hop will get packets on its serial1 interface with the IP deal with of two hundred.1.1.2/thirty. The static route will probably be for packets destined to the 172.ten.one.0 network. Either of the next ip route statements could be proper.
R1(config)#ip route 172.ten.1.0 먹튀검증사이트 255.255.255.0 two hundred.one.1.two (subsequent-hop IP handle)
R1(config)#ip route 172.10.one.0 255.255.255.0 serial0 ( local exit interface)
You may also write a static route that matches just one desired destination. It is a host route, and it has 255.255.255.255 for your mask. If the above mentioned static routes ought to only be utilized to deliver packets to 172.ten.one.1., the following instructions would do the job.
R1(config)#ip route 172.10.one.1 255.255.255.255 two hundred.one.1.2 (upcoming-hop IP deal with)
R1(config)#ip route 172.ten.1.1 255.255.255.255 serial0 ( nearby exit interface)
At last, a default static route serves as being a gateway of final resort. If there aren't any matches for a destination from the routing table, the default route will likely be utilised. Default routes use all zeroes for both of those the destination and mask, and yet again a up coming-hop IP deal with or community exit interface may be used.
R1(config)#ip route 0.0.0.0 0.0.0.0 200.one.1.two (up coming-hop IP handle)
R1(config)#ip route 0.0.0.0 0.0.0.0 serial0 ( nearby exit interface)
IP route statements look simple enough, but the details regarding the next-hop IP tackle, the nearby exit interface, default static routes, as well as syntax of your command are critical for achievement on CCNA Examination working day and in the actual planet.