06-07-2002 10:24 AM - edited 03-01-2019 10:04 PM
The requirement is passing even or odd number of routes from 192.168.15.0 from RIP to OSPF.
Please advise.
06-07-2002 11:51 AM
You mean to say, u need to filter out or pass throught even numbered or odd numbered routes ?
apply an access list matching 192.168.15.0 and with mask 0.0.0.254.
wild card mask 0.0.0.254 implies that the last bit of the last octet should be zero (which means even numbered route) and if its one, its odd numbered route.
apply this accesslist to a distribute list or route map
06-07-2002 12:00 PM
Duh... Yes, you are right. My brain must have been dead!
Thanks
06-07-2002 12:41 PM
In this case, the last octet is most likely host and not network info. The list should probably be (for the range of 192.168.1-255.0):
access-list 1 permit 192.168.0.0 0.0.254.255 for all even networks
access-list 2 permit 192.168.1.0 0.0.254.255 for all odd networks
Does that sound right?
Mick.
06-07-2002 07:31 PM
Mick,
Yes, I tried it with distribute-list. It works well.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide