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

Announcing default route

Gurus,

Im announcing a default route on my client and i got this on the remote side .

r> 0.0.0.0

5 Replies 5

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Jeff,

a default route is represented as:

0.0.0.0/0

if you want to know if a router has a default-route in its routing table do:

sh ip route 0.0.0.0

So I think that what you see on the remote site can be correct: try to use the command above to check it

Hope to help

Giuseppe

Here is the result on the remote side

Routing entry for 0.0.0.0/0, supernet

Known via "static", distance 1, metric 0, candidate default path

Routing Descriptor Blocks:

* x.x.x.x

Route metric is 0, traffic share count is 1

hello Jeff,

you have a static route for default on the remote that is overriding for its lower AD (administrative Distance) the route sent by the routing protocol in use (if any)

the entry will be

ip route 0.0.0.0 0.0.0.0 x.x.x.x

if you want to use the route of dynamic routing protocol you need to make the static a floating static route

do the following:

! CAUTION here or you can miss the remote end

ip route 0.0.0.0 0.0.0.0 x.x.x.x 200

! this adds a floating static route with AD 200 this is as a last resort if the default route in the routing protocol is missing

no ip route 0.0.0.0 0.0.0.0 x.x.x.x

! this will delete the first static route

from now you should see the default route coming from the routing protocol.

If for any reason this is missing the floating static route will be installed and you can still reach the remote router.

Hope to help

Giuseppe

Hi Giuseppe,

My client want to received both default route on 2 providers and acheived load sharing, is this possible ?

Hello Jeff,

this is possible if:

the two 0.0.0.0/0 will be learned with the same AD and metric (if applicable).

If the parameters match both routes will be installed in the routing table and you will achieve load-balancing as well

if using eBGP to have both paths installed you will need

router bgp yourASN

maximum-paths 2

Hope to help

Giuseppe

Review Cisco Networking products for a $25 gift card