This is not the most elegant solution but it's works.

In the root home of the virtual router you have all cloudstack scripts.

This are the steps to change it :

mv /root/ipassoc.sh /root/ipassoc_orig.sh

Then i create my own ipassoc.sh and i add this :


#!/bin/bash

cd /root

/bin/bash /root/ipassoc_orig.sh $1 $2 $3 $4 $5 $6 $7 $8 $9

/root/ipassoc_orig.sh -A -l PUBLICIP  -c eth2 -g PublicGATEWAY
/root/firewall.sh -A -l PUBLICIP  -r 10.1.1.2 -d 0:0 -G

/root/ipassoc_orig.sh -A -l XX.XX.XX.XX -c eth2 -g XX.XX.XX.XX
/root/firewall.sh -A -l XX.XX.XX.XX  -r 10.1.1.3 -d 0:0 -G

Then

chmod +x ipassoc.sh



Then i use the firewall of cloudstack panel to open the Ports of this


I hope that you understand this



2012/11/16 Geoff Higginbottom <geoff.higginbot...@shapeblue.com>

> This gets my vote
>
> Regards
>
> Geoff
>
>
> -----Original Message-----
> From: Jonathan Bastin [mailto:jonathan.bas...@peerpointinternet.co.uk]
> Sent: 16 November 2012 10:00
> To: cloudstack-users@incubator.apache.org
> Subject: RE: Multiple IP's to one instance
>
> Everybody wanting this please vote for it and see if we can get this to
> happen.
>
> -----Original Message-----
> From: Facundo Guerrero [mailto:fguerr...@ipaddress.com.ar]
> Sent: 16 November 2012 03:25
> To: cloudstack-users
> Subject: Re: Multiple IP's to one instance
>
> I not use the dhcp server to assign the ip into the vm. i only made nat
> 1:1 to other ip's in the network, then i add the new ip into the vm as
> eth0:1, eth0:2.
>
> Jira link > https://issues.apache.org/jira/browse/CLOUDSTACK-24
>
> I'll send you the modifications that i made to the script.
>
>
>
>
> 2012/11/15 Clayton Weise <cwe...@iswest.net>
>
> > Also, what is your bug ID for this feature request so we can vote on it.
> >
> > -----Original Message-----
> > From: Facundo Guerrero [mailto:fguerr...@ipaddress.com.ar]
> > Sent: Thursday, November 15, 2012 5:00 PM
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: Multiple IP's to one instance
> >
> > Jonathan
> >
> > Thats is not possible yet, i open a feature request asking for this. I
> > made some hacks on the virtual router to add more that open IP on the
> > same
> VM.
> >
> >
> >
> >
> >
> >
> > 2012/11/15 Jonathan Bastin <jonathan.bas...@peerpointinternet.co.uk>
> >
> > > I have made a guest network (cloudstack implementation advanced
> > > networking) with live IP's that is a shared network. What I want to
> > > know
> > is
> > > how to I assign more than one IP to an instance without using an
> > > isolated network with a router. I literally want to assign say 5
> > > IP's to one instance.
> > >
> > ----------------------------------------------------------------------
> > ----------------------------------------------------
> > > This email (including any attachments) is intended only for the
> > > recipient(s) named above. It may contain confidential or privileged
> > > information and should not be read, copied or otherwise used by any
> > > other person. If you are not the named recipient please contact the
> > > sender and delete the email from your system. The author's incumbent
> > > expressions, views and thoughts are their own and not necessarily
> > > representative of those of the Peer Point Internet Ltd or associated
> companies.
> > >
> >
>
> --------------------------------------------------------------------------------------------------------------------------
> This email (including any attachments) is intended only for the
> recipient(s) named above. It may contain confidential or privileged
> information and should not be read, copied or otherwise used by any other
> person. If you are not the named recipient please contact the sender and
> delete the email from your system. The author's incumbent expressions,
> views and thoughts are their own and not necessarily representative of
> those of the Peer Point Internet Ltd or associated companies.
>
> ShapeBlue provides a range of strategic and technical consulting and
> implementation services to help IT Service Providers and Enterprises to
> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack technology, allows IT Service Providers and Enterprises to
> deliver true, utility based, IaaS to the customer or end-user.
>
> ________________________________
>
> 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. 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.
>

Reply via email to