cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From linuxsupport <lin.supp...@gmail.com>
Subject Re: 2 Network Interfaces on Instance
Date Tue, 08 Jan 2013 07:21:30 GMT
I have done following

Used Advance networking and selected 2 guest networks, I labeled
cloudVirBr100 and cloudVirBr200 and tagged them phy1 and phy2
cloudVirBr100 is attached to eth0 and cloudVirBr200 is attached to eth1

I also created 2 network offering with type Shared and tagged them phy1 and
phy2 respectively.

After that, I added 2 guest networks, and network offering came
automatically as per the tag, I provided VLAN ID as 100 for first network
and 200 for second network, all went fine.

When I created a instance, CS created, 2 VLANS eth1.100 and eth1.200 and
attached them to cloudVirBr100 and cloudVirBr200

So, network got broken and did not work, I thought, since I had created
required bridge CS will not try to create them, so it did not try to create
bridge (or might have tried not sure, since bridge was already setup) but
attached them to wrong interfaces (while it was not required as I setup the
bridge and attached them to correct physical interfaces).

I am not sure why it attached bother bridge cloudVirBr100 and cloudVirBr200
to eth1 only, if it would have created VLANS as eth0.100 and eth1.200 then
it might be working (though it is not required)

The other problem I encountered that it made the instance's interfaces to
DHCP so it did not get any IP since there was no DHCP server running, I
tried to created network offering with DNS and DHCP enabled but CS did not
start it.

One important note, when I created network offering as isolated and tried
to add guest network, network offering box was blank and there was nothing
to select.

I think, I am close to get it working with 2 interface without virtual
router but something needs to be corrected not sure what.

Thanks

On Tue, Jan 8, 2013 at 2:51 AM, Geoff Higginbottom <
geoff.higginbottom@shapeblue.com> wrote:

> You may want to take a look at a blog article, Paul Angus has just
> published about the Physical Networking Architecture
>
>
> http://www.shapeblue.com/2013/01/07/understanding-cloudstacks-physical-networking-architecture/
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbottom@shapeblue.com
>
> -----Original Message-----
> From: linuxsupport [mailto:lin.support@gmail.com]
> Sent: 03 January 2013 12:11
> To: cloudstack-users@incubator.apache.org
> Subject: Re: 2 Network Interfaces on Instance
>
> Thanks Geoff, but I do not want to use VLAN, also it is not allowing me to
> add IP range from public subnet
>
> On Thu, Jan 3, 2013 at 2:23 PM, Geoff Higginbottom <
> geoff.higginbottom@shapeblue.com> wrote:
>
> > 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.
> >
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message