Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

RIPv2 propagate a default route, not on all interface

hi i've a question about RIPV2,

i want to advertise my network, on one of my interfaces, but i don't want that the DEFAULT ROUTE to be propagated.

is that possible ?

ex:

INTERFACE FASTETHERNET0/0 = has to advertise the ripv2 networks but not the default route.

the deult route will be propagated on the other intefaces.

i hope that is clear...

11 REPLIES
Silver

RIPv2 propagate a default route, not on all interface

This can be done using distribute-list out command.

HTH

New Member

RIPv2 propagate a default route, not on all interface

can you tell me how can i stop the DEFAULT ROUTE to be propagated on one fastethernet interface ?

Cisco Employee

Re: RIPv2 propagate a default route, not on all interface

Hi Joseph,

This would be one way of doing it:

ip prefix-list NoDefRoute deny 0.0.0.0/0

ip prefix-list NoDefRoute permit 0.0.0.0/0 le 32

!

router rip

distribute-list prefix NoDefRoute out FastEthernet0/0

Best regards,

Peter

New Member

Re: RIPv2 propagate a default route, not on all interface

i'm trying to use it in packet tracer 6 but i don't undestand in which mode i have to use the IP PREFIX-LIST, can you help me ?

Cisco Employee

Re: RIPv2 propagate a default route, not on all interface

Joseph,

A prefix list is always configured in the global configuration mode. However, I strongly doubt that the Packet Tracer supports prefix lists or distribute lists at all.

Best regards,

Peter

New Member

Re: RIPv2 propagate a default route, not on all interface

yes i think so, but i can create access list in packet.. is there a way to do the same thing with the ACCES LIST ?

Cisco Employee

Re: RIPv2 propagate a default route, not on all interface

Hi Joseph,

In that case, this would be the solution:

access-list 1 deny 0.0.0.0

access-list 1 permit any

!

router rip

distribute-list 1 out FastEthernet0/0

Would you mind testing it and letting me know if it worked?

Best regards,

Peter

New Member

Re: RIPv2 propagate a default route, not on all interface

packet tracer 6 does not support DISTRIBUTE-LIST command,

the only command that i have is IP ACCESS GROUP on the INTERFACE Fastethernet.

can i use this ?

Cisco Employee

Re: RIPv2 propagate a default route, not on all interface

Hello Joseph,

If the Packet Tracer does not support the distribute-list command then there is no way of accomplishing your requirement. The problem is that what you need to filter here is the contents of routing updates, not their flow. An ACL applied to an interface filters the flow of packets based on their headers, but it does not filter (i.e. modify) their contents.

I am sorry to disappoint you. Perhaps you could consider moving over to GNS3 that runs real IOS to do your training work. Packet Tracer is a wonderful tool but it is focused on CCNA level of training and it intentionally does not implement all IOS features, and even the features that are implemented are actually written anew, not retaken from IOS, so their true behavior may actually differ from how IOS behaves, although creators of Packet Tracer try to be as close to the IOS behavior as possible.

Best regards,

Peter

New Member

Re: RIPv2 propagate a default route, not on all interface

ah ok i undestand... but maybe i've solved my issue.

the problem was that i did't want a router (the one with RIPV2) to send the DEFAULT ROUTE to onother router connected to an ISP (the one with EIGRP and Ripv2),

but it's not a problem if i receive the default route from RIPV2 because in the ROUTING TABLE of the EIGRP the default route that i receive from RIP it's not installed because it has a highter AD.

so i think it's ok...

i hope packet will support this command in the future because is very usefull.

thanks.

I send you a picture to explain

Cisco Employee

Re: RIPv2 propagate a default route, not on all interface

Hi Joseph,

You are welcome.

Best regards,

Peter

1398
Views
25
Helpful
11
Replies
CreatePlease to create content