Hi,
I've got a switch mirroring packets into a Sun V20Z with a BGE interface running in promiscuous mode (using snoop to test this right now). Some of the packets coming in have VLAN tags, and some do not. I am only seeing packets without VLAN tags. I know the problem is not the switch because I see all packets when I perform this test using BSD or Linux.
I've done some reading on the subject and it appears that one way around this is to create logical network interfaces, one for each VLAN tag. The problem is, I don't know what VLAN tags I'm going to be receiving ahead of time and I don't want to have to listen to 4094 logical interfaces just to be able to see all ethernet traffic!
Under Linux/BSD, setting the interface to promiscuous mode is sufficient to get the kernel driver to forward all packets to the listener. I'd like to know how I can do this with Solaris (I'm using Solaris 9 presently). I've looked at the man pages for ifconfig, bge, and ndd, and I have been unable to find any option that will set the desired behaviour.
Did I miss something, or do I need to write my own device driver to get this capability?