:-). Once again thanks for the helpful inputs. And sure i will check the
AWS templates.

Saurav


On Fri, Jun 20, 2014 at 8:44 PM, Shanker Balan <[email protected]>
wrote:

> Comments inline.
>
> On 20-Jun-2014, at 7:25 pm, Saurav Lahiri <[email protected]>
> wrote:
>
> > Hello Shanker,
> > Appreciate ur inputs. Also I would like to know whats the best practice
> in
> > pre-populating the interfaces file given that it is not known how many
> > additional nics users might want to create on their vms. If we
> pre-populate
> > eth0 to eth4 with dhcp method in the template will that break anything?
>
> Running DHCP on multiple interfaces can cause the default gateway
> to switch. This has caused me a lot of PITA on AWS EC2 instances.
>
> I now statically assign the IP Addressed on the non primary interfaces. As
> far
> as template creation goes, I only check for eth0. Its upto the end user
> to decide how he wants to get his additional interfaces up.
>
> If you can, check a AWS CentOS/Ubuntu template on how they handle it.
>
>
>
>
>
> >
> > Thanks
> > Saurav
> >
> >
> > On Fri, Jun 20, 2014 at 9:33 AM, Shanker Balan <
> [email protected]>
> > wrote:
> >
> >> Comments inline.
> >>
> >> On 19-Jun-2014, at 7:55 pm, Saurav Lahiri <[email protected]>
> >> wrote:
> >>
> >>> Hello,
> >>> We are running an ubuntu 13.10 vm. In addition to the default network,
> >>> another nic has been added to the vm.  Now when the vm boots up, the
> new
> >>> interface eth1 is seen inside the guest but does not have an ip
> address.
> >>> Executing a "dhclient eth1" does get the correct IP.
> >>>
> >>> A look at  the "/etc/network/interaces" file  shows an entry
> >> corresponding
> >>> to the eth0.  There is no entry for eth1. On adding an entry for eth1,
> >> the
> >>> problems appears to get fixed.
> >>>
> >>> Is this manual step to add the additional nics in the interfaces file
> >>> missing in the documentation or is this a bug ?
> >>>
> >>> =======
> >>> auto eth0
> >>> iface eth0 inet dhcp
> >>> ==========
> >>
> >>
> >> This is change that needs to be done by the creator of the template.
> >> CloudStack
> >> does not make any changes internal to the template as it does not
> (should
> >> not)
> >> have access to it.
> >>
> >>
> >> --
> >> @shankerbalan
> >>
> >> M: +91 98860 60539 | O: +91 (80) 67935867
> >> [email protected] | www.shapeblue.com | Twitter:@shapeblue
> >> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> Centre,
> >> Bangalore - 560 055
> >>
> >> Find out more about ShapeBlue and our range of CloudStack related
> services
> >>
> >> IaaS Cloud Design & Build<
> >> http://shapeblue.com/iaas-cloud-design-and-build//>
> >> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/
> >
> >> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> >> CloudStack Infrastructure Support<
> >> http://shapeblue.com/cloudstack-infrastructure-support/>
> >> CloudStack Bootcamp Training Courses<
> >> http://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.
> >>
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867
> [email protected] | www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
> Bangalore - 560 055
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://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.
>
>

Reply via email to