cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
680
Views
0
Helpful
5
Replies

Default and Static routes

milkdroogy
Level 1
Level 1

I'm confused with those!

if i have R1 and ISP routers, ISP connects to the internet cloud and R1 connects to it(what is connected to R1 is or a lan or another set of routers)

so given this topology - when do i choose static route,default route or static-default route on each one of those routers??

and what does the zeros mean in this command:

>ip route 0.0.0.0 0.0.0.0 207.134.6.1

??

5 Replies 5

anandramapathy
Level 3
Level 3

0.0.0.0 0.0.0.0 means - matching any packet.

if a packet comes to the ethernet interface of the router, the router checks the routing table to find out what to do with the packet.

packets intended for

0.0.0.0 ( All networks ) 0.0.0.0 ( All subnets )

will be forwarded to the gateway 207.134.6.1 which is the WAN interface of the ISP

static route - a route that's manually configured and not learned via a dynamic routing protocol.

default route (0.0.0.0/0) - any destination with any mask. It's also known as gateway of last resort.

static default route - default route that's manually configured.

The router wouldn't use the default route to forward traffic if it has a more specific route to that destination. The default route would be used to forward traffic to any destination for which the router doesn't have a specific route.

A dynamic routing protocol has some advantages which the static route doesn't offer as the name suggests it's dynamic. However, for a simple network that doesn't have multiple points of exit and for someone doesn't want to deal with hassle of enabling a dynamic routing protocol then static route might be a sufficient option.

HTH

Sundar

which of the routing protocols are dynamic?

(rip? igrp? etc.)

All the routing protocols are dynamic, RIP, IGRP, EIGRP, OSPF, IS-IS and BGP. All but BGP is internally used within an AS and BGP is used for inter-AS routing.

HTH

Sundar

A good way to think of a dynamic protocol is just that - it's dynamic. It will change when something on the network changes, and update itself and other routers accordingly.

A static route remains the same unless you change it.

Getting Started

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:

Review Cisco Networking products for a $25 gift card