diff options
author | yar <yar@FreeBSD.org> | 2006-08-11 17:09:27 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-08-11 17:09:27 +0000 |
commit | fb2ee0939714f521f2fc39af715edfff27073086 (patch) | |
tree | 9acd1af35499174f6b31b4dd88f0731210a9ac1f /share/man/man4/vlan.4 | |
parent | 55b6d867eaa0f17178123f720a006cca67b0c14e (diff) | |
download | FreeBSD-src-fb2ee0939714f521f2fc39af715edfff27073086.zip FreeBSD-src-fb2ee0939714f521f2fc39af715edfff27073086.tar.gz |
Optionally pad outgoing frames to the minimum of 60 bytes (excl. FCS)
before tagging them. This can help to work around brain-damage in some
switches that fail to pad a frame after untagging it if its length drops
below the minimum. This option is blessed by IEEE Std 802.1Q (2003 Ed.),
paragraph C.4.4.3.b. It's controlled by sysctl net.link.vlan.soft_pad.
Idea by: az
MFC after: 1 week
Diffstat (limited to 'share/man/man4/vlan.4')
-rw-r--r-- | share/man/man4/vlan.4 | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/share/man/man4/vlan.4 b/share/man/man4/vlan.4 index 91dc78c..622620d 100644 --- a/share/man/man4/vlan.4 +++ b/share/man/man4/vlan.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 25, 2006 +.Dd August 11, 2006 .Dt VLAN 4 .Os .Sh NAME @@ -79,6 +79,27 @@ The parent interface is likely to be an Ethernet card connected to a properly configured switch port. The VLAN tag should match one of those set up in the switched network. +.Pp +Initially +.Nm +assumes the same minimum length for tagged and untagged frames. +This mode is selected by the +.Xr sysctl(8) +variable +.Va net.link.vlan.soft_pad +set to 0 (default). +However, there are network devices that fail to adjust frame length, +should it fall below the allowed minimum due to untagging. +Such devices should be able to interoperate with +.Nm +after changing the value of +.Va net.link.vlan.soft_pad +to 1. +In the latter mode, +.Nm +will pad short frames before tagging them +so that their length stays not less than the minimum value +after untagging by the non-compliant devices. .Sh HARDWARE The .Nm @@ -205,7 +226,8 @@ can be corrected manually if used in conjunction with such parent interface. .Sh SEE ALSO .Xr kqueue 2 , .Xr miibus 4 , -.Xr ifconfig 8 +.Xr ifconfig 8 , +.Xr sysctl 8 .Sh BUGS No 802.1Q features except VLAN tagging are implemented. .Pp |