In finding out in your CCNA exam and preparing to receive this worthwhile certification, you may well be tempted to spend minor time learning static routing and head suitable for the greater fascinating dynamic routing protocols like RIP, EIGRP, and OSPF. This is often an https://www.washingtonpost.com/newssearch/?query=토토사이트 understandable mistake, but nonetheless a miscalculation. Static routing isn't intricate, but it’s an essential subject about the CCNA exam and also a valuable talent for serious-globe networking.
To produce static routes on the Cisco router, you use the ip route command followed by the desired destination community, network mask, and possibly another-hop IP deal with or even the regional exit interface. It’s essential to help keep that past aspect in your mind – you’re either configuring the IP deal with from the downstream router, or even the interface over the area router that could serve as the exit interface.
Allow’s say your local router provides a serial0 interface by having an IP handle of two hundred.one.1.1/thirty, as well as the downstream router that will be the subsequent hop will receive packets on its serial1 interface with an IP handle of 200.one.one.2/thirty. The static route might be for packets destined with the 172.ten.one.0 community. Possibly of the subsequent ip route statements might be accurate.
R1(config)#ip route 172.10.1.0 255.255.255.0 200.one.1.two (following-hop IP address)
OR
R1(config)#ip route 172.10.one.0 255.255.255.0 serial0 ( regional exit interface)
You can even write a static route that matches just one vacation spot. This can 메이저사이트 be a host route, and it has 255.255.255.255 to get a mask. If the above static routes must only be accustomed to deliver packets to 172.10.1.one., the next instructions would do the job.
R1(config)#ip route 172.10.one.one 255.255.255.255 200.1.one.2 (next-hop IP address)
R1(config)#ip route 172.10.one.one 255.255.255.255 serial0 ( nearby exit interface)
Finally, a default static route serves being a gateway of last vacation resort. If there are no matches for your location in the routing table, the default route will be utilised. Default routes use all zeroes for equally the location and mask, and once more a subsequent-hop IP address or local exit interface can be used.
R1(config)#ip route 0.0.0.0 0.0.0.0 two hundred.one.1.two (next-hop IP address)
R1(config)#ip route 0.0.0.0 0.0.0.0 serial0 ( neighborhood exit interface)
IP route statements seem straightforward enough, but the details regarding the up coming-hop IP tackle, the regional exit interface, default static routes, and the syntax in the command are crucial for success on CCNA Examination working day As well as in the true environment.