In perusing for your CCNA examination and preparing to realise this important certification, you may be tempted to pass littlest event poring over monotonous routing and herald true for the more lifting resurgent routing protocols same RIP, EIGRP, and OSPF. This is an forgivable mistake, but inactive a omission. Static routing is not complicated, but it's an influential substance on the CCNA exam and a useful knack for real-world networking.

To concoct static routes on a Cisco router, you use the ip highway enjoin followed by the finish network, framework mask, and any the next-hop IP computer code or the provincial opening interface. It's indispensable to hold on to that ultimate part of a set in psyche - you're any configuring the IP address of the downstream router, or the interface on the provincial skilled worker that will tennis stroke as the issue surface.

Let's say your local trained worker has a serial0 interface next to an IP code of 200.1.1.1/30, and the downstream trained worker that will be the adjacent hop will acquire packets on its serial1 interface next to an IP computer address of 200.1.1.2/30. The adynamic trail will be for packets inescapable for the 172.10.1.0 web. Either of the subsequent ip itinerary statements would be letter-perfect.

R1(config)#ip path 172.10.1.0 255.255.255.0 200.1.1.2 (next-hop IP computer address)

OR

R1(config)#ip line 172.10.1.0 255.255.255.0 serial0 ( regional going away interface)

You can likewise dash off a ageless channel that matches sole one goal. This is a host route, and has 255.255.255.255 for a cloak. If the above fixed routes should just be used to dispatch packets to 172.10.1.1., the later commands would do the job.

R1(config)#ip road 172.10.1.1 255.255.255.255 200.1.1.2 (next-hop IP computer code)

OR

R1(config)#ip itinerary 172.10.1.1 255.255.255.255 serial0 ( district disappearance interface)

Finally, a failure to pay rigid way serves as a entrance of ultimate resort. If within are no matches for a goal in the routing table, the absence way will be previously owned. Default routes use all zeroes for both the goal and mask, and over again a next-hop IP code or area issue interface can be used.

R1(config)#ip schedule 0.0.0.0 0.0.0.0 200.1.1.2 (next-hop IP code)

OR

R1(config)#ip itinerary 0.0.0.0 0.0.0.0 serial0 ( regional disappearance surface)

IP way statements appear undecomposable enough, but the details about the next-hop IP address, the provincial going away interface, evasion rigid routes, and the structure of the enjoin are vital for happening on CCNA exam day and in the physical world.

narwah 發表在 痞客邦 PIXNET 留言(0) 人氣()