On 23-Oct-2013, at 9:21 pm, Nux! <n...@li.nux.ro> wrote: > On 23.10.2013 13:55, Chirag Choudhary wrote: >> Hi, >> I created a new instance of rhel 6.2 from iso in cloudstack. >> Cloudstack UI is showing the it has an IP assigned to it with the netmask , >> gatway and other things but when I logged in to the VM, it only has one >> network interface running : lo >> I manually did the network configuration to the match that of cloudstack. >> I took its template and created one more instance but still in the new >> instance the only interface running was lo. Here are the logs while >> installing the VM from the iso : >> http://pastebin.com/1xvmV454 >> what can be the possible reason behind it and how can it be rectified. >> ( I had previously created Ubuntu VM and it was properly configured , so >> the cloudstack network manager seems to be good. ) > > I'm citing from distant memories here, but I believe the default EL6 install > does not activate the network unless you tell it so. > You just need to make sure eth0 starts at boot and is set up as dhcp, or > manually do a "dhclient eth0".
Yeah. Its an install time option to ensure that your ethernet is set to activate on boot. I have run into the same on a baremetal RHEL/CentOS setup where I forgot to tick the checkbox during the installation phase. Chirag, make sure the ONBOOT=yes flag is set in the ifcfg-eth0 file as below: [root@csman2-1 ~]# grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=yes -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 CloudStack Bootcamp Training on 27/28 November, Bangalore http://www.shapeblue.com/cloudstack-training/ 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.