VMware Horizon Community
arphian
Contributor
Contributor

IP Problems with VMware View

Good afternoon,

- I did the installation of vmware server connection on a virtual machine.
- I did the installation of VMware View Composer in another separate virtual machine.
- I created a template windows 7 professional, I installed vmware agent and took a snapshot.
- I created the the pool on view administrator in floating mode, with automated and linked clone.
- provisioning mode: desktops on demand
- view the connection settings are configured server with the external URL, PCoIP external URL, and selected the option to use PCoIP secure gateway for connections to desktop PCoIP

my problem is:
- the template with windows 7 is fixed ip 172.16.0.x/24
- when the view, the first virtual desktop provisioning it accrues to the same ip template windows 7, 172.16.0.x/24.
- when the view, the second virtual desktop provisioning it accrues to the APIPA ip and so it follows with the following virtual desktops.
- I can only connect with the client's view on the first virtual desktop, the other can not connect due to APIPA address.

can you help me?
already looked at the documentation, including was step-by-step that I followed.

I await aid

0 Kudos
14 Replies
mittim12
Immortal
Immortal

The best practice when creating a linked clone image is to do a ipconfig /release before you shutdown and create your snapshot.   Perhaps this would help out. 

0 Kudos
arphian
Contributor
Contributor

I will deploy in the template that I have with sysprep, do the procedure again and put the ipconfig / release

a few minutes returned with the response

0 Kudos
mpryor
Commander
Commander

You shouldn't set a fixed IP for the template VM as the linked clones will inherit that in their network adapter settings and only one can actually use it - make sure the template is switched to DHCP before creating the snapshot.

0 Kudos
arphian
Contributor
Contributor

I did the ipconfig / release, I installed the agent, turned off the virtual machine and took the snapshot.
But still the same problem.
The template is attached, enabled dhcp and all sessions are with APIPA address

0 Kudos
mpryor
Commander
Commander

Perhaps a stupid question, but do you actually have a DHCP server set up for the network these VMs are in - is the template given a DHCP address?

0 Kudos
arphian
Contributor
Contributor

Oh yes. Including desktops in the network are getting ip from dhcp normally.

I've got no idea what might be

0 Kudos
mittim12
Immortal
Immortal

When the clones are deployed are they put into the correct portgroup and have the NICs enabled?     Are you using quickprep or sysprep when deplying the clones?    Not sure that matters but I'm just trying to get a feel for the environment. 

0 Kudos
arphian
Contributor
Contributor

I'm using to deploy quickprep clones.
connection with the virtual machine port group on the server is correct and the other virtual machine with vmware composer too.
the virtual machine server is the connection with fixed IP, the machine of the composer and the template are with dhcp

0 Kudos
eeg3
Commander
Commander

I would double check that the new virtual desktops that are still having the issue are using your new image/template.

Blog: http://blog.eeg3.net
0 Kudos
arphian
Contributor
Contributor

yes, they are not able to get ip

0 Kudos
tacticsbaby
Expert
Expert

I just wanted to verify a few things:

1) First, did you remove the fixed IP from your base template?

2) Did you check your DNS server to see if there were DNS entries created for your VMs?

3) What is the status of the firewall on your base VM? Is it enabled and if so how?

4) If you are also using Win XP does this problem happen there?

5) Have you checked the network that your VM is using under 'Edit Settings'?

Hope this helps.

0 Kudos
arphian
Contributor
Contributor

I just wanted to verify a few things:

1) First, did you remove the fixed IP from your base template?

Yes

2) Did you check your DNS server to see if there were DNS entries created for your VMs?

Were not created

3) What is the status of the firewall on your base VM? Is it enabled and if so how?

Disabled

4) If you are also using Win XP does this problem happen there?

Not tested with windows xp virtual desktop with just 7

5) Have you checked the network that your VM is using under 'Edit Settings'?

Yes, the same dhcp server, dc, dns etc.

0 Kudos
tacticsbaby
Expert
Expert

Wow, I see your dilema. Have you checked your quickprep domain settings? The time I had a problem like this was when my template domain and quickprep accounts did not match or there was a problem in that area.

0 Kudos
mpryor
Commander
Commander

I'm running out of ideas at the moment also, grabbing a DHCP address should happen on the clone independant of the quickprep customization as the MAC address is generated once the clone is created, please try the following:

1. Provide a copy of the template and deployed clone vmx files for comparison

2. ipconfig /all on the template and clone

3. If this is a cluster rather than a single host, confirm that the host the clone is on is the same as the template, if not then move it over and retry getting a DHCP lease (could be that the other host isn't actually physically connected to the network for that port group, this would eliminate that possbility)

4. Confirm that you don't have to pre-register MAC addresses with the DHCP server in order to get an IP address

0 Kudos