https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224961

Eugene Grosbein <eu...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eu...@freebsd.org

--- Comment #3 from Eugene Grosbein <eu...@freebsd.org> ---
(In reply to johnllyon from comment #2)

Incoming ethernet frames tagged with zero vlan tag are not correct, so first
operation should be conversion of such frames to standard untagged frames.

ng_vlan should perform this flawlessly if configured with command like "ngctl
msg vlan: addfilter '{ vlan=0 hook="untagged" }' and hook "untagged" connected
to ng_eiface node that creates ngeth0 interface.

Also, ng_vlan's "downstream" hook should be connected to ng_ether node
corresponding "real" interface like em0 and its hook "lower". Then real
interface passes incoming packets to ng_vlan instead of normal delivery.
ng_vlan strips incorrect vlan tag and result is delivered normally as received
from ngeth0.

Ethernet frames received without vlan tag will be dropped by this comple schema
but it is possible to process them too by inserting ng_tee node into the graph.
ng_tee is capable of combining two streams of data into single one and passing
it to arbitrary next node.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to