Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-12 Thread Edward Haas
On Sun, Mar 12, 2017 at 3:43 PM, Rogério Ceni Coelho <
rogeriocenicoe...@gmail.com> wrote:

> I think you define vlans on vm virtual nic OS like you do as usual. Monday
> i will try and share results. Bye.
>
> Em Dom, 12 de mar de 2017 10:40, FERNANDO FREDIANI <
> fernando.fredi...@upx.com> escreveu:
>
>> Great !
>>
>> What about a range of VLANs, is it also supported ?
>>
>
That was the OVS note all about, only with an OVS bridge it is possible to
define/select the vlans which are exposed
to the VM vnic. But this is not available at the moment.
As Rogério mentioned, define the VLAN/s on the VM vnic.


>> 2017-03-11 17:47 GMT-03:00 Edward Haas :
>>
>> Passing a trunk to the vnic is supported long ago.
>> Just create a network over a nic/bond that is connected to a trunk port
>> and do not define any VLAN (we call it non vlan network).
>> In oVirt, a non-vlan network will ignore the VLAN tag and will forward
>> the packets as is onward.
>> It is up to the VM vnic to define vlans or use a promisc mode to see
>> everything.
>>
>> OVS can add a layer of security over the existing, by defining explicitly
>> which vlans are allowed for a specific vnic, but it is not
>> currently available.
>>
>>
>> On Thu, Mar 9, 2017 at 11:40 PM, Simon Vincent 
>> wrote:
>>
>> I was wondering if open vswitch will get round this problem. Has anyone
>> tried it?
>>
>> On 9 Mar 2017 7:41 pm, "Rogério Ceni Coelho" 
>> wrote:
>>
>> Hi,
>>
>> Ovirt user interface does not allow to input 4095 as a tag vlan number
>> ... Only values between 0 and 4094.
>>
>> This is useful to me too. Maybe any other way ?
>>
>> Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
>> fernando.fredi...@upx.com> escreveu:
>>
>> Have you tried use Vlan 4095 ? On VMware it used to be the way to pass
>> all Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
>> also for pfSense.
>>
>> Fernando
>>
>> On 09/03/2017 16:09, Simon Vincent wrote:
>>
>> Is it possible to pass multiple VLANs to a VM (pfSense) using a single
>> virtual NIC? All my existing oVirt networks are setup as a single tagged
>> VLAN. I know this didn't used to be supported but wondered if this has
>> changed. My other option is to pass each VLAN as a separate NIC to the VM
>> however if I needed to add a new VLAN I would have to add a new interface
>> and reboot the VM as hot-add of NICs is not supported by pfSense.
>>
>>
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://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
>>
>>
>> ___
>> 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


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-12 Thread Rogério Ceni Coelho
I think you define vlans on vm virtual nic OS like you do as usual. Monday
i will try and share results. Bye.

Em Dom, 12 de mar de 2017 10:40, FERNANDO FREDIANI <
fernando.fredi...@upx.com> escreveu:

> Great !
>
> What about a range of VLANs, is it also supported ?
>
> 2017-03-11 17:47 GMT-03:00 Edward Haas :
>
> Passing a trunk to the vnic is supported long ago.
> Just create a network over a nic/bond that is connected to a trunk port
> and do not define any VLAN (we call it non vlan network).
> In oVirt, a non-vlan network will ignore the VLAN tag and will forward the
> packets as is onward.
> It is up to the VM vnic to define vlans or use a promisc mode to see
> everything.
>
> OVS can add a layer of security over the existing, by defining explicitly
> which vlans are allowed for a specific vnic, but it is not
> currently available.
>
>
> On Thu, Mar 9, 2017 at 11:40 PM, Simon Vincent  wrote:
>
> I was wondering if open vswitch will get round this problem. Has anyone
> tried it?
>
> On 9 Mar 2017 7:41 pm, "Rogério Ceni Coelho" 
> wrote:
>
> Hi,
>
> Ovirt user interface does not allow to input 4095 as a tag vlan number ...
> Only values between 0 and 4094.
>
> This is useful to me too. Maybe any other way ?
>
> Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
> fernando.fredi...@upx.com> escreveu:
>
> Have you tried use Vlan 4095 ? On VMware it used to be the way to pass all
> Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
> also for pfSense.
>
> Fernando
>
> On 09/03/2017 16:09, Simon Vincent wrote:
>
> Is it possible to pass multiple VLANs to a VM (pfSense) using a single
> virtual NIC? All my existing oVirt networks are setup as a single tagged
> VLAN. I know this didn't used to be supported but wondered if this has
> changed. My other option is to pass each VLAN as a separate NIC to the VM
> however if I needed to add a new VLAN I would have to add a new interface
> and reboot the VM as hot-add of NICs is not supported by pfSense.
>
>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://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
>
>
> ___
> 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


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-12 Thread FERNANDO FREDIANI
Great !

