Scenario:
You are a freelance network consultant specialized in solving BGP problems. One of your customers, a small ISP has trouble with customers that are unable to reach each other. They use BGP synchronization on some of their routers.
Goal:
- All IP addresses have been preconfigured as specified in the topology picture.
- Each router has a loopback0 interface.
- Configure OSPF within AS 2 to advertise the loopback0 interfaces. Don’t advertise or run OSPF on the links interconnecting AS 1 and AS 3.
- Configure IBGP between router Foxx and Green. Source the BGP updates from the loopback0 interfaces.
- Enable BGP synchronization.
- Configure EBGP between router Foxx and Baldwin.
- Configure EBGP between router Green and Rollins.
- Advertise the loopback0 interfaces on router Baldwin and Rollins.
- Ensure AS 1 and AS 3 can communicate with each other without removing the BGP synchronization command.
It took me 1000s of hours reading books and doing labs, making mistakes over and over again until I mastered all the routing protocols for CCNP.
Would you like to be a master of routing too? In a short time without having to read 900 page books or google the answers to your questions and browsing through forums?
I collected all my knowledge and created a single ebook for you that has everything you need to know to become a master of routing.
You will learn all the secrets about BGP and more.
Does this sound interesting to you? Take a look here and let me show you how to Master CCNP ROUTE
IOS:
c3640-jk9s-mz.124-16.bin
Topology:
Video Solution:
Configuration Files
You need to register to download the GNS3 topology file. (Registration is free!)Once you are logged in you will find the configuration files right here.
The How to Master series helps you to understand complex topics like spanning-tree, VLANs, trunks, OSPF, EIGRP, BGP and more.
Written by René Molenaar - CCIE #41726
i jsut used static or default routes
Hi Talal,
Static and default routes will work…but they almost work anytime/everywhere ;D You should use the BGP solution to fix this. If you read a little on “BGP Synchronization” you can fix this!
Rene
I solved this lab by redistribution technique
Good job Jawed that’s how to finish this lab. The prefixes have to be in our IGP in order for BGP to advertise them to another AS.
Very good and useful information. Keep going….
Glad you liked it, thanks!
Hi Rene
Is it ok to redistribute all our internet router into IGP (in this case OSPF).
dont we loose all BGP attribute while redistributing into IGP.
If router Mitchel is not able to handle such a huge routing table then how we make this work
I have disable synchronization on every router running BGP in this lab. still not able to see communicate between AS 1 and AS 3.
what if router Mitchel is also BGP enables and it has a neighborship with Foxx and Green. Foxx and Green are not BGP neighbor (not in a full mesh environment ). Then is it possible for Mitchel to advertise routes coming from Foxx to green and vice verse. if yes then how and if no then how ?
I am really confuse in this.
Hi,
The problem is that router Mitchell will drop traffic because it doesn’t know about the destination networks. Normally if you are a transit AS like AS 2 you need to run IBGP on [b]*all*[/b] your routers.
Another option would be to redistribute BGP into OSPF but yes you will lose your BGP attributes and OSPF isn’t capable of having so many prefixes in it’s LSDB. A full internet routing table has >300.000 prefixes and there’s no way you can redistribute these into OSPF.
So the short answer is…..run IBGP on all your routers in the Transit AS or redistribute "some" prefixes into OSPF so you have connectivity.
You could also create a GRE tunnel between Foxx and Green but that’s more a solution you would use in a lab.
Rene
Bgp Black holing will be good solution or we can use specific prefix to be redistributed in ospf.if i am wrong please let me know.
This scenerio says Enable BGP synchronization. Isn’t synchronization is enable by default ?
good lab.
@ Rizwan – i can’t even find “bgp synchronization” in the Cisco IOS Master Command List All Releases.
but after doing an Internet web search, i found a reference saying BGP synchronization was set to “disabled by default” in IOS 12.2(8)T.
silly me… i looked for “bgp synchronization”.
i found it in the Cisco IOS Master Command List All Releases right where it is supposed to be… under just “synchronization”… DOH! 🙂
anywho, confirmed new behavior in IOS 12.2(8)T:
12.2(8)T Command default behavior changed to disabled.
Excellent lab.
So, does this mean that if synchronization was turned off, that 1.1.1.0 and 5.5.5.0 would have been successfully advertised to Baldwin and Rollins (without redistributing BGP into OSPF), because the rule of “don’t advertise unless IGP is advertising it also” would be unused?
I’m still a little fuzzy on how synchronization on or off changes the routing behavior.
Hello sir,
How can i open .gns3 file?
thanks
You can open them with the latest version of GNS3, found on http://gns3.com.
Thank you sir
I have just noticed the orange bar at the top
hi,
how to remove rib routes?
r> ?
Had fun with synchronization, ip ospf network point-to-point and redistribute static into OSPF.