cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
325
Views
5
Helpful
3
Replies

RIP Default GWY Filtering

csacontract
Level 1
Level 1

I wish to filter on outbound RIPv2 advertisements. I want a customer to receive a Default Gateway route, but do not wish to send them any of the other more specific routes in my table.

I'm already using distribute-lists with standard ACLs to only accept certain routes from customers. I haven't tried it yet, but would an ACL that is configured for 0.0.0.0 255.255.255.255 advertise just the default gateway, or would it match all routes and let them through?

Luke Plaizier

3 Replies 3

Harold Ritter
Cisco Employee
Cisco Employee

An ACL with 0.0.0.0 255.255.255.255 would indeed accept anything. You rather need 0.0.0.0 0.0.0.0, which will only match the default route. Note that the wildcard of 0.0.0.0 is the default and will therefore not show in the config. It should look something like this.

router rip

distribute-list 1 out

access-list 1 permit 0.0.0.0

access-list 1 deny any

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

dennylester
Level 1
Level 1

Hello,

I would be interested in knowing how you got your router to distribute the default route?

I can get mine to distribute the attached subnets but not the default gateway..

The best way if you have a default in the existing router is to originate the default using default-information originate

Review Cisco Networking products for a $25 gift card