11-28-2002 03:25 AM - edited 03-02-2019 03:14 AM
hello,
the command for static ip route says" next hop or exit interface".when do we use the exit interface?can we not use it in lan?is it only used in wan?can u answer my queries?
smita.
11-28-2002 04:34 AM
You can use static routes pointing to any interface you have.
When you use a static route that points to an interface, it is automatically redistributed in your dynamic (RIP, EIGRP, OSPF,..) routing protocol. This is not the case when you let the route point to an IP adress.
I could also imagine that you use an interface as the next hop when this interface is the terminating point for your routing domain, i.e when the network beyond this interface it not managed by you.
11-28-2002 05:50 AM
If you had several routers on a LAN segment, and wanted to spec a static route, you would spec the next hop address, not the exit interface, so the traffic would go directly where you wanted it to. This is one case where you would use next hop as opposed to exit interface. The routing protocol costs are different also depending on which one you use. Can't remember what they are though.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: