How to filter routes in RIP?
Posted by: Sulaiman Syed
Filtering routes in RIP
Although rip is not the best routing protocols, the mechanism of filtering routes can be applied to other routing protocols a well. My personal advice will be to stay away as much as possible from RIP. RIP is a routing loop magnet, you never know when you created a loop by yourself.
In this entry, I would like to mention two methods that i found interesting, cause it will be helpful even in later as we go on. Lets read the syntax below
Router rip
distribute-list 100 in serial 1/0
!
access-list 100 deny ip host 10.254.0.10 host 192.168.1.0
access-list 100 permit ip any any
in the rip process i have included a distribute-list. This list has to statements. The second one to permit all route updates to be installed in the routing table that are coming from Interface Serial 1/0. The first access list deny route to network 192.168.1.0 which is advertised by 10.254.0.10
Keep in mind that distribute-list can be used with BGP and it has different meaning! so lets summarize this
access list 100 deny ip host x.x.x.x (router) host y.y.y.y (Network) ————- IN IGB
access list 100 deny ip host x.x.x.x (network) host y.y.y.y (mask) ————– IN BGP




