IP from Host-Only Adapter on Host changes automatically

MirkoS

Bit poster
I've a host only network. Guest is Linux, Host is OS X. In network settings on the MAC I see a "Parallels Host-Only Networking Adapter", I set IPv4 config to manual and IP to 192.168.174.1 and every thing is working fine for my setup.
If I shut down the VM and quit Paralles next time I start the VM again the "Parallels Host-Only Networking Adapter" has changed the IP to 192.168.174.2. So I every time have to go to network settings and change the IP back to 192.168.174.1
I switched DHCP off for the host only network in parallels preferences. I also tried to set start and end address to 192.168.174.1 but it says the range must be at least 16 addresses.
Any ideas how to get a fixed IP?
 
I've a host only network. Guest is Linux, Host is OS X. In network settings on the MAC I see a "Parallels Host-Only Networking Adapter", I set IPv4 config to manual and IP to 192.168.174.1 and every thing is working fine for my setup.
If I shut down the VM and quit Paralles next time I start the VM again the "Parallels Host-Only Networking Adapter" has changed the IP to 192.168.174.2. So I every time have to go to network settings and change the IP back to 192.168.174.1
I switched DHCP off for the host only network in parallels preferences. I also tried to set start and end address to 192.168.174.1 but it says the range must be at least 16 addresses.
Any ideas how to get a fixed IP?

Hi
the steps are

1) set the DHCP range to be 192.168.174.16-192.168.174.254

2) then start the /Application/Utilities/Terminal and execute command "sudo chmod a+rw /Library/Preferences/Parallels/network.desktop.xml" (without quotes, will ask for the password). This will allow all users to write to this file

3) Open in the TextEdit the above-mentioned file. Find in it the line <HostIPAddress>192.168.174.17</HostIPAddress> and replace in this line the ip to be desired one

4) optionally restore back permissions of the file by executing command "sudo chmod 622 /Library/Preferences/Parallels/network.desktop.xml"

5) reboot the Mac
 
Hi
the steps are

1) set the DHCP range to be 192.168.174.16-192.168.174.254

2) then start the /Application/Utilities/Terminal and execute command "sudo chmod a+rw /Library/Preferences/Parallels/network.desktop.xml" (without quotes, will ask for the password). This will allow all users to write to this file

3) Open in the TextEdit the above-mentioned file. Find in it the line <HostIPAddress>192.168.174.17</HostIPAddress> and replace in this line the ip to be desired one

4) optionally restore back permissions of the file by executing command "sudo chmod 622 /Library/Preferences/Parallels/network.desktop.xml"

5) reboot the Mac

Thank you so much!
 
Back
Top