Port Mirroring: The duplex paradox
|
|
|||
|
|
Sign up to receive this and other networking newsletters in your inbox.
As you've read in this newsletter before, network capture and analysis in a switched LAN environment usually means "tapping" the switch's lines by using a "mirror" port. In this approach, traffic is copied from one "source" port to another destination or "mirror" port; an analyzer attached to the mirror port then sees all of the traffic entering and exiting the source port - in theory.
Unfortunately, a problem can arise when customers configure their switch ports for full duplex operation. Since full duplex allows traffic to flow simultaneously in both directions, it effectively doubles the available network bandwidth. Now, a mirror port on a switch can monitor traffic in one direction but not two (i.e., it can copy traffic FROM the source port but cannot monitor traffic TO it), and is therefore a logical half duplex operation. Even if the switch copies traffic from both transmit and receive channels on the source port, the traffic will eventually be forced onto the transmit channel of the mirror port. For this reason, mirroring a full duplex source port may cause packet loss as traffic on the full duplex source port exceeds the available bandwidth of the mirror port.
To make matters worse, customers often can't tell if the mirror port is oversubscribed: Simply because utilization reported by the analyzer on the mirror port is less than 100% doesn't mean that all packets have arrived safely. That is because oversubscription can occur at intervals shorter than that over which the analyzer is reporting its results. In other words, if actual throughput at the source port exceeds the mirror port's bandwidth for a half second, then drops significantly, the analyzer may never see throughput approaching 100% in a given one-second sample.
With this problem in mind, we'll return next week to consider two methods of mitigating this problem and determine which one approach is best for which customer environments.
RELATED LINKS
Network World on High-Speed LANs, 8/24/98.
Control over flow control
Network World on High-Speed LANs, 6/9/98.
Slower can be better
For heavily loaded networks, switched 10M bit/sec Ethernet beats its big brother, shared 100M bit/sec. Network World review, 3/9/98.
Sign up for this and other free e-mail newsletters
