'BGP Protocol configuration between two VPC

I would need to configure a cross connect between two networks via SFP Fiber. Unfortunately I'm new on BGP configuration and would need confirmation that I'm doing it on the right way...

I have Two VPC:

  • VPC A: ASN 200 IP Router: 169.254.250.1 Sub Network: 10.0.0.1/34

  • VPC B: ASN 100 IP Router: 169.254.250.2 4 Servers: 169.254.131.1 / 169.254.131.2 / 169.254.131.3 / 169.254.131.4

VPC A is completely configured, I purchased a Cisco router C1113-8PM to configure my VPC B. My aim is to ensure that any server on VPC A can access my 4 servers located in VPC B through BGP.

The procedure I started to write into VPC B Router:

#Configure ASN VPC B on Router
enable
configure terminal
router bgp 100
bgp router-id 169.254.250.2
timers bgp 70 120
end

# Configure ASN VPC A and routes
configure terminal
neighbor 169.254.250.1 remote-as 200
address-family ipv4 unicast
neighbor 169.254.250.1 activate
end

is it enough ? Do I need to set each IP address of my VPC B into BGP table ? how ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source