On Thu, Aug 03, 2006 at 09:29:51AM -0700, Stephens, Allan wrote:
> These differences may make sense to people who understand how the
> various transport mechanisms work, but it still leave me with a
> question: why, in the latter two cases, is UML allowing non-promiscuous
> interfaces to receive traffic that wasn't sent to them?  I can
> understand that configuring uml_switch as a hub means that packets may
> be forwarded to places they don't need to go, but shouldn't these
> packets still be filtered out somewhere further down the line?  As I
> naive user, I'm not expecting a (simulated) interface to receive traffic
> that wasn't addressed to it unless it has been explicitly configured as
> promiscuous.

Either you or I have a very basic misunderstanding of how these things
are supposed to work.  

You seem to be thinking that when you set an interface promiscuous, it
somehow reaches out to the switch and tells it to start sending it
everything, and when it is set non-promiscuous, it tells the switch to
only send stuff addressed to it.

I seem to be thinking that the packets that actually reach the
interface is not controlled by its promiscuous setting, and the
setting controls whether the packets reach the network stack and are
visible to software.

Needless to say, I think my thinking is closer to the truth.  There is
no mechanism that I know of for an interface to communicate its
promiscuous setting to a switch.  Switches do remember the MAC
associated with a port, but that is done by sniffing the packets going
by.

                                Jeff

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to