I am trying to wrap my head around anycast on ipv4 and then ipv6. I am trying to figure out how to properly setup anycast on a multilayer switch and haven't found any good documentation on how it plays out.
Scenerio: Corp network with datacenter and core on a catalyst 6500 series, Uplink2 with ip 10.0.50.1/29 connected to corp master server for DNS/Authentication/TFTP with 10.0.50.2/29 as an anycast address. VM host on a trunk with server ip of 10.0.10.2/24 on vlan2 for the datacenter would host a vm with a 2ndary dns/auth server that would attach to the anycast ip of 10.0.50.2 and using ispf routing values to have all clients/servers access it and then the master if it goes down.
The port the host is on would it need to be a layer 3 port or is there a way to handle it with a layer 2 trunk port? would the VM server or host system its self have to handle ospf to allow routing to properly be manipulated for that purpose? I had seen one article talk about adding the anycast to a lo interface on the DNS/Auth server and using ospf on it to allow for the any cast to work.
Rough Network diagram. All black servers would be ones I want to assign an anycast address to. Gi8/1 is currently a layer2 trunk attached to a linux Kvm server. gi5/2 is a layer 3 connected directly to the master server.