Thanks Joe...but, I tried that configuration before in my home lab on 3640 running enterprise plus 12.4. I had some rack time this morning and tried configuring the route-map as you recommended on a 3825 running Advance Enterprise 12.4(24)T, thinking it might just be a 3640 problem. However, the results were the same on both:
I configured the route map as follows: route-map OSPF2Default permit 10 match ip address 1 match ip address 2 Results were either route and in show run it was configured like below even though I typed as shown above: route-map OSPF2Default permit 10 match ip address 1 2 HMM...interesting...Not a big deal because in the real world if you had 2 connections to your ISP, you would want to inject the default route into a stub area. However, if I get this question on the lab, then it is. ---- Joe Astorino <[email protected]> wrote: ============= Give this a try: route-map OSPF2Default permit 10 match ip address 1 match ip address 2 I believe that multiple matches under the same line is considered a boolean AND. What you had before was on two separate entries in the route-map. Give it a try and let me know! On Sat, Dec 26, 2009 at 8:17 PM, Eric Holder <[email protected]> wrote: > "As long as the 100.100.100.0/24 and 100.100.200.0/24 networks are in the > routing table, R8 should inject a 0/0 route to the Catalyst switches." The > problem is that it works with either route in the route, but the question > states "AND" which I took to mean both must be in table. I can't get it to > work requiring both in the table. The answer in the book works with either > route, but doesn't require both. Answer: > > access-list 1 permit 100.100.100.0 0.0.0.255 > access-list 1 permit 100.100.200.0 0.0.0.255 > > route-map OSPF2Default permit 10 > match ip address 1 > > router ospf 2 > default-information originate route-map OSPF2Default > > I've tried it a couple of different ways: > access-list 1 permit 100.100.100.0 0.0.0.255 > access-list 2 permit 100.100.200.0 0.0.0.255 > > route-map OSPF2Default permit 10 > match ip address 1 > route-map OSPF2Default permit 20 > match ip address 2 > > and > route-map OSPF2Default permit 10 > match ip address 1 2 > > But all of these work with either route in the routing table, but not both > as the question states "AND". Once the route map sees a match it applies > the default route. > > Am I missing something? > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > -- Regards, Joe Astorino CCIE #24347 (R&S) Sr. Technical Instructor - IPexpert Mailto: [email protected] Telephone: +1.810.326.1444 Live Assistance, Please visit: www.ipexpert.com/chat eFax: +1.810.454.0130 IPexpert is a premier provider of Classroom and Self-Study Cisco CCNA (R&S, Voice & Security), CCNP, CCVP, CCSP and CCIE (R&S, Voice, Security & Service Provider) Certification Training with locations throughout the United States, Europe and Australia. Be sure to check out our online communities at www.ipexpert.com/communities and our public website at www.ipexpert.com _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
