Thanks for the information's. I attached a second NIC to solve this, then it was easy to configure ovirt to use the tagged and untagged network.
Regards gregor On 2015-09-06 08:31, Genadi Chereshnya wrote: > 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" <[email protected]> > To: "gregor" <[email protected]> > Cc: "users" <[email protected]> > 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 < [email protected] > 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 < [email protected] >> <mailto: [email protected] >> 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 >> [email protected] <mailto: [email protected] > >> http://lists.ovirt.org/mailman/listinfo/users >> >> > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

