Date: Mon, 08 Jan 2018 18:47:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 224961] VLAN ID 0 Not Supported Message-ID: <bug-224961-2472-W1QYKKD9Kx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224961-2472@https.bugs.freebsd.org/bugzilla/> References: <bug-224961-2472@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224961 Eugene Grosbein <eugen@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org --- Comment #3 from Eugene Grosbein <eugen@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 "ngc= tl msg vlan: addfilter '{ vlan=3D0 hook=3D"untagged" }' and hook "untagged" co= nnected 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 recei= ved from ngeth0. Ethernet frames received without vlan tag will be dropped by this comple sc= hema but it is possible to process them too by inserting ng_tee node into the gr= aph. ng_tee is capable of combining two streams of data into single one and pass= ing it to arbitrary next node. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224961-2472-W1QYKKD9Kx>