Date: Tue, 30 May 2000 11:57:58 +0400 From: Vick <vick@unet.ru> To: "C. Stephen Gunn" <csg@waterspout.com> Cc: Net <freebsd-net@FreeBSD.ORG> Subject: Re: VLAN improvement needed... Message-ID: <39337486.2460358A@unet.ru> References: <392E754B.BCF8AC96@unet.ru> <20000529163917.A15841@waterspout.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------2844100A2650386141852C58 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit "C. Stephen Gunn" wrote: > On Fri, May 26, 2000 at 04:59:56PM +0400, Victor Ponomarev wrote: > > > Now VLAN support in stable is bad. > > I'm not sure what you mean by now. if_vlan has always had some > shortcomings. I don't think anything has changed recently. May be I didn't correctly understand the reason for introducing this pseudo interface, but I've thought it's done for interVLAN connectivity. By the way does anyone advice a good starting point for phys level network support in BSD (realization strategy, common order of pseudo interface applying to packets and so on..) > > > When host send a packet about 1514 byte switch trunk port add 4 byte and > > router trunk port substitute vlan tag to another and send it back to > > switch. The latter remove vlan header and send packet to appropriate > > vlan ports. > > > > Currently FreeBSD router simply drop large packet on it's interface. > > That's very bad... > > Actually several ethernet cards drop these frames as giants. There > are also a few (ti in particular) that do not. > > > The existing solution on these problem for Intel card may be found at > > http://www.euitt.upm.es/~pjlobo/ > > I've reviewed this patch carefully before. I still don't see any > changes the the FXP driver that allow reception of tagged frames. > > I do have some modifications around that allow larger frame sizes on > 3Com 3c905B-TX cards. I'll dug that patch up, and put it online: > > http://www.physics.purdue.edu/~csg/xl-vlan.patch > Well your patch looks more reasonable, because you really change MTU. > > But there's another problem with small ip packet. When BSD router strip > > ethernet header for payload < 46 it strip padding bytes also. But when > > it reinserted data with another vlan header it don't add padding bytes > > and we have runts packets on interface. > > Do you think this is related to VLANs because of the encapsulation? > > Do you have a method to duplicate this behavior? > I think it related to VLAN realization. See please tcpdump file attached, frames 9,10; 35-38; and so on... 192.168.2.1 is VLAN 4 spok is VLAN 3 It's clearly than undersized packets didn't put back correctly... > > - Steve --------------2844100A2650386141852C58 Content-Type: application/octet-stream; name="cap.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cap.gz" H4sICG5nMzkAA2NhcADtWgtwVNUZ/vfuzSWEVwJFI5SwYawlSkN2E0gIr9x9BHayL3Y3JEjK Jm2BSDGPDSlC1ZuCCk0owwxORQwPIVQmQdpBbaVIyciMtQzTEQY6DkN5NBWDLYK1lE47Nf3P f5PNfW2WWsVIe3fu7tlz7v3O953z/efe+++eOX7oRQ546Nt6egBM+Hl+We6Mvz9rhiIsF1E9 2+BS1vBFv/4BgDlZAFMyCDweTHWd+1NGywhY4m5WdM4C1XYB8cqvJX06vFF6vD8i3ooVPFRi me2w+zcd516BLV//2aUuxOOTwQXgm4wNTWlPz+3cz5kQZyT8EF+FGSthlkmWiZul2FksugIu j0M0fuEhYGL93VT2hywjb8m9Ev9Yf1LaM59Rf5EaHlbiGSv79VGvsf4e/uVppu8vlawv1if1 V1ybDrOeboLeHm+vP6ImVLLRHs76XqPsm0Y1ppXv71tK+/hz6Ntdy4Mdq+zx5jUnCz3UJDhX 9I7zcJ6HFuDq5rIT6jgLVH4EwPFJr5pMPEcjqUZs+9tWzcwRoiS4bhsxVMfHvNzLkXBjiFOG v8Y4Vh5maDQ+LYgpvj8TUYsqR08q2GSTEWUvL0e8OQg1J954E54kVCXEY2jX9OzUIzj5QRpB R1SjtwgRZwVSJxXsva6MNK6eh0IsF8YbP8KTBOeAeAxpAiKtQ5B18ZjVPUTM7A8aIqVPKnjy 9wB4tDOxtyysvdhR7HI6nPP17aJIjHLVjPTaiJEkOO4Yo4xoIm+NIG9FtF6Yhaw2BtIzb2R2 9eohPFs0kbdGkLd0XtXhkRcaeHgXy+/Gm8G3ptAMFp3RjNdGRCzC8crLmE3UtveEvPYoxNvW mWA1cAGHxecKl/mDJZZA0D8vKHot1uwc4LxuR9Af8heH+5pDllxW7/SHLB6vNdtWnpNj6/0q +ryiz5ZtBa7skZrv1K5usCyrjVrK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1Syc8QX3yJmsxTHe24x546PpeGKeD+wXgSJqY6HjvcHuunsjov80lvlywfIb G06SMUydKqJ6axJRSZjxRRP93vFEDs4kB5donHA1C7j6megET/DC7Tgh+T9zQrjCF9cJnYx3 y/FEDs4kB3sGGe/X3+ZhB37Z0T/eage3TCcH549SG6N+JnJ/LpA+sWuz/AtXZGBjJDNjTIwZ Y2KvMdgfhdydZAzjdMi3O988TRkDRva3arJ6FxNZSSgYDGQbJgxJ8KzWQk6+/IbGEc/Rb1mp lqvbY1luhjc0Y0iCJ6MWctgfBsRjSLvzdcw0/4rJpzmfrvkXS7QVxA+aA6kZH7y4Vcnsr/lD EvwrJp+mJX9APIaU2jTU4J9xkd36f8ZFdiPOKpkDTTRo9yuIt+m1JLiFR9xS4o0P7Y8xe2+J meWRXFMR4xnceyizcmrDkDQOnmR1+O2IIrNSHHA6naJzPn7OUz3f4RHFDnwCLHZ5il36J0C7 /3YyK5kG1ZmKzIpNn1kZldF5xtSfaZOvgrSozoOxfGk7/BuEvg9G2SgAAA== --------------2844100A2650386141852C58-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39337486.2460358A>