JOJAN wrote: > Let me make a slight correction. VLAN is implemented in Layer -2, that is > Link Layer, not Physical Layer. > > Also, I doubt, if you can get packets to all VLANs from an application which > listens on eth0. Only untagged frames will be available from eth0. All > tagged frames will be diverted to eth0.x. Now, the virtual interfaces act as > protocol driver (L3) to the eth0 driver. But they expose themselves as a L2 > NIC driver to the IP stack. (They register themselves as net_device). > > IMHO, you can use hooks provided in the stack, like netfilter etc. or the > services provided by netpcap. eth0 _will_ see all packets, but the only protocols that will see these packets are the vlan protocol (ie, vlan devices), and proto-all, which is what tcpdump, etc use. Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com