In studying on your CCNA Test and making ready to make this worthwhile certification, you may be tempted to spend tiny time researching static routing and head appropriate for the greater fascinating dynamic routing protocols like RIP, EIGRP, and OSPF. That is an easy to understand mistake, but nonetheless a oversight. Static routing isn't difficult, but it surely’s an important topic around the CCNA exam along with a important skill for true-environment networking.
To generate static routes on the Cisco router, you employ the ip route command get more info followed by the vacation spot community, community mask, and either the following-hop IP address or even the area exit interface. It’s vital to maintain that previous portion in your mind – you’re possibly configuring the IP address on the downstream router, or maybe the interface over the regional router that can function the exit interface.
Let’s say your neighborhood router provides a serial0 interface having an IP handle of two hundred.one.one.1/30, and the downstream router that would be the future hop will receive packets on its serial1 interface with an IP deal with of two hundred.one.1.2/thirty. The static route are going to be for packets destined for your 172.ten.1.0 network. Either of the subsequent ip route statements could well be correct.
R1(config)#ip route 172.ten.one.0 255.255.255.0 200.one.1.2 (next-hop IP deal with)
R1(config)#ip route 220.127.116.11 255.255.255.0 serial0 ( nearby exit interface)
You can even publish a static route that matches just one location. That is a host route, and it has 255.255.255.255 for the mask. If the above static routes ought to only be accustomed to deliver packets to 18.104.22.168., the following commands would do The work.
R1(config)#ip route 172.ten.one.1 https://en.wikipedia.org/wiki/?search=토토사이트 255.255.255.255 200.one.1.two (subsequent-hop IP handle)
R1(config)#ip route 172.10.1.one 255.255.255.255 serial0 ( nearby exit interface)
Lastly, a default static route serves as a gateway of past vacation resort. If there aren't any matches to get a place while in the routing desk, the default route is going to be utilised. Default routes use all zeroes for both equally the spot and mask, and yet again a subsequent-hop IP tackle or area exit interface may be used.
R1(config)#ip route 0.0.0.0 0.0.0.0 two hundred.1.1.two (future-hop IP handle)
R1(config)#ip route 0.0.0.0 0.0.0.0 serial0 ( nearby exit interface)
IP route statements appear to be easy more than enough, but the details concerning the following-hop IP tackle, the regional exit interface, default static routes, and the syntax of the command are important for achievement on CCNA Examination working day As well as in the true globe.