[Users] Vlan interface on top of bonding

Hi, I'm new to ovirt and I'm dealing with network configuration. I have a host with a bonding of 4 eths and on top of that I added ovirtmgmt interface. I now want my vm to work on vlan 128 so I added the nic to ovirtmgmt bridge. I have access to vlan 1 (the bridge to the bond) but even if I add the vlan interface into the vm, I have no network traffic on vlan 128. I've created a new network in the cluster for vlan 128 but the web UI is not allowing me to add it on top of oviftmgmt (which I can do manually in the host but then I can't add it to the vm as a new nic because it only shows the ovirtmgmt interface). Is there a way to do this by cli? Regards,

Hi, first of all welcome to the oVirt project. Did you configure vlan tagging for your ovirtmgmt network? If you're using vlan tagging on (bonded) interfaces in oVirt you have to add a vlan tag to all logical networks - can't mix tagged and untagged logical networks. e.g (same for bonds as well): Name - VLAN - Network Name eth0 - eth0.10 - ovirtmgmt eth0.11 - lan1 eth0.12 - lan2 Hope this helps. -- Best Regards René Koch Senior Solution Architect ============================================ ovido gmbh - "Das Linux Systemhaus" Brünner Straße 163, A-1210 Wien Phone: +43 720 / 530 670 Mobile: +43 660 / 512 21 31 E-Mail: r.koch@ovido.at ============================================ On Wed, 2013-05-08 at 11:18 -0300, Juan Pablo Lorier wrote:
Hi,
I'm new to ovirt and I'm dealing with network configuration. I have a host with a bonding of 4 eths and on top of that I added ovirtmgmt interface. I now want my vm to work on vlan 128 so I added the nic to ovirtmgmt bridge. I have access to vlan 1 (the bridge to the bond) but even if I add the vlan interface into the vm, I have no network traffic on vlan 128. I've created a new network in the cluster for vlan 128 but the web UI is not allowing me to add it on top of oviftmgmt (which I can do manually in the host but then I can't add it to the vm as a new nic because it only shows the ovirtmgmt interface). Is there a way to do this by cli? Regards, _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi René, Tanks for your help. I've tried in the direction you pointed and I was able to share the bond among other tagged networks. One of the problems would be how to edit ovirtmgmt network now that it's created, I just can't find in the way to do it by the web. I've tried starting a hole new datacenter, but it creates the network and disables all changes. Thus, I can't mark the ovirtmgmt network as tagged and add other tagged networks to the bond. I can't tag the management network neither not use it, so I'm kind of stuck again. Regards, On 08/05/13 11:51, René Koch (ovido) wrote:
Hi,
first of all welcome to the oVirt project.
Did you configure vlan tagging for your ovirtmgmt network? If you're using vlan tagging on (bonded) interfaces in oVirt you have to add a vlan tag to all logical networks - can't mix tagged and untagged logical networks.
e.g (same for bonds as well): Name - VLAN - Network Name eth0 - eth0.10 - ovirtmgmt eth0.11 - lan1 eth0.12 - lan2
Hope this helps.

Hi, vlan tagging for ovirtmgmt interface is a bit tricky. Here's how I do it: - configure vlan tag on host(s) and switch - imho not necessary to have a ovirtmgmt bridge available but vlan tagging configured for your ovirtmgmt network on your ethx or bondx interface - create a new datacenter (without hosts in it!) - edit ovirtmgmt logical network (if it's not possible: delete it and create new interface ovirtmgmt with vlan tag) - put host(s) in new datacenter - configure network from oVirt webadmin gui (maybe you have to uncheck "verify connectivity between engine and hosts") I can't say for sure if the steps above will work - maybe you have to do more directly on the host. Did a few setups with tagged ovirtmgmt interfaces in oVirt and RHEV but newer wrote down a definitive guide for it :( Regards, René -----Original message-----
From:Juan Pablo Lorier <jplorier@gmail.com> Sent: Wednesday 8th May 2013 21:14 To: René Koch <r.koch@ovido.at> Cc: users@ovirt.org Subject: Re: [Users] Vlan interface on top of bonding
Hi René,
Tanks for your help. I've tried in the direction you pointed and I was able to share the bond among other tagged networks. One of the problems would be how to edit ovirtmgmt network now that it's created, I just can't find in the way to do it by the web. I've tried starting a hole new datacenter, but it creates the network and disables all changes. Thus, I can't mark the ovirtmgmt network as tagged and add other tagged networks to the bond. I can't tag the management network neither not use it, so I'm kind of stuck again. Regards,
On 08/05/13 11:51, René Koch (ovido) wrote:
Hi,
first of all welcome to the oVirt project.
Did you configure vlan tagging for your ovirtmgmt network? If you're using vlan tagging on (bonded) interfaces in oVirt you have to add a vlan tag to all logical networks - can't mix tagged and untagged logical networks.
e.g (same for bonds as well): Name - VLAN - Network Name eth0 - eth0.10 - ovirtmgmt eth0.11 - lan1 eth0.12 - lan2
Hope this helps.

On Wed, May 8, 2013 at 10:15 PM, René Koch wrote:
Hi,
vlan tagging for ovirtmgmt interface is a bit tricky.
Here's how I do it: - configure vlan tag on host(s) and switch - imho not necessary to have a ovirtmgmt bridge available but vlan tagging configured for your ovirtmgmt network on your ethx or bondx interface - create a new datacenter (without hosts in it!) - edit ovirtmgmt logical network (if it's not possible: delete it and create new interface ovirtmgmt with vlan tag) - put host(s) in new datacenter - configure network from oVirt webadmin gui (maybe you have to uncheck "verify connectivity between engine and hosts")
I can't say for sure if the steps above will work - maybe you have to do more directly on the host. Did a few setups with tagged ovirtmgmt interfaces in oVirt and RHEV but newer wrote down a definitive guide for it :(
Regards, René
Perhaps some steps related to this same thing in this thread I began in January and where Rene' answered too.. (I didn't final feedback, I don't remember the final results): http://lists.ovirt.org/pipermail/users/2013-January/011334.html I think the workflow and the detailed points could apply to your configuration Gianluca

----- Original Message -----
From: "René Koch" <r.koch@ovido.at> To: "Juan Pablo Lorier" <jplorier@gmail.com> Cc: users@ovirt.org Sent: Wednesday, May 8, 2013 11:15:04 PM Subject: Re: [Users] Vlan interface on top of bonding
Hi,
vlan tagging for ovirtmgmt interface is a bit tricky.
Here's how I do it: - configure vlan tag on host(s) and switch - imho not necessary to have a ovirtmgmt bridge available but vlan tagging configured for your ovirtmgmt network on your ethx or bondx interface
ovirt-engine supports configuration of the ovirtmgmt as a non-vm network, untagged. And on top of that nic (bond in this specific case) configure all of the vlans. The advantage of this setting is not requiring to perform any manual configuration at all. The disadvantage is the inability to connect VMs through the ovirtmgmt network, which requires configuring at least one VM network on any of the hosts in order to be able to configure nics on the VMs.
- create a new datacenter (without hosts in it!)
With the fix for https://bugzilla.redhat.com/909820 (merged), any network can be editing, in spite of it's configured on hosts. It will result with network being marked as 'not synced' on the host.
- edit ovirtmgmt logical network (if it's not possible: delete it and create new interface ovirtmgmt with vlan tag) - put host(s) in new datacenter - configure network from oVirt webadmin gui (maybe you have to uncheck "verify connectivity between engine and hosts")
I can't say for sure if the steps above will work - maybe you have to do more directly on the host. Did a few setups with tagged ovirtmgmt interfaces in oVirt and RHEV but newer wrote down a definitive guide for it :(
Regards, René
-----Original message-----
From:Juan Pablo Lorier <jplorier@gmail.com> Sent: Wednesday 8th May 2013 21:14 To: René Koch <r.koch@ovido.at> Cc: users@ovirt.org Subject: Re: [Users] Vlan interface on top of bonding
Hi René,
Tanks for your help. I've tried in the direction you pointed and I was able to share the bond among other tagged networks. One of the problems would be how to edit ovirtmgmt network now that it's created, I just can't find in the way to do it by the web. I've tried starting a hole new datacenter, but it creates the network and disables all changes. Thus, I can't mark the ovirtmgmt network as tagged and add other tagged networks to the bond. I can't tag the management network neither not use it, so I'm kind of stuck again. Regards,
On 08/05/13 11:51, René Koch (ovido) wrote:
Hi,
first of all welcome to the oVirt project.
Did you configure vlan tagging for your ovirtmgmt network? If you're using vlan tagging on (bonded) interfaces in oVirt you have to add a vlan tag to all logical networks - can't mix tagged and untagged logical networks.
e.g (same for bonds as well): Name - VLAN - Network Name eth0 - eth0.10 - ovirtmgmt eth0.11 - lan1 eth0.12 - lan2
Hope this helps.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 05/09/2013 08:55 AM, Moti Asayag wrote:
----- Original Message -----
From: "René Koch" <r.koch@ovido.at> To: "Juan Pablo Lorier" <jplorier@gmail.com> Cc: users@ovirt.org Sent: Wednesday, May 8, 2013 11:15:04 PM Subject: Re: [Users] Vlan interface on top of bonding
Hi,
vlan tagging for ovirtmgmt interface is a bit tricky.
Here's how I do it: - configure vlan tag on host(s) and switch - imho not necessary to have a ovirtmgmt bridge available but vlan tagging configured for your ovirtmgmt network on your ethx or bondx interface
ovirt-engine supports configuration of the ovirtmgmt as a non-vm network, untagged. And on top of that nic (bond in this specific case) configure all of the vlans.
The advantage of this setting is not requiring to perform any manual configuration at all. The disadvantage is the inability to connect VMs through the ovirtmgmt network, which requires configuring at least one VM network on any of the hosts in order to be able to configure nics on the VMs.
Thanks a lot. I never tried this before. As there are repeating questions about networking I'll try to find some time this week to write a networking documentation (bonding, vlan tagging, non-vm networks,...) in oVirt wiki this week.
- create a new datacenter (without hosts in it!)
With the fix for https://bugzilla.redhat.com/909820 (merged), any network can be editing, in spite of it's configured on hosts. It will result with network being marked as 'not synced' on the host.
- edit ovirtmgmt logical network (if it's not possible: delete it and create new interface ovirtmgmt with vlan tag) - put host(s) in new datacenter - configure network from oVirt webadmin gui (maybe you have to uncheck "verify connectivity between engine and hosts")
I can't say for sure if the steps above will work - maybe you have to do more directly on the host. Did a few setups with tagged ovirtmgmt interfaces in oVirt and RHEV but newer wrote down a definitive guide for it :(
Regards, René
-----Original message-----
From:Juan Pablo Lorier <jplorier@gmail.com> Sent: Wednesday 8th May 2013 21:14 To: René Koch <r.koch@ovido.at> Cc: users@ovirt.org Subject: Re: [Users] Vlan interface on top of bonding
Hi René,
Tanks for your help. I've tried in the direction you pointed and I was able to share the bond among other tagged networks. One of the problems would be how to edit ovirtmgmt network now that it's created, I just can't find in the way to do it by the web. I've tried starting a hole new datacenter, but it creates the network and disables all changes. Thus, I can't mark the ovirtmgmt network as tagged and add other tagged networks to the bond. I can't tag the management network neither not use it, so I'm kind of stuck again. Regards,
On 08/05/13 11:51, René Koch (ovido) wrote:
Hi,
first of all welcome to the oVirt project.
Did you configure vlan tagging for your ovirtmgmt network? If you're using vlan tagging on (bonded) interfaces in oVirt you have to add a vlan tag to all logical networks - can't mix tagged and untagged logical networks.
e.g (same for bonds as well): Name - VLAN - Network Name eth0 - eth0.10 - ovirtmgmt eth0.11 - lan1 eth0.12 - lan2
Hope this helps.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Wed, May 8, 2013 at 4:18 PM, Juan Pablo Lorier wrote:
Hi,
I'm new to ovirt and I'm dealing with network configuration. I have a host with a bonding of 4 eths and on top of that I added ovirtmgmt interface. I now want my vm to work on vlan 128 so I added the nic to ovirtmgmt bridge. I have access to vlan 1 (the bridge to the bond) but even if I add the vlan interface into the vm, I have no network traffic on vlan 128. I've created a new network in the cluster for vlan 128 but the web UI is not allowing me to add it on top of oviftmgmt (which I can do manually in the host but then I can't add it to the vm as a new nic because it only shows the ovirtmgmt interface). Is there a way to do this by cli? Regards, _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
If you want VLANs on top of ovirtmgmt you have to configure it as vlan based at the beginning. you can search through the archives fro similar problems Two examples of threads with some useful information: http://lists.ovirt.org/pipermail/users/2013-February/012246.html http://lists.ovirt.org/pipermail/users/2013-February/012712.html Gianluca

Hi Gianluca, Thanks for the help. I've already read those post you pointed but they don't have the same problem. The key was in the reply of René that I can't mix untugged and tagged networks (a pitty as it's quite common to me in regular linux setups). I'm now trying to get ovirtmgmt to be tagged so I can share the bond with other tagged networks. Regards, On 08/05/13 11:53, Gianluca Cecchi wrote:
Hi,
I'm new to ovirt and I'm dealing with network configuration. I have a host with a bonding of 4 eths and on top of that I added ovirtmgmt interface. I now want my vm to work on vlan 128 so I added the nic to ovirtmgmt bridge. I have access to vlan 1 (the bridge to the bond) but even if I add the vlan interface into the vm, I have no network traffic on vlan 128. I've created a new network in the cluster for vlan 128 but the web UI is not allowing me to add it on top of oviftmgmt (which I can do manually in the host but then I can't add it to the vm as a new nic because it only shows the ovirtmgmt interface). Is there a way to do this by cli? Regards, _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users If you want VLANs on top of ovirtmgmt you have to configure it as vlan
On Wed, May 8, 2013 at 4:18 PM, Juan Pablo Lorier wrote: based at the beginning.
you can search through the archives fro similar problems Two examples of threads with some useful information:
http://lists.ovirt.org/pipermail/users/2013-February/012246.html http://lists.ovirt.org/pipermail/users/2013-February/012712.html
Gianluca
participants (6)
-
"René Koch (ovido)"
-
Gianluca Cecchi
-
Juan Pablo Lorier
-
Moti Asayag
-
René Koch
-
René Koch (ovido)