Thank you to all that have helped me so far. Theres a couple of questions I am having trouble understanding. So I have 2 internet facing routers in 2 seperate towns. Both with Cogent. These 2 towns are interconnected with a series of backhauls with many mikrotik routers in between. These routers all use OSPF to distrubute routes to each other. The idea is any given router can go one way with another way as backup. OSPF I have a very good understanding of and works fine. BGP however I am new to and have a couple of questions:
-
I have one of the internet facing routers working fine with BGP now while the other is still static for the time being and it is receiving full internet routes. One of the problems I noticed was with this setup I was not receiving a default route to send off to the other routers via ospf. I fixed this by putting a static default route in the BGP router so now it has something to distribute. This works fine. The problem is if that fiber connection goes down it will still redistribute the default route wont it? How can I tell the router to shut off that default static default route? Can I use check gateway for this when there is only one default route?
-
given my network setup I am still confused about aggregates. Through trial and error I got it working by putting in /24’s in both the networks section and the aggregates section. I had to set include IGP to yes for it to work with the 2nd router in the next town. Summary Only and Inherit Attributes seem to have no affect one way or another. Can someone explain in english what these 3 settings are actually doing?
\ -
When I get ready to convert the 2nd internet facing router from static to BGP I understand I can use prepends so that the traffic will go to one router for some IP’s, but another router for other IP’s. What should prepends generaly be set to and is this something I need to notify cogent about ahead of time?