filtering RIP routes

Dear All,

May I seek a help of experts on filtering RIP routes please. As of my knowledge this time I know that we can achieve it by using XOR but still having confusiion that how it does work at backend to achieve perticular routes out of all.

Lets assume that the routes 10.172.1.0/24 - 10.172.16.0/24 are being recieved, however we only
require 10.172.1.0/24 - 10.172.3.0/24 and 10.172.8.0/24- 10.172.11.0/24 or in vice-versa if we need to have only routes 10.172.4.0/24 - 10.172.7.0/24 and 10.172.12.0/24- 10.172.15.0/24.

On second case,if I do XOR calculation so I could achieve the expected routes but all in all not too sure how it work in actual groud for filtering routes on RIP.

XOR calculation which I am doing here,

10.172.4.0/24 (Minimum prefix) need to XOR it with the maximun prefix required that is 10.172.15.0/24/

 

10.172.0100.0000

10.172.1111.000

------------------------------------

10.172.1011.000  which is 10.172.11.0    {After XOR}

My understanding says that if I put ACL 10.172.4.0 with wild mask 11 on third octact so I could achieve the above expected routes.

 

Please help to make me clear that how exactly we could learn and filter the routes.

 

Thanks and Regards

 

 

Comments

Sign In or Register to comment.