I am not sure if this is a unique situation, but we are migrating a number of virtual machines to a vCloud Director environment using NSX. Network isolation works slightly differently on the current platform, but all VM's have an external IP addresses on a /24 network. These are currently advertised from some third party routers to our core routers as /32's.
We have set up a DLR with an uplink which we are using for BGP to our core networks. We then have a single LIF which uses our internet facing /24 prefix, we have used .254 on this interface (not currently in use anywhere on the network). Each customer will have their own edge gateway connected to the DLR which we are treating as an external network. The Edge Gateways will use the DLR as the default gateway.
As we move a customer machine we will be configuring their edge gateway with their external IP address. As soon as we power down the VM on the old platform the third party routers stop advertising the address, so no problems there.
The problem is I don't want NSX to advertise the entire /24 and mess up customers we haven't moved yet.
I have added the /32 to the "IP Prefixes" list on the DLR, but nothing seems to get advertised to our core routers. The only way I can get the /32 network to be advertised is to add the /32 as a static route using the same /32 address as the next hop. On the "route distribution table" I can create an entry which uses the IP Prefix and also tick the static route tick box. Without that selected I cant get the DLR to advertise the route of the edge gatewat, regardless of whats configured in the prefix list or distribution table.
I have done the same to advertise the IP we are using on the LIF of the DLR and selected "Connected" on the route distribution table. This seems to work without any problems
The edge gateway address is correctly advertised to the core routers, but we don't get any external connectivity. I suspect the static route on the DLR isn't helping us, or maybe its just something odd with the Edge Gateway not responding
Has anyone else done anything similar or have any advise on advertising /32's