Our number of users on PPPoE Server has exceeded 1000+ and PPPoE server crash problems have started. As I researched in Mikrotik Forum, I saw that I needed to split the structure into 2 devices, NAT and PPPoE. I prepared the diagram below in order to explain the structure I want to set up. Do you think Ospf would be the most suitable solution for this job? What kind of configuration do I need to prepare? I’m waiting for your help. Thank you.
Yes this will be best thing you can do! But in this case looks like you have small network and not so much IP after 1009 so you can use also static IP. CCR1009 will have just one default route to CC1036 and 1036 will have some static routes to CCR1009. Just remind to disable connection tracking on CC1009.
A static route covering all subscriber’s address range and you are done
Also, include a firewall rule to avoid packets looping between routers
Only removing Nat from the PPPoE router will not solve your problems, the main reason to disable NAT is to be able to disable connection-tracking so you will need to disable that and rework your firewall rules to accommodate that change