Just looking for some input/feedback into a BGP and VRRP setup I have with my upstream provider. Let me explain:
Two VMs are configured as BGP routers. Both have BGP sessions configured to the carrier's router using IP address 203.0.113.22 (via multihop) to the same carrier and announcing upstream a /24 v4 and /48 v6. The carrier also requires a default route be configured (due to the multi-hop BGP). Each router has a public IP configured as below:
- CR1 - IP: 192.0.2.1/24, Gateway: 192.0.2.254
- CR2 - IP: 198.51.100.1/24, Gateway 198.51.100.254
I have configured the two routers as follows:
- Changed the default route on cr1 to the following (so that the BGP session can establish with the carrier but won't route any other internet traffic until the BGP session is up): dst-address - 203.0.113.22, gateway - 192.0.2.254.
- Configured BGP on both cr1 and cr2 to announce the /24 and /48 to the carrier.
- Configured VRRP over the private network to float the gateway IP from the /24 prefix I am announcing.
- Configured NetWatch on cr1 to monitor 18.104.22.168 and change the VRRP priority when it is unable to reach 22.214.171.124.
Is there a better way of achieving this? Does anyone else have a similar setup and configured things a little differently? Please let me know below.
*Note: All IPs used are example IPs taken from RFC 5737 with the exception of CloudFlare's DNS Server (126.96.36.199).