OPNsense Forum

English Forums => Hardware and Performance => Topic started by: aroldo on March 07, 2018, 03:26:55 pm

Title: VLAN xenserver
Post by: aroldo on March 07, 2018, 03:26:55 pm

I am not able to add a VLAN to OPNsense, in the VLAN create panel does not appear a compatible interface, the parent list interface is empty.

OPNsense 18.1.3-amd64 over FreeBSD 11.1-RELEASE-p6 over VM Xenserver 7.2 2017.0517 xen-os instaled.

What can be the cause?
Title: Re: VLAN xenserver
Post by: aroldo on March 08, 2018, 08:56:10 pm
Is this going to work for OPNsense too?

https://eliasmoraispereira.wordpress.com/2016/10/05/pfsense-virtualizacao-com-xenserver-criando-vlans/
Title: Re: VLAN xenserver
Post by: kanstin on March 14, 2018, 02:16:09 am
What I had to do was create a VLAN interface in xen, add the interface to the opnsense instance, and then configured the interface in OPNsense.
Title: Re: VLAN xenserver
Post by: franco on March 14, 2018, 06:17:41 pm
Yeah, we talked about this a few days ago. xn interfaces are not seen as VLAN-capable so we removed a restriction that was in place since 2005 preventing just that.

https://github.com/opnsense/core/commit/33b3dabab

Ideally, this would land in the next 18.1 stable image cut. But it's not set in stone yet.


Cheers,
Franco
Title: Re: VLAN xenserver
Post by: franco on March 14, 2018, 06:18:34 pm
PS: If you have a running Xen instance you can of course try this patch right away:

# opnsense-patch 33b3dabab
Title: Re: VLAN xenserver
Post by: kanstin on March 16, 2018, 03:39:56 am
That patch works for me, Franco.
Title: Re: VLAN xenserver
Post by: franco on March 20, 2018, 07:47:26 am
Thanks, we'll hopefully ship this in 18.1.6.


Cheers,
Franco