- Posts: 16
- Thank you received: 0
Priority
14 years 9 months ago #33629
by TheBishop
Replied by TheBishop on topic Re: Priority
Default gateway is the last resort, so if there is no other route for the detination then the packet will be sent to the default gateway.
Both static routes and dynamic routing protocols will place routes into the routing table. The route that will get used depends on the cost or metric of the routes themselves
Both static routes and dynamic routing protocols will place routes into the routing table. The route that will get used depends on the cost or metric of the routes themselves
14 years 9 months ago #33632
by Losh
~ Networking :- Just when u think its starting to make sense......... ~
____________________________________________
CCNA, CCNP, CCNA Security, JNCIA, APDS, CISA
Replied by Losh on topic Re: Priority
In your network, packets that have a destination address that is not local to that network will use the default gateway to reach the external network.
If configured, a static route will be chosen over any other route because they have an administrative distance of 1. NB,the lowest admin distance is the one chosen.
Then last but not least, if there exists any dynamic routing protocols, they will place routes in the routing table. Depending on which routing protocol is used i.e RIP,EIGRP,OSPF,ISIS,BGP etc, the route chosen over all the others will depend on the metric of the specific routing protocol.
If configured, a static route will be chosen over any other route because they have an administrative distance of 1. NB,the lowest admin distance is the one chosen.
Then last but not least, if there exists any dynamic routing protocols, they will place routes in the routing table. Depending on which routing protocol is used i.e RIP,EIGRP,OSPF,ISIS,BGP etc, the route chosen over all the others will depend on the metric of the specific routing protocol.
~ Networking :- Just when u think its starting to make sense......... ~
____________________________________________
CCNA, CCNP, CCNA Security, JNCIA, APDS, CISA
14 years 9 months ago #33634
by FlipRich
Rich
Network Engineer /CCNP, CCNA-S
Tallahassee, FL
Replied by FlipRich on topic Re: Priority
...and default gateway, or more correctly termed "default route", is a static route. The only difference between default route and regular static routes is the defined traffic for each.
Static route:
ip route 192.168.1.0 255.255.255.0 192.168.1.10
---Any traffic destined for 192.168.1.0 network will use 192.168.1.10 as it's its next hop.
Static default route:
ip route 0.0.0.0 0.0.0.0 192.168.2.10
---All other traffic not defined in the previous route will use 192.168.2.10 as it's next hop.
Static route:
ip route 192.168.1.0 255.255.255.0 192.168.1.10
---Any traffic destined for 192.168.1.0 network will use 192.168.1.10 as it's its next hop.
Static default route:
ip route 0.0.0.0 0.0.0.0 192.168.2.10
---All other traffic not defined in the previous route will use 192.168.2.10 as it's next hop.
Rich
Network Engineer /CCNP, CCNA-S
Tallahassee, FL
Time to create page: 0.126 seconds