What about a range of VLANs, is it also supported ?

2017-03-11 17:47 GMT-03:00 Edward Haas :

> Passing a trunk to the vnic is supported long ago.
> Just create a network over a nic/bond that is connected to a trunk port
> and do not define any VLAN (we call it non vlan network).
> In oVirt, a non-vlan network will ignore the VLAN tag and will forward the
> packets as is onward.
> It is up to the VM vnic to define vlans or use a promisc mode to see
> everything.
>
> OVS can add a layer of security over the existing, by defining explicitly
> which vlans are allowed for a specific vnic, but it is not
> currently available.
>
>
> On Thu, Mar 9, 2017 at 11:40 PM, Simon Vincent  wrote:
>
>> I was wondering if open vswitch will get round this problem. Has anyone
>> tried it?
>>
>> On 9 Mar 2017 7:41 pm, "Rogério Ceni Coelho" 
>> wrote:
>>
>>> Hi,
>>>
>>> Ovirt user interface does not allow to input 4095 as a tag vlan number
>>> ... Only values between 0 and 4094.
>>>
>>> This is useful to me too. Maybe any other way ?
>>>
>>> Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
>>> fernando.fredi...@upx.com> escreveu:
>>>
 Have you tried use Vlan 4095 ? On VMware it used to be the way to pass
 all Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
 also for pfSense.

 Fernando

 On 09/03/2017 16:09, Simon Vincent wrote:

 Is it possible to pass multiple VLANs to a VM (pfSense) using a single
 virtual NIC? All my existing oVirt networks are setup as a single tagged
 VLAN. I know this didn't used to be supported but wondered if this has
 changed. My other option is to pass each VLAN as a separate NIC to the VM
 however if I needed to add a new VLAN I would have to add a new interface
 and reboot the VM as hot-add of NICs is not supported by pfSense.




 ___
 Users mailing 
 listUsers@ovirt.orghttp://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
>>>
>>>
>> ___
>> 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


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-11 Thread Edward Haas
Passing a trunk to the vnic is supported long ago.
Just create a network over a nic/bond that is connected to a trunk port and
do not define any VLAN (we call it non vlan network).
In oVirt, a non-vlan network will ignore the VLAN tag and will forward the
packets as is onward.
It is up to the VM vnic to define vlans or use a promisc mode to see
everything.

OVS can add a layer of security over the existing, by defining explicitly
which vlans are allowed for a specific vnic, but it is not
currently available.


On Thu, Mar 9, 2017 at 11:40 PM, Simon Vincent  wrote:

> I was wondering if open vswitch will get round this problem. Has anyone
> tried it?
>
> On 9 Mar 2017 7:41 pm, "Rogério Ceni Coelho" 
> wrote:
>
>> Hi,
>>
>> Ovirt user interface does not allow to input 4095 as a tag vlan number
>> ... Only values between 0 and 4094.
>>
>> This is useful to me too. Maybe any other way ?
>>
>> Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
>> fernando.fredi...@upx.com> escreveu:
>>
>>> Have you tried use Vlan 4095 ? On VMware it used to be the way to pass
>>> all Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
>>> also for pfSense.
>>>
>>> Fernando
>>>
>>> On 09/03/2017 16:09, Simon Vincent wrote:
>>>
>>> Is it possible to pass multiple VLANs to a VM (pfSense) using a single
>>> virtual NIC? All my existing oVirt networks are setup as a single tagged
>>> VLAN. I know this didn't used to be supported but wondered if this has
>>> changed. My other option is to pass each VLAN as a separate NIC to the VM
>>> however if I needed to add a new VLAN I would have to add a new interface
>>> and reboot the VM as hot-add of NICs is not supported by pfSense.
>>>
>>>
>>>
>>>
>>> ___
>>> Users mailing 
>>> listUsers@ovirt.orghttp://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
>>
>>
> ___
> 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


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-10 Thread Simon Vincent
I was wondering if open vswitch will get round this problem. Has anyone
tried it?

On 9 Mar 2017 7:41 pm, "Rogério Ceni Coelho" 
wrote:

> Hi,
>
> Ovirt user interface does not allow to input 4095 as a tag vlan number ...
> Only values between 0 and 4094.
>
> This is useful to me too. Maybe any other way ?
>
> Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
> fernando.fredi...@upx.com> escreveu:
>
>> Have you tried use Vlan 4095 ? On VMware it used to be the way to pass
>> all Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
>> also for pfSense.
>>
>> Fernando
>>
>> On 09/03/2017 16:09, Simon Vincent wrote:
>>
>> Is it possible to pass multiple VLANs to a VM (pfSense) using a single
>> virtual NIC? All my existing oVirt networks are setup as a single tagged
>> VLAN. I know this didn't used to be supported but wondered if this has
>> changed. My other option is to pass each VLAN as a separate NIC to the VM
>> however if I needed to add a new VLAN I would have to add a new interface
>> and reboot the VM as hot-add of NICs is not supported by pfSense.
>>
>>
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-10 Thread Ian Neilsen
Vote 1 for this. Interested also

On 10 March 2017 at 05:40, Rogério Ceni Coelho 
wrote:

> Hi,
>
> Ovirt user interface does not allow to input 4095 as a tag vlan number ...
> Only values between 0 and 4094.
>
> This is useful to me too. Maybe any other way ?
>
> Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
> fernando.fredi...@upx.com> escreveu:
>
>> Have you tried use Vlan 4095 ? On VMware it used to be the way to pass
>> all Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
>> also for pfSense.
>>
>> Fernando
>>
>> On 09/03/2017 16:09, Simon Vincent wrote:
>>
>> Is it possible to pass multiple VLANs to a VM (pfSense) using a single
>> virtual NIC? All my existing oVirt networks are setup as a single tagged
>> VLAN. I know this didn't used to be supported but wondered if this has
>> changed. My other option is to pass each VLAN as a separate NIC to the VM
>> however if I needed to add a new VLAN I would have to add a new interface
>> and reboot the VM as hot-add of NICs is not supported by pfSense.
>>
>>
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://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
>
>


-- 
Ian Neilsen

Mobile: 0424 379 762
Linkedin: http://au.linkedin.com/in/ianneilsen
Twitter : ineilsen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-10 Thread Nathanaël Blanchet

You can try to passthrough a dedicated nic for the pfsense vm.

Note if you need several (up to 64) vms with a trunk and if your (often 
10Gb )nic supports virtual function, you can use sr-iov so as to share 
your PV into 64 VFs.



Le 09/03/2017 à 20:40, Rogério Ceni Coelho a écrit :

Hi,

Ovirt user interface does not allow to input 4095 as a tag vlan number 
... Only values between 0 and 4094.


This is useful to me too. Maybe any other way ?

Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI 
> escreveu:


Have you tried use Vlan 4095 ? On VMware it used to be the way to
pass all Vlans from a vSwitch to a Vlan in a single port. And yes
I have used it also for pfSense.

Fernando


On 09/03/2017 16:09, Simon Vincent wrote:

Is it possible to pass multiple VLANs to a VM (pfSense) using a
single virtual NIC? All my existing oVirt networks are setup as a
single tagged VLAN. I know this didn't used to be supported but
wondered if this has changed. My other option is to pass each
VLAN as a separate NIC to the VM however if I needed to add a new
VLAN I would have to add a new interface and reboot the VM as
hot-add of NICs is not supported by pfSense.




___
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



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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-09 Thread Rogério Ceni Coelho
Hi,

Ovirt user interface does not allow to input 4095 as a tag vlan number ...
Only values between 0 and 4094.

This is useful to me too. Maybe any other way ?

Em qui, 9 de mar de 2017 às 16:15, FERNANDO FREDIANI <
fernando.fredi...@upx.com> escreveu:

> Have you tried use Vlan 4095 ? On VMware it used to be the way to pass all
> Vlans from a vSwitch to a Vlan in a single port. And yes I have used it
> also for pfSense.
>
> Fernando
>
> On 09/03/2017 16:09, Simon Vincent wrote:
>
> Is it possible to pass multiple VLANs to a VM (pfSense) using a single
> virtual NIC? All my existing oVirt networks are setup as a single tagged
> VLAN. I know this didn't used to be supported but wondered if this has
> changed. My other option is to pass each VLAN as a separate NIC to the VM
> however if I needed to add a new VLAN I would have to add a new interface
> and reboot the VM as hot-add of NICs is not supported by pfSense.
>
>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://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


Re: [ovirt-users] Passing VLAN trunk to VM

2017-03-09 Thread FERNANDO FREDIANI
Have you tried use Vlan 4095 ? On VMware it used to be the way to pass 
all Vlans from a vSwitch to a Vlan in a single port. And yes I have used 
it also for pfSense.


Fernando


On 09/03/2017 16:09, Simon Vincent wrote:
Is it possible to pass multiple VLANs to a VM (pfSense) using a single 
virtual NIC? All my existing oVirt networks are setup as a single 
tagged VLAN. I know this didn't used to be supported but wondered if 
this has changed. My other option is to pass each VLAN as a separate 
NIC to the VM however if I needed to add a new VLAN I would have to 
add a new interface and reboot the VM as hot-add of NICs is not 
supported by pfSense.





___
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


[ovirt-users] Passing VLAN trunk to VM

2017-03-09 Thread Simon Vincent
Is it possible to pass multiple VLANs to a VM (pfSense) using a single
virtual NIC? All my existing oVirt networks are setup as a single tagged
VLAN. I know this didn't used to be supported but wondered if this has
changed. My other option is to pass each VLAN as a separate NIC to the VM
however if I needed to add a new VLAN I would have to add a new interface
and reboot the VM as hot-add of NICs is not supported by pfSense.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users