You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Marty Godsey <ma...@gonsource.com> on 2016/10/03 17:50:26 UTC
Static and DHCP
Quick question. If DHCP is enabled on a network, and I statically assign an IP, does the VR do a scan periodically to exclude static address since there is not a way, that I know of, to modify the DHCP scope.
Regards,
Marty Godsey
Re: Static and DHCP
Posted by Simon Weller <sw...@ena.com>.
Yes, exactly.
If you ssh into the VR, you'll find all of your VMs listed with a static reservation in the dnsmasq config. This will persist until you destroy the VM instance in question.
________________________________
From: Marty Godsey <ma...@gonsource.com>
Sent: Tuesday, October 4, 2016 9:25 AM
To: dev@cloudstack.apache.org
Subject: RE: Static and DHCP
Ok, so that answers my question to. If I assign it an IP in the deploy step or assign it via the NIC in the instance properties it just does a DHCP reservation. In most instances that as good as static. Thank you Simon.
Regards,
Marty Godsey
-----Original Message-----
From: Simon Weller [mailto:sweller@ena.com]
Sent: Tuesday, October 4, 2016 10:07 AM
To: dev@cloudstack.apache.org
Subject: Re: Static and DHCP
Marty,
I'm not sure whether a scan in performed or not. DHCP uses dnsmasq, so a static entry is configured in the VR for each VM to keep the ip address reserved for that VM. You can pass in an ipaddress in the deployvirtualmachine call and that may achieve what you want to achieve. This is exposed in the GUI as well when you create a VM.
- Si
________________________________
From: Marty Godsey <ma...@gonsource.com>
Sent: Monday, October 3, 2016 12:50 PM
To: dev@cloudstack.apache.org
Subject: Static and DHCP
Quick question. If DHCP is enabled on a network, and I statically assign an IP, does the VR do a scan periodically to exclude static address since there is not a way, that I know of, to modify the DHCP scope.
Regards,
Marty Godsey
RE: Static and DHCP
Posted by Marty Godsey <ma...@gonsource.com>.
Ok, so that answers my question to. If I assign it an IP in the deploy step or assign it via the NIC in the instance properties it just does a DHCP reservation. In most instances that as good as static. Thank you Simon.
Regards,
Marty Godsey
-----Original Message-----
From: Simon Weller [mailto:sweller@ena.com]
Sent: Tuesday, October 4, 2016 10:07 AM
To: dev@cloudstack.apache.org
Subject: Re: Static and DHCP
Marty,
I'm not sure whether a scan in performed or not. DHCP uses dnsmasq, so a static entry is configured in the VR for each VM to keep the ip address reserved for that VM. You can pass in an ipaddress in the deployvirtualmachine call and that may achieve what you want to achieve. This is exposed in the GUI as well when you create a VM.
- Si
________________________________
From: Marty Godsey <ma...@gonsource.com>
Sent: Monday, October 3, 2016 12:50 PM
To: dev@cloudstack.apache.org
Subject: Static and DHCP
Quick question. If DHCP is enabled on a network, and I statically assign an IP, does the VR do a scan periodically to exclude static address since there is not a way, that I know of, to modify the DHCP scope.
Regards,
Marty Godsey
Re: Static and DHCP
Posted by Simon Weller <sw...@ena.com>.
Marty,
I'm not sure whether a scan in performed or not. DHCP uses dnsmasq, so a static entry is configured in the VR for each VM to keep the ip address reserved for that VM. You can pass in an ipaddress in the deployvirtualmachine call and that may achieve what you want to achieve. This is exposed in the GUI as well when you create a VM.
- Si
________________________________
From: Marty Godsey <ma...@gonsource.com>
Sent: Monday, October 3, 2016 12:50 PM
To: dev@cloudstack.apache.org
Subject: Static and DHCP
Quick question. If DHCP is enabled on a network, and I statically assign an IP, does the VR do a scan periodically to exclude static address since there is not a way, that I know of, to modify the DHCP scope.
Regards,
Marty Godsey