cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <>
Subject RE: dual NIC VLAN configuration
Date Fri, 25 Jul 2014 08:34:50 GMT

It looks like you are trying to setup a basic zone and have a Management Server on IP
and a Host on IP

The second interface on the host does not need any IP configuration on the Host as it will
not be used by the Host so remove the mapping..  This interface will be used
by the Guest VMs running on the Host who will have their own IP schema.

Your Guest IP range will be in the CIDR with a gateway of

The Management Serve will talk to the Host via the 1st Interface, and Guest VMs will use the

You have not mentioned storage, but assuming you are using NFS for Primary and Secondary,
put the NFS Server on the network, and then all storage traffic will also
go over the 1st interface.


Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

-----Original Message-----
From: Daan Hoogland []
Sent: 25 July 2014 08:47
Subject: Re: dual NIC VLAN configuration

Ian, I would imagine that guest traffic can't go out to the net this way. Maybe you should
swap them. This is only guessing however. What are you seeing?

On Fri, Jul 25, 2014 at 2:00 AM, Ian Young <> wrote:
> Here's the less verbose version:  My hypervisor has two NICs and I've
> set up a label on each.  Traffic to and from cloudbr0 works perfectly.
> Traffic going into cloudbr1 goes out cloudbr0 because that interface
> has a default gateway.  Will this pose a problem when I try to set up
> separate management and guest networks in CloudStack?
> On Thu, Jul 24, 2014 at 10:56 AM, Ian Young <> wrote:
>> I am trying to set up a server with two NICs as a hypervisor.  I
>> would like to use the two interfaces to separate management and guest
>> traffic, as recommended by the CloudStack installation guide.  This
>> server is connected to a managed switch, which is connected to a
>> hardware firewall, both of which are set up with tagged VLANs.  Some
>> of the ports on the switch are designated as VLAN 6 and some are VLAN
>> 7.  I've confirmed the VLANs are set up correctly by configuring eth0
>> and eth1 (one at a time) with the appropriate IP address, netmask, and gateway.
>> However, the difficulty arises when I try to configure both
>> interfaces simultaneously.  The return traffic tends to go out
>> whichever interface is associated with the default gateway, a typical
>> issue when using multiple network interfaces.  I've followed numerous
>> guides, which all basically say the same thing:  Don't set a default
>> gateway; use iproute2 to control the flow of traffic with route-eth0,
>> rule-eth0, and rt_tables.  I've tried setting this up numerous times
>> to no avail, probably because the guides I'm reading don't involve
>> VLANs.  Add to that the the cloudbr0 and cloudbr1 bridges that
>> CloudStack requires and now I'm really confused as to how to set up
>> the network.  I can't be the first person to have set up CloudStack
>> this way; it sounds pretty common.  Can someone explain to me the correct way to
configure these interfaces?
>> Here is my network information:
>> VLAN 6 (management)
>> gateway:
>> VLAN 7 (guest)
>> gateway:
>> current hypervisor settings:
>> eth0:
>> eth1:
>> current management server settings (this is a separate machine):
>> p4p1:

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<>
CSForge – rapid IaaS deployment framework<>
CloudStack Consulting<>
CloudStack Infrastructure Support<>
CloudStack Bootcamp Training Courses<>

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 SA Pty Ltd is a company
registered by The Republic of South Africa and is traded under license from Shape Blue Ltd.
ShapeBlue is a registered trademark.
View raw message