Hi,
Indeed at this stage it is not supported to have VM and VLAN networks on the 
same physical interface.
I know it is supposed to be changed in the future (if I understand correctly it 
is already supported on the VDSM side).

For now you can have 2 VLAN networks on the same interface ( so if it works for 
your specific scenario you can tag the management network)
Or you can configure the Management network to be non-VM as was proposed 
earlier and then you can add VLAN networks to the same interface (for such 
scenario you can't have management network to be configured on your VMs)
Of course if you can have or add additional NICs to you host device, and then 
you can configure Management network on one of the interfaces and VLAN on 
another.

Regards,
   Genadi

----- Original Message -----
From: "Chris Liebman" <chri...@taboola.com>
To: "gregor" <gregor_fo...@catrix.at>
Cc: "users" <Users@ovirt.org>
Sent: Friday, September 4, 2015 7:58:43 PM
Subject: Re: [ovirt-users] VLAN with one NIC



If your sharing a physical interface with both tagged and untagged traffic they 
don't allow VM's on the untagged link. I believe this is because some earlier 
versions of the bridging code in the kernel would allow pass the tagged traffic 
to VM's located on the untagged interface. That being a security issue. 


On Fri, Sep 4, 2015 at 9:47 AM, gregor < gregor_fo...@catrix.at > wrote: 


Thanks, now I can use the eth0 to connect to the web-interface and the 
logical vlan network to use in a VM but I can't use the untagged VLAN1 
in the VM. When I add a new logical network without VLAN tagging the 
web-interface returns "Cannot have more than one non-VLAN network on one 
interface." 

When I create a logical network with taggged ID 1 I can't connect from a 
VM to my VLAN1. 

So I have to find a way to created the following networks: 
- ovirtmgmt: without tagged vlan for managing -> works 
- vlan1: without tagged vlan for the VM's to connect to my default 
network -> currently no solution 
- vlan10: tagged vlan with id 10 -> works 

cheers 
gregor 

On 2015-09-04 18:05, Chris Liebman wrote: 
> You have to edit the ovirtgmt network and un-check the "VM Network" box: 
> 
> Inline image 1 
> 
> On Fri, Sep 4, 2015 at 8:47 AM, gregor < gregor_fo...@catrix.at 
> <mailto: gregor_fo...@catrix.at >> wrote: 
> 
> Hi, 
> 
> is it possible to use different VLAN with one NIC in ovirt? 
> 
> I can not add a logical network configured as VLAN to my ovirtmgmt 
> interface, I get "Cannot have a non-VLAN VM network and VLAN-tagged 
> networks on one interface." 
> 
> The setup for the Port is a trunk of different tagged VLAN's and the 
> default VLAN1 is untagged. Normally this work under centos where I give 
> the nic eth0 an IP and create a nic eth0.10 for the VLAN with ID 10 and 
> set an IP for it. 
> 
> cheers 
> gregor 
> 
> _______________________________________________ 
> Users mailing list 
> Users@ovirt.org <mailto: Users@ovirt.org > 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to