VMware Horizon Community
Dongjianhua
Enthusiast
Enthusiast
Jump to solution

view desktop fixed IP Address

Hello,

Can a view desktop always get a fixed ip address even after recompose ?  How to ?

Reply
0 Kudos
1 Solution

Accepted Solutions
PCTechStream
Hot Shot
Hot Shot
Jump to solution

TRY THIS!

LINK: https://www.jasonpearce.com/2012/04/13/vmware-view-static-ip-addresses-for-linked-clones/

Raul.

VMware VDI Administrator.

http://ITCloudStream.com/

Stay Connected :smileyplus: Don't forget to:

Like > Share > Comment > Reply > Helpful > Answered

www.ITSA.Cloud

View solution in original post

Reply
0 Kudos
3 Replies
PCTechStream
Hot Shot
Hot Shot
Jump to solution

TRY THIS!

LINK: https://www.jasonpearce.com/2012/04/13/vmware-view-static-ip-addresses-for-linked-clones/

Raul.

VMware VDI Administrator.

http://ITCloudStream.com/

Stay Connected :smileyplus: Don't forget to:

Like > Share > Comment > Reply > Helpful > Answered

www.ITSA.Cloud
Reply
0 Kudos
Dongjianhua
Enthusiast
Enthusiast
Jump to solution

Raul,

The URL you provided is so important to me, however i don't understand why the VM need the second vNIC for static IP configuration ? Why does not configuration the static IP on the first vNIC ?

LINK: https://www.jasonpearce.com/2012/04/13/vmware-view-static-ip-addresses-for-linked-clones/

Reply
0 Kudos
PCTechStream
Hot Shot
Hot Shot
Jump to solution

One for normal DHCP that remains unchanged.

The second vNIC targets the script to give it a static IP address that matches a pre-determined computer name.

The script looks like this:

IF %computername%==VDI-1 NETSH interface ip set address name="Local Area Connection 5" static 172.2.50.51 255.255.255.0 172.2.50.1 1

IF %computername%==VDI-2 NETSH interface ip set address name="Local Area Connection 5" static 172.2.50.52 255.255.255.0 172.2.50.1 1

Raul.

VMware VDI Administrator.

http://ITCloudStream.com/

Stay Connected :smileyplus: Don't forget to:

Like > Share > Comment > Reply > Helpful > Answered

www.ITSA.Cloud
Reply
0 Kudos