In studying for your personal CCNA exam and planning to receive this beneficial certification, you could be tempted to spend minimal time researching static routing and head right for the greater enjoyable dynamic routing protocols like RIP, EIGRP, and OSPF. This is an comprehensible miscalculation, but nonetheless a oversight. Static routing will not be complex, but it really’s a significant topic within the CCNA Examination and also a beneficial ability for authentic-environment networking.
To build static routes over a Cisco router, you use the ip route command followed by the spot community, network mask, and possibly another-hop IP address or the nearby exit interface. It’s critical to keep that previous element in your mind – you’re possibly configuring the IP handle from the downstream router, or maybe the interface on the local router that may function the exit interface.
Allow’s say your neighborhood router provides a serial0 interface with an IP handle of 220.127.116.11/thirty, as well as the downstream router that would be the up coming hop will get packets on its serial1 interface with an IP address of two hundred.1.one.2/thirty. The static route might be for packets destined for that 172.ten.1.0 network. Either of the next ip route statements will be https://www.washingtonpost.com/newssearch/?query=토토사이트 correct.
R1(config)#ip route 172.ten.one.0 255.255.255.0 200.1.1.two (following-hop IP handle)
R1(config)#ip route 18.104.22.168 255.255.255.0 serial0 ( area exit interface)
You may as well generate a static route that matches only one destination. That is a host route, and has 255.255.255.255 for any mask. If the above mentioned static routes ought to only be utilized to mail packets to 172.ten.1.1., the next commands would do The work.
R1(config)#ip route 172.ten.one.one 255.255.255.255 200.1.one.2 (future-hop IP address)
R1(config)#ip route 172.ten.1.1 255.255.255.255 serial0 ( neighborhood exit interface)
Lastly, a default static route serves as 메이저사이트 a gateway of previous resort. If there isn't any matches for just a vacation spot from the routing table, the default route might be made use of. Default routes use all zeroes for equally the location and mask, and once more a future-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.one.two (up coming-hop IP deal with)
R1(config)#ip route 0.0.0.0 0.0.0.0 serial0 ( regional exit interface)
IP route statements appear to be very simple enough, but the details concerning the up coming-hop IP address, the regional exit interface, default static routes, plus the syntax on the command are very important for success on CCNA exam day As well as in the actual globe.