cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4091
Views
0
Helpful
17
Replies

default route and routing protcols

sarahr202
Level 5
Level 5

Hi everybody!

i have few questions:

In the following default route,

ip route 0.0.0.0 0.0.0.0 192.192.192.1

192.192.192.1 is next hop ip address.

Consider the following routing table:

R 199.199.199.0 [120/2] via s0

c 192.192.192.0 is directly connected.

Can i configure a default route as.

Ip route 0.0.0.0 0.0.0.0 199.199.199.2

Here 199.199.199.2 is not the next hop but a an entry from routing table.

I think router will perform recursive look up to send packets using 199.199.199.2

Am i correct?

====================

2) Consider the default route:

ip route 0.0.0.0 0.0.0.0 199.199.199.1

Now in case of rip, rip will automatically advertises the default route .

But in case of eigrp and ospf, we need to redistribute this route using "redistribute static" command. Am i correct?

=========================

3) Consider the following routing table

R 199.199.199.0 via s0

C 192.192.192.0 directly connected s0

If i configure default route as:

ip route 0.0.0.0 0.0.0.0 s0

it will appear in the routing table as

C 0.0.0.0 directly connected s1.

Now if we wish to advertise this route using eigrp and ospf, do we need to use the command " redistribute connected" ?

================================

Thanks a lot and have a nice day!

17 Replies 17

Steven,

You mean requirements as for memory and flash? There isn't as everything is virtual. You set your own limitations in term of memory and flash according to your workstation capabilities.

For instance, you can run more virtual router instances if you download an image that requires only 96MB DRAM vs an image that requires 256MB DRAM.

HTH,

_

Edison.

Sorry Sarah :(

Edison Ortiz
Hall of Fame
Hall of Fame

Hi Sarah,

I was playing a little more about this subject and found another way to bring a default into RIP.

1) Create an IP route pointing to an interface

ip route 0.0.0.0 0.0.0.0 FastEthernet0/1

2) Have network 0.0.0.0 under RIP

R1#sh run | be router rip

router rip

version 2

network 192.168.12.0

network 0.0.0.0

no auto-summary

Here is the remote router's view:

R2#sh ip route 0.0.0.0

Routing entry for 0.0.0.0/0, supernet

Known via "rip", distance 120, metric 1, candidate default path

Redistributing via rip

Last update from 192.168.12.1 on FastEthernet0/0, 00:00:07 ago

Routing Descriptor Blocks:

* 192.168.12.1, from 192.168.12.1, 00:00:07 ago, via FastEthernet0/0

Route metric is 1, traffic share count is 1

And the router generating the default is marking it as a 'candidate default path' so in essence is doing a 'ip default network'.

R1#sh ip route 0.0.0.0

Routing entry for 0.0.0.0/0, supernet

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

Redistributing via rip

Advertised by rip

Routing Descriptor Blocks:

* directly connected, via FastEthernet0/1

Route metric is 0, traffic share count is 1

More information on the ip route command can be found in the 'Usage Guidelines'.

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_ip.html#wp1012824

HTH,

__

Edison.