cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1900
Views
0
Helpful
6
Replies

Communication between two datacenters

LincolnR
Level 1
Level 1

I would like the packets from the networks 172.21.1.0, 172.22.1.0, 172.23.1.0 to arrive on the network 100.1.1.4. Can you help me?

Basic Topology.jpeg

 
6 Replies 6

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Is this a lab? Your real network? What are the configuration already in place and what is not working?
Which devices steer you managing? I mean, if everything in between the 2 sites is configured correctly, you'll just have to advertise your subnets on each end and it should work.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

This topology is created in EVE. The loopbacks 0 ping in both the west PE and east PE.

I would like the packets from networks 172.21.1.0,172.22.1.0, 172.23.1.0 to reach the network 100.1.1.4.

 

Follow the attached settings. 

 

Could you help me  achieve this goal?

Basic TopologyI.jpeg

 

 

 

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

This is HLD (not fully) and no one can understand your lab or real network based on this diagram. We need more information such as some of the show commands, running configuration. As you are playing with this lab than where is the issue are you facing? Is iBGP not learning routes? Are Next hops issue? Have you configured VRF correctly? Have you advertised networks correctly? Is your basic IP address configured correctly? is interfaces up?

 too many things to check.

 

Share more details with tracert command. 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

This topology is created in EVE. The loopbacks 0 ping in both the west PE and east PE.

I would like the packets from networks 172.21.1.0,172.22.1.0, 172.23.1.0 to reach the network 100.1.1.4.

 

Follow the attached settings. 

 

Could you help me  achieve this goal?

Basic TopologyI.jpeg

Hello @LincolnR ,

most of the job is done on the router labelled "PE" R1 on the left portion of your network diagram.

 

a) Advertising OSPF routes into BGP

It is not necessary to redistribute OSPF into BGP for this in BGP the network command works also for routes learned from a dynamic protocol but it requires an exact match ( no auto-summary enabled by default in last IOS /IOS XE releases)

on R1 "PE" node ( it is not a true PE node as there is no VRF with the the "CE" node and OSPF 100 runs in global routing table)

 

router bgp 500

network 172.21.1.0 mask 255.255.255.0

network 172.22.1.0 mask 255.255.255.0

network 172.23.1.0 mask 255.255.255.0

 

on R4 in the same way

 

R4:

router bgp 500

network 100.1.1.4 mask 255.255.255.255

 

b) how to make remote prefix reachable

Here there are many ways

b1)  the R1 router can inject a default route into OSPF that will be flooded to all OSPF routers in DC A. This may be acceptable or not. This depends if DC A ha another exit point to the publicx internet is not acceptable.

router ospf 100

default-information originate always

 

b2) redistributing BGP, actually iBGP into OSPF 100

In this case you need a command under bgp

router bgp 500

redistribute internal

 

! this allows to redistribute iBGP learned paths that by default are not sent in redistribution of BGP into an IGP.

 

ip prefix-list DC-B permit 100.1.1.4/32

 

route-map BGP-into-OSPF permit 10

match ip address prefix DC-B

 

router ospf 100

redistribute bgp 500 route-map BGP-into-OSPF subnets

 

Note: you may need the neighbor allowas-in also on the internal routers R1 and R4 in BGP.

 

Hope to help

Giuseppe

 

 

Giuseppe

 

As you can see. The PC in datacenter A not the remote prefix reachable.

ping 100.1.1.4

pinging 100.1.1.4 with 32 bytes of data:

Request timed out.

Request timed out.

Request timed out.

 

II attached the outputs

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card