Vishwas Manral wrote: > Hi Lars, > > Hmmm....let me explain then.;-) The way a switch can assign VLAN's is upto the administrator's discretion (we can as well have it based on a particular application - layer-7 or any other criteria). However VLAN is a layer-2 thing. Maybe someone else too can join in? > > A port based VLAN means that in case a packet comes in untagged the VLAN assigned to the packet in a VLAN aware switch is that of the default VLAN Id of the port. In a Mac-based VLAN certain Mac Addresses are assigned to the same Vlan. As far as I know we have support for Mac-Based VLAN in Linux, though I know some flavors do support Port-Based too. > > Thanks, > Vishwas The Linux MAC-VLAN stuff is not in the official kernel, but I have done fairly extensive testing on the mode that matches on the destination MAC. I have not tested the mode that matches on the source MAC but it worked at one time, at least. Port-based VLANs mean nothing unless you are bridging, and Linux already supports bridging regular ethernet interfaces and 802.1Q VLANs, so this is supported as well. Bridging between MAC-VLAN interfaces does not make sense to me, so I think this probably doesn't work in any useful manner. Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com