Hi Adeel, This would most likely get you into trouble with your red tape admins – if you simply set the IP address 10.103.72.65 statically and let’s say your DHCP lease time is 24 hours – then after 24 hours the DHCP server will not have seen any DHCP renewals (DHCP starts the renewal process after half the lease time – i.e. in this case 12 hours), and therefore assumes the address is no longer in use. Another host may therefore pick up the same IP and you end up with IP conflicts.
Regards, Dag Sonstebo Cloud Architect ShapeBlue On 22/03/2017, 12:39, "Muhammad Adeel Zahid" <[email protected]> wrote: Hi Dag, DHCP and its settings are beyond my control. I will have to go through some procedures (aka red tape) to get the exclusions static IPs bound to ACS and KVM. For now, what I am thinking to do is, connect to network and get an IP 10.103.72.65 and declare it as static in network settings of my computer (say ACS management server) and rely on the fact that IP wouldn't change as long as I don't reconnect. Once the testing is done, we can go through the approval procedures for MAC binding and IP addresses exclusion from DHCP. Would it work as I think? Regards Adeel ________________________________ From: Dag Sonstebo <[email protected]> Sent: Wednesday, March 22, 2017 5:31:12 PM To: [email protected] Subject: Re: Cloudstack and KVM installation with IP addresses allocated by DHCP Hi Muhammed, This is done externally to CloudStack and depends on what DHCP infrastructure you have in place. All DHCP implementations have the option to reserve an address, i.e. a setting that confirms your MAC address – e.g. 01:02:03:AA:BB:CC is always handed out the same IP address – in your case e.g. 10.103.72.65/23. Once you have set this on your DHCP server(s) you can safely set the IP address statically on your servers if you don’t want to rely on DHCP – this means you will never have an IP conflict between a statically configured IP address and your DHCP scope. Please note though – you will most likely need more IP addresses for CloudStack than the 1 (2?) you already have – CloudStack needs more IP addresses for it’s system range. As a result you are much better off using a subnet without DHCP – or configure an exclusion in your DHCP scope, e.g. something 10.103.72.1-10.103.72.99, such that you can safely use this excluded range for CloudStack. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 22/03/2017, 12:22, "Muhammad Adeel Zahid" <[email protected]> wrote: Thanks Boris and Dag for quick reply. @Dag How do I utilize static IP addresses in combination with DHCP reservations? I have just installed CentOs and connected to the network on wire. DHCP has given me 10.103.72.65/23 IP address. What do I need to do from now on? Regards ________________________________ From: Dag Sonstebo <[email protected]> Sent: Wednesday, March 22, 2017 4:41:26 PM To: [email protected] Subject: Re: Cloudstack and KVM installation with IP addresses allocated by DHCP Hi Muhammed, This may be possible if your DNS infrastructure is rock solid and is guaranteed to work from all CloudStack networks (you would possibly also have to set your TTL on your DNS entries low) – but all in all I would recommend you utilize static IP addresses, alternatively in combination with DHCP reservations to ensure you don’t have IP conflicts in your infrastructure. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 22/03/2017, 11:26, "Muhammad Adeel Zahid" <[email protected]> wrote: Hello guys, I have two systems and both of them are connected to a network that allocates IP addresses using DHCP. I want to install cloudstack management server on the one system and KVM (hypervisor) on the other system. Can I do this? What steps would differ from normal (with static IPs) ACS and KVM installation? Regards Adeel [email protected] www.shapeblue.com<http://www.shapeblue.com> 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue [email protected] www.shapeblue.com<http://www.shapeblue.com> 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue [email protected] www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue
