[Users] Vlan interface on top of bonding

"René Koch (ovido)" r.koch at ovido.at
Mon May 13 04:02:56 EDT 2013


On 05/09/2013 08:55 AM, Moti Asayag wrote:
>
>
> ----- Original Message -----
>> From: "René Koch" <r.koch at ovido.at>
>> To: "Juan Pablo Lorier" <jplorier at gmail.com>
>> Cc: users at 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 at gmail.com>
>>> Sent: Wednesday 8th May 2013 21:14
>>> To: René Koch <r.koch at ovido.at>
>>> Cc: users at 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 at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>


More information about the Users mailing list