On Tue, Feb 01, 2005 at 10:16:02PM +0100, Mickael wrote: > I would like realized a program under linux which sending 802.11q > frames on a vlan. I want to use for that the file if_vlan.h, but I > don't know how to use this file to be sure to generate a 802.11q > frame. And I would like to know if i must configure my computer for > use the vlan functionalities. A little assistance will be extremely > useful for me. Just use the vconfig tool to add VLAN interfaces on top of an existing eth interface. Assign suitable IP addresses to the VLAN interface you just added with vconfig and let routing do the rest. If you really want to send tagged frames onto a VLAN (ie. VLAN traffic in a VLAN, e.g. two layers of VLANs) you should be able to use vconfig to add VLAN interfaces to the VLAN interfaces. But I guess this wasn't what you were refering to? Hope this helps. //Peter