In learning for your CCNA exam and planning to earn this valuable certification, you may be tempted to invest minor time researching static routing and head ideal for the greater fascinating dynamic routing protocols like RIP, EIGRP, and OSPF. This is often an easy to understand error, but still a slip-up. Static routing just isn't intricate, nevertheless it’s an essential matter on the CCNA Examination and a important skill for real-world networking.
To generate static routes on the Cisco router, you employ the ip route command followed by the location network, network mask, and either the subsequent-hop IP handle or the nearby exit interface. It’s very important to help keep that past element in your mind – you’re either configuring the IP deal with of your downstream router, or maybe the interface around the community router that could function the exit interface.
Let’s say your local router contains a serial0 interface having an IP handle of 200.1.one.one/30, plus the downstream router that will be the subsequent hop will get packets on its serial1 interface using an IP address of 200.1.one.two/30. The static route will likely be for packets destined for the 172.10.1.0 network. Possibly of the subsequent ip route statements would be right.
R1(config)#ip route 172.10.one.0 255.255.255.0 two hundred.one.1.two (next-hop IP address)
OR
R1(config)#ip route 172.ten.one.0 255.255.255.0 serial0 ( nearby exit interface)
You can even create a static route that matches only one destination. This can be a host route, and it has 255.255.255.255 for any mask. If the above mentioned static routes should really only be utilized to send packets to 172.10.1.one., the next commands would do The work.
R1(config)#ip route 172.ten.one.1 255.255.255.255 200.one.1.two (next-hop IP address)
R1(config)#ip route 172.10.1.one 255.255.255.255 serial0 ( area exit interface)
At last, a default static route serves as being a gateway of very last resort. If there won't be any matches to get a desired https://www.washingtonpost.com/newssearch/?query=토토사이트 destination in the routing table, the default route is going to be utilised. Default routes use all zeroes for both equally the location and mask, and once again a subsequent-hop IP deal with or area exit interface can be used.
R1(config)#ip route 메이저사이트 0.0.0.0 0.0.0.0 two hundred.one.1.2 (subsequent-hop IP tackle)
R1(config)#ip route 0.0.0.0 0.0.0.0 serial0 ( area exit interface)
IP route statements feel very simple adequate, but the main points concerning the next-hop IP address, the neighborhood exit interface, default static routes, as well as syntax with the command are critical for achievement on CCNA Test working day and in the real earth.