cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <geoff.higginbot...@shapeblue.com>
Subject RE: 2 Network Interfaces on Instance
Date Thu, 03 Jan 2013 08:53:04 GMT
Can you please confirm what type of network you are using, Basic (with or without Security
Groups) or Advanced

Assuming you are using Advanced, you may want to take a look at my blog article on Advanced
Network Management

http://www.shapeblue.com/2012/05/10/using-the-api-for-advanced-network-management/

We have built clouds with multiple Physical NICs and multiple Guest Networks, but it is a
bit fiddly to get it all to work and every piece has to be correctly configured.

Regards

Geoff

-----Original Message-----
From: linuxsupport [mailto:lin.support@gmail.com]
Sent: 03 January 2013 07:56
To: cloudstack-users@incubator.apache.org
Subject: Re: 2 Network Interfaces on Instance

I tried but it did not work, I create 2 physical networks, it does not ask for tag but asks
for KBM label which I provided as bridges name, after creating zone I edited the physicals
interfaces and added tag guest1 and guest2, then create 2 network offering and tagged them
respectively.

Now, when I tried to add guest network under any of the physical network it shows blank in
network offering selection box.

Is there a simple method to achieve following

I have 2 interfaces on host machine

cloudbr0 -> is directly connected to public network (it has real public IP)
cloudbr1 -> is a private network

What I want is to have each VM on the host to have 2 NIC's one with public IP and other with
private IP so all the VM's are able to communicate with each other using cloudbr1 with private
IP, and they can reach to internet using cloudbr0, I do not want to use virtual router.

Please let me know if this is possible in cloudstack


On Thu, Jan 3, 2013 at 11:27 AM, Murali Reddy <Murali.Reddy@citrix.com>wrote:

> I believe achieving network isolation by segmenting physical networks
> is not working currently. Though steps mentioned by Geoff are valid,
> and functionality does exist, but there is artificial limitation that
> is forcing VLAN to be passed while creating networks. There is bug [1]
> opened for 4.1 release.
>
> [1] https://issues.apache.org/jira/browse/CLOUDSTACK-440
>
> On 02/01/13 11:48 PM, "Geoff Higginbottom"
> <geoff.higginbottom@shapeblue.com> wrote:
>
> >To use multiple physical networks, when you create a new Advanced
> >Zone, step 3 "Setup Network" lets you map the different traffic types
> >to different physical networks by dragging the 'coloured blobs'
> >around on to the different physical networks.  You can assign a name
> >to each Physical network, but this is just a simple label, the very
> >important part is to click the 'Edit' button below each 'coloured
> >blob' and assign a 'XenServer Traffic label' (in the case of
> >XenServer) this maps the traffic to the Physical NIC.
> >
> >Now when you want to use to Guest Networks, drag two of the Green
> >blobs onto separate Physical Networks and set the Traffic Labels to
> >something like 'guest1' and 'guest2' etc
> >
> >Once the Zone is deployed you then need to create two new
> >'DefaultIsolatedNetworkOfferingWithSourceNatService' network
> >offerings, one with tag 'guest1' and one with tag 'guest2' (the
> >original 'DefaultIsolatedNetworkOfferingWithSourceNatService' will no
> >longer function as it has no tag assigned.
> >
> >Repeat for 'DefaultIsolatedNetworkOffering' as this is used for Guest
> >networks, and again has no Tag so will not work as both your Guest
> >Networks have Tags assigned.
> >
> >
> >If you have already setup your zone, and have not set the tags you
> >add them by going to
> >infrastructure/zones/zone-name/physical-network-name/guest and then
> >update the traffic label for your choice of hypervisor
> >
> >If you only originally setup one physical network when you created
> >the Zone, you can add more using the API, but not via the GUI
> >
> >Regards
> >
> >Geoff
> >
> >
> >-----Original Message-----
> >From: linuxsupport [mailto:lin.support@gmail.com]
> >Sent: 02 January 2013 16:56
> >To: cloudstack-users@incubator.apache.org
> >Subject: Re: 2 Network Interfaces on Instance
> >
> >OK, I created 2 physical network for guest, 1 . Physical Network 1, 2.
> >Physical Network 2
> >
> >Also, created 2 network offering and tried to tag them with Physical
> >Network 1 and Physical Network 2 also tried actualy physical
> >interfaces names, but every time I tried to add guest network under
> >physical networ
> >-> guest networs -> network -> add guest network
> >
> >it says network "Network offerings is not available until you specify
> >tags for this physical network"
> >
> >What I am doing wrong? what tags to specify?
> >
> >On Wed, Jan 2, 2013 at 7:43 PM, Geoff Higginbottom <
> >geoff.higginbottom@shapeblue.com> wrote:
> >
> >> If you want to map VM interfaces to different physical NICs on the
> >>Host, you need to create multiple Guest Physical Networks and then
> >>map  traffic to them using different Network Offerings utilising
> >>Network Tags.
> >>
> >> Regards
> >>
> >> Geoff
> >>
> >>
> >> -----Original Message-----
> >> From: linuxsupport [mailto:lin.support@gmail.com]
> >> Sent: 02 January 2013 13:19
> >> To: cloudstack-users@incubator.apache.org
> >> Subject: 2 Network Interfaces on Instance
> >>
> >> Hi All,
> >>
> >> Is it possible to add 2 network interfaces on instance associated
> >> with
> >> 2 different physical network interfaces.
> >>
> >> I was able to add 2 interfaces on instance in advance mode but they
> >> both were associated with single physical interface on Host machine.
> >>
> >> Thanks
> >> 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.
> >>
> >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.
> >
>
>
>
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.
Mime
View raw message