For this lab I am going to try to combine a few different concepts into one by have a topology that uses multiple routing protocols. I will be using EIGRP, OSPF and BGP and see if we can learn different routes from each protocol.
To start I created a 4 router network with 2 autonomous systems. I will be using BGP between R1 and R2, EIGRP between R3 and R1 and OSPF between R4 and R1. The goal will to be to get routes advertised between the autonomous systems.
Initial topology:

I will start by configuring all the interfaces with the appropriate IP addresses and assign each router a Loopback address.
Once, completed I will begin by setting up EIGRP between R1 and R3

Once I have EIGRP set up on both routers, I expected the neighbor relationship to be established but this was not the case. As you can see, no neighbor relationships have been formed:

Looking at the output of the show ip protocolscommand, both routers are properly advertising the routes so I was unsure on why they were not becoming neighbors

After several minutes of troubleshooting and head scratching it turns out I had not assigned an ip address on R3

Once the ip address is properly assigned you can now see the neighbor relationship come up

With that finished, I will set up R4 to run OSPF with R1


Now that EIGRP and OSPF have been properly set up , we can now move on to BGP. I will be putting R1, R3 and R4 in one system and R2 will be in its own "outside" system. AS 65100 will be representative of an internal network, running different protocols will AS 65200 will represent an outside system such as an ISP.
To set this up I will go on each router and place it in its appropriate AS, assign each a router ID, and define the BGP neighbor

Neighbor verification:

Now that the neighbor relationship has been established, we can now advertise routes on the BGP routers. On R1 we have to advertise the routes to R3 and R4.

Looking at the routing table on R2 you can now see that it has learned routes to R3 and R4 through BGP

For verification I will now confirm that the routers can ping each other's loopback interfaces. R1 and R2 are ableping each other no problem, but I run into issues with R3 and R4 being able to ping R2. Looking at their routing tables it appears they have now way of knowing how to get to R2's network.

My first though was that R3 needs a default gateway set to route to unknown networks. Right now it is just dropping packets if it does not have a known path. To set the default gateway I entered the following:

Sure enough this solved the issue and we can now successfully ping R2

And R4:

Final Topology:

Created with © systeme.io