osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advanced networking - physical NICs.


Hi Jon,

I would suppose that several people/providers run guest and public networks together. I was also confused in the start about the cloudstack networking.

1. I guess you can, the traffic will be separated by VLAN’s.
2. When defining a public range, in my experience you have to assign a VLAN to that range. Then just put in the VLAN ID where your respecitve public range resides.
3. You can allocate vlan ranges for guest networks. You can for example use 500-549 as a range. Just bind that to your cloudbr. Cloudstack will manage the sub-bridge for the vlan.
4. You would have a trunk running from the switch to your network port on the server. You would add that port to your cloudbr1 like:

auto eth1
iface eth1 inet manual

auto cloudbr1
iface cloudbr1 inet manual
          bridge_ports eth1

Please correct me if I’m wrong, i al using openvswitch so my config is different. Cloud will handle the tagging if you specify a vlan for your public or guest networks.

Chris

Sent from my iPhone

> On 3. Jul 2018, at 12:55, Jon Marshall <jms.123@xxxxxxxxxxxxx> wrote:
> 
> I come from a Cisco background so I understand vlans, tagging and how to configure switches for trunks and I also understand how to configure tagging on CentOS.
> 
> 
> The bit that is just not clicking with me is how to configure the NIC with CS using KVM and advanced networking.
> 
> 
> The management/storage NIC is easy as I just assign an IP directly the bridge configuration file (cloudbr0) as there is no vlan tagging here.
> 
> 
> The second NIC I want to run guest and public traffic across and I am using another bridge - cloudbr1.
> 
> 
> Questions -
> 
> 
> 1) Is it okay to run guest and public traffic on the same NIC ?
> 
> 
> 2) do the public IPs only live on the VR ie. do I need a cloudbr1.<vlan ID> for the public IP range ?
> 
> 
> 3) whenever I add a new guest network once setup do I first need to setup the cloudbr1.<vlan ID> for that guest network or does cloudstack do this automatically ?
> 
> 
> 4) Assuming it is okay to run guest and public on same NIC what would the initial configuration of cloudbr1 look like ?
> 
> 
> 
> Apologies for all the questions but I am just getting completely stuck on this
>