If you are using flatdhcp or vlan mode where nova is managing the leases, do not set the value of fixed_ip_disassociate_timeout lower than the dhcp_lease_time or you might end up giving an ip to an instance and have dnsmasq fail to hand it out. The best way to reuse ips quickly is to set the config:
force_dhcp_release=true This will force nova to send out a release packet when it destroys the vm so the ip is immediately released. Just be aware that it requires some extra binaries that come with dnsmasq that may not exist on all linux distributions. Vish On May 29, 2012, at 2:42 AM, Vaze, Mandar wrote: >> I want to know if there is a timeout for a fixed ip to be reused, how long >> this time is > > Parameter you are looking for is fixed_ip_disassociate_timeout. Set it to low > value like "1" (This is number of seconds) > Default value is 600 i.e. 10 minutes. > > -Mandar > > ______________________________________________________________________ > Disclaimer:This email and any attachments are sent in strictest confidence > for the sole use of the addressee and may contain legally privileged, > confidential, and proprietary data. If you are not the intended recipient, > please advise the sender by replying promptly to this email and then delete > and destroy this email and any attachments without any further use, copying > or forwarding > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp