cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanker Balan <>
Subject Re: cloudstack4.2 dhcp
Date Fri, 22 Nov 2013 02:26:27 GMT
On 22-Nov-2013, at 6:56 am, Du Jun <> wrote:

> Hi shankerbalan,
> I just want to know why my VM's dhclient.leases file is empty?Is there any
> problems with my configurations?


Are you using the CloudStack provided default CentOS templates? If so, then
the dhcp lease file is under /var/lib/dhclient/ and not /var/lib/dhcp/

CentOS 5.6(64-bit) no GUI (XenServer)
CentOS 5.5(64-bit) no GUI (KVM)

[root@xen1 ~]# cat /var/lib/dhclient/dhclient-eth0.leases
lease {
  interface "eth0";
  option subnet-mask;
  option routers;
  option dhcp-lease-time 4294967295;
  option dhcp-message-type 5;
  option domain-name-servers,;
  option dhcp-server-identifier;
  option broadcast-address;
  option host-name "xen1";
  option domain-name "internal";
  renew 2 2081/12/9 21:13:05;
  rebind 3 2132/12/24 05:38:34;
  expire 1 2149/12/29 00:27:12;
[root@xen1 ~]#

If this is a custom template, then could you please tell us which
OS and how you created the template?



M: +91 98860 60539 | O: +91 (80) 67935867 | | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560

CloudStack Bootcamp Training on 27/28 November, Bangalore

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender if you believe
you have received this email in error. Shape Blue Ltd is a company incorporated in England
& Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

View raw message