f5 and bgp
So some background first:
I'm doing a POC/lab test at the moment and this is what I am trying to achieve:
Pair of load balanced DNS Servers sitting behind a single ipv4 address with a health monitor that checks dns is responding, if DNS is down (on both servers) withdraw an announcement for a /24 to an eBGP peering session, if either of the DNS servers start responding re-announce the prefix, the announcement should be the /24 that encloses the /32 of the virtual server.
This is what I have managed to get up and running so far:
I have the virtual server and the real dns servers up and running and I can send DNS queries and get an answer. I have a health monitor setup that sends a DNS query to the pool servers. In the settings of the virtual address in question I have set "advertise route when any virtual server is available" and have ticked the advertise route box.
I have a BGP peering session up and running (configured within imish.) with the following config:
router bgp 100 bgp graceful-restart restart-time 120 neighbor 199.0.0.254 remote-as 200 neighbor 199.0.0.254 capability graceful-restart
I can confirm the peering is up but no prefixes are being announced.
BGP neighbor is 199.0.0.254, remote AS 200, local AS 100, external link BGP version 4, remote router ID 192.168.1.15 BGP state = Established, up for 1d16h55m Last read 1d16h55m, hold time is 90, keepalive interval is 30 seconds 0 accepted prefixes 0 announced prefixes
So how do i do the last step of announcing the prefix 222.222.222.0/24 when the pool of servers behind the virtual server at 222.222.222.222 are accepting and DNS queries (and withdrawing when they are not)