06-23-2006 03:53 PM - edited 03-03-2019 03:47 AM
I have three three routers connected in a straight line. For sake of simplicity I'll call them my left,
--Left---eth----Middle--serial---Right--
Left runs only RIPv2, Middle runs OSPF and RIPv2 and mutually redistributes bewteen the two, and Right runs only OSPF.
I don't think it matters, but Middle is in the backbone, and Right is in Area 1. Left can see Right and vice versa.
The point to point serial connection to Right is using a /30 mask. (The subnet is 192.168.0.0/30)
My problem is, Middle advertises its route to Left with a /24 mask instead of /30, so nodes beyond Left cannot get to Right.
I have other /30 subnets off Middle (0.4, 0.8, etc.) that have the same problem.
Anyway, is there a way to configure Middle so the advertisements are not classful, and Left receives the correct /30 route?
Or, is my problem perhaps something else altogether?
Thanks in advance,
Matt Heffernan
06-24-2006 12:07 AM
Hi
I think you need to put the 'subnets' keyword in the end of your 'redistribute...' command under OSPF on your ASBR.
This makes OSPF advertise subnets instead of major networks...
Aaron
Please rate helpful posts...
06-24-2006 10:01 AM
Using the subnets keyword is certainly a good suggestion. But there is something about the problem that I do not understand: if middle is advertising 192.168.0.0/24 then why is left not using that route and forwarding for 192.168.0.4, 192.168.0.8, etc to middle? Is there perhaps some subnet of 192.168.0 that is on left (or is advertised to left by someone in RIPv2? If left believes that it knows any subnet of 190.168.0 and if left is configured with ip classless then it would have the behavior described. Is that the case on left?
HTH
Rick
06-24-2006 11:33 AM
Got it figured out.
I needed to add no auto-summary to my RIP configuration. Turns out I had a NAT issue on Middle as well, but now that is working okay as well.
Thanks.
06-25-2006 02:34 AM
Hi.
When you redistrubute OSPF/RIP , at that time you can put " Subnet " work in the command. Like Redistrubute rip subnet this will resolve the problem.
. because when you do not put subnet word in the commnad, it will generate entire classful network ( like /8, /16,/24 ), that is why you will get the /24 routes in routing table.
i hope this will solve your problem. please rate.
--MM
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