A different way to configure a static route is a choice of while using exit interface to specify the following-hop address. Prior to the CEF, this process can be used to prevent the recursive lookup problem. However the CEF resolve the recursive lookup problem.
In Figure 1, exactly the same topology that people already discussed in the last lesson. Within this lesson, we ought to configure directly connected static routes on Router1 using exit interfaces.
So while using IP route command we’ve configured static route using exit interface for network 192.168.10./24 and network 192.168.30./24. You can observe the entire command within the second area of the figure below.
The routing table for Router1 is proven within the third area of the figure below. If somebody transmits a packet 192.168.10./24 network, Router1 searches for a match within the routing table and finds that it may forward the packet from its Fast Ethernet / interface.
The procedure needed no further lookups. So, you can now compare the routing table utilizing an Ip from the next-hop and routing table utilizing an exit interface from the router.
The routing table with configuring a directly connected static route by having an exit interface resolves the exit interface in one search, rather of two searches. So that it resolves the recursive routing problem without needing CEF.
The routing table entry signifies “directly connected”, however the administrative distance from the static route continues to be 1. Merely a directly connected interface might have an administrative distance of .
For point-to-point routers, we are able to use static routes that could indicat the exit interface or to another-hop address. But using static routes utilizing an exit interface on point-to-point systems is quite common, which will make CEF mechanism unnecessary.
For multipoint/broadcast interfaces, it’s appropriate to make use of static routes that could indicat a next-hop address. Following may be the video to configure a static route utilizing a directly connected static route.