vlan0 on em0 has mtu 1496

Brooks Davis brooks at one-eyed-alien.net
Thu Apr 17 17:40:19 PDT 2003


On Thu, Apr 17, 2003 at 08:34:47PM -0400, Mike Tancsa wrote:
> At 05:19 PM 17/04/2003 -0700, Brooks Davis wrote:
> >On Thu, Apr 17, 2003 at 08:13:55PM -0400, David Gilbert wrote:
> >> Why does a vlan created against em0 have a mtu of 1496.
> >
> >Because the vlan header takes up 4 bytes.  With em(4) devices it looks
> >like fixing that should be a simple matter of raising the real
> >interface's MTU to 1504.
> 
> Why the difference in behavior vs how the fxp driver works with respect to 
> vlans ?

I don't know.  In current both have the VLAN_MTU capability set, but I
don't seem to be getting consistant results from 4.x systems.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20030417/de0eb474/attachment.bin


More information about the freebsd-net mailing list