Re: Ethernet switch flooding packets?
- From: "anwarmahmood38@xxxxxxxxxxxxxx" <anwarmahmood38@xxxxxxxxxxxxxx>
- Date: Thu, 12 Feb 2009 02:30:27 -0800 (PST)
Hi Glen,
Thanks for your reply. The number of Ethernet hosts is around 5K on
the primary VLAN, but each switch is managed (via a separate VLAN, of
course) so will have it's own MAC address. I don't know how many
other VLANs there are are or how many hosts each has.
Interestingly, I've just done another capture (it's about 10:15am, so
a peak time on the network; yesterday I did it around 6.50pm) and I'm
seeing no "foreign" unicasts *whatsoever* - very peculiar.
Kind regards,
Anwar
Glen Herrmannsfeldt wrote:
anwarmahmood38@xxxxxxxxxxxxxx wrote:.
(snip)
Glen, I acknowledge 10 frames/sec wouldn't be considered a "flood", I
was merely using the Ethernet switching terminology - if a switch
doesn't know which individual port to push a frame out to, it will
"flood" them to all ports. I've only done a short capture at one
location at one time, so the magnitude of the problem is certainly
inconclusive.
Yes, I was just trying to indicate the scale involved. It would
sound funny to call it a trickle in the ethernet standards.
Patrick, I don't think this is a switch address timeout. In the
frames that I saw, I saw some packets from my PC to a server on the
other end of a router, and the corresponding replies. Hence "my"
switch has "learnt" that my MAC address is on my port, and the
router's MAC address is on the uplink port. If I exchanged no more
traffic for the timeout period, then my address would of course
timeout and I would be flooded.
Yes, but so are all the other ports. Note that the switch, by design,
doesn't assume one host per port, even though, as you say, it isn't
an uplink port. When the MAC address times out for another port,
even the uplink port, those packets are sent to you.
HOWEVER, just a few packets
(milliseconds) later, the switch is forwarding unicast packets on my
port that aren't for me. I think this is because
- the switch as 8K MAC address table.
- every PC on each port gets added to the table when it transmits (as
it should)
- however, because there are many thousands of MAC addresses on the
Ethernet fabric, they are all being added as belonging to the "uplink"
port
Are there more than 8000 on the subnet (or VLAN)? In the
first post, it sounds closer to 1000 than 8000.
- these are replacing the entries in the MAC address table about
which PCs are on the "local/edge" ports
- this is happening so fast that I'm recieving unicasts addressed
to other MAC addresses on my computer, even though I just transmitted
milliseconds ago
Putting your MAC in the cache doesn't stop others from being
sent to you. Only putting the other host in the MAC cache
for a different port will do that. As I said, one way that
happens is if the host goes down and stops replying. Until
it is out of the ARP cache, the packets will still be sent.
When it is out of the ARP cache, ARP broadcasts will be sent,
and you will see those.
The real answer is that if you really have 8000 hosts then yes,
you should go for L3 switches or routers to subnet the network.
Many people like to keep it below 250 (for a convenient netmask)
but for reasonably traffic levels and speeds 1000 is probably fine.
Maybe 2000, but not 8000.
The reason for the change is not that a few packets leak through,
but that it really is too crowded.
-- glen
- References:
- Ethernet switch flooding packets?
- From: anwarmahmood38
- Re: Ethernet switch flooding packets?
- From: Glen Herrmannsfeldt
- Re: Ethernet switch flooding packets?
- From: anwarmahmood38@xxxxxxxxxxxxxx
- Re: Ethernet switch flooding packets?
- From: Patrick Schaaf
- Re: Ethernet switch flooding packets?
- From: anwarmahmood38@xxxxxxxxxxxxxx
- Re: Ethernet switch flooding packets?
- From: Glen Herrmannsfeldt
- Ethernet switch flooding packets?
- Prev by Date: Re: Ethernet switch flooding packets?
- Next by Date: Re: Ethernet switch flooding packets?
- Previous by thread: Re: Ethernet switch flooding packets?
- Next by thread: Re: Ethernet switch flooding packets?
- Index(es):
Relevant Pages
|