VMware Cloud Community
abhaynidhi17
Contributor
Contributor

MAC address to VM Allocation via vCloud Director

We already had few clients with VMs before we started using vCloud Director.

These clients have some static public IPs which can't be changed and have to be used.

But when creating vDCs for each of these clients, single Public IP doesn't help as vShield Take the first 2 available IPs.

Is there any way to avoid this ?

For us we thought we could create a joint vDC for our clients and create an IP pool with two extra public IPs for vShield Manager.

But still what we are encountering is that vShield provides IPs from this pool on 1st come first serve basis. So we have to move current VMs to this vDC in a particular order so that the correct VMs get the correct IP.

Is there any way from vShield Manager or vCloud Director to make reservations based on MAC addresses before we move VMs to this joint VDC to avoid any problems?

Also, if there no MAC address based reservations and we have move these VMs for some reason, out of this vDC and bring in back, IP address issue will come up again.

Any help is much appreciated.

Reply
0 Kudos
2 Replies
cfor
Expert
Expert

I am not 100% clean on the use case as it does seem very odd you would have customer IP's you would be moving uder your conterol, and be able to keep the IP's - but I am not sure of all the details.

A couple suggestions (may not work, but for thought):

One idea:

Why use vShield in this at all?  Why not setup an external network for each client with the subnet their IP is in, maybe mask it down to limit is as you can.  Use this network for the VM - as this is a a direct network no edge device is needed, so no IP's should be taken.

Idea two:

Leave the IP's the same, add these systems in a vapp with a vapp network, configure this vapp network so the VM using static it will get address it needs, and has routes for whatever else it needs to connect to.  Then you just need to configure systems that needs to connect to this on how to do it.. tunnel, host filers, dns entry - whatever works unless you need uncontrolled systems to access.

Just a couple ideas to help, maybe can get a disscusion going.

ChrisF (VCP4, VCP5, VCP-Cloud) - If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
_morpheus_
Expert
Expert

I don't understand the problem. vShield doesn't allocate IPs. IP of a VM NIC can be automatically assigned from the pool (Static Pool) or manually assigned (Static - Manual). See the VM properties page, hardware tab, NICs section

Reply
0 Kudos