Subject: ethernet Q-in-Q ?
Ivan Alexandrovich
ivsan at ngs.ru
Thu Sep 1 03:46:05 UTC 2011
Hi
Here's ugly patch against in 8.2-RELEASE (see attachment) that
makes vlan nesting possible.
# ifconfig em0.15 create
# ifconfig em0.15.18 create
Don't know about possible side effects though.
I suppose it doesn't play well wth bridges etc.
With ng_vlan nesting is also possible, but since 8.0
I had to comment out this node name check in ng_ether.c:
if ((node = ng_name2noderef(NULL, ifp->if_xname)) != NULL) {
NG_NODE_UNREF(node);
return;
Best regards,
Ivan
Tue, 30 Aug 2011 15:01:18 +0200 Kurt Jaeger <lists at opsec.eu> wrote:
> Hi!
>
> What about 802.1q VLANs encapsulated in another 802.1q VLAN ?
>
> On FreeBSD 8.1 or 9.0-BETA1:
>
> ifconfig vlan123 create
> ifconfig vlan123 vlandev em0 vlan 123
> ifconfig vlan400 create
> ifconfig vlan400 vlandev vlan123 vlan 400
> ------
> ifconfig: SIOCSETVLAN: Protocol not supported
> ------
>
> Any ideas ?
>
> --
> pi at opsec.eu +49 171 3101372 9 years to go !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: if_vlan.patch
Type: text/x-diff
Size: 959 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20110901/1760e14c/if_vlan.bin
More information about the freebsd-net
mailing list