Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > IBM PC Networking

Question about switches and broadcast/multicast.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2004, 06:29 PM
Default Question about switches and broadcast/multicast.



I believe a switch works as follows:

Each computer/device connected to the switch has it's own 'port' /
connection with the switch.

This typically gives each device connected to the switch high bandwidth.
Since only packets ment for the device are forwarded to the device by the
switch.

However how does broadcast/multicast work on a switch ?

Can a switch send the broadcast packet to all devices at exactly the same
time ?

( In this case it would only have to send 1 packet like ethernet )

Or does the switch have to send multiple packets for each device connected ?

( In this case it would have to send multiple packets one for each device
connected )

Bye,
Skybuck.




Skybuck Flying
Reply With Quote
  #2  
Old 08-06-2004, 07:39 PM
AG
Guest
 
Posts: n/a
Default Re: Question about switches and broadcast/multicast.


"Skybuck Flying" <(E-Mail Removed)> wrote in message
news:cf0epr$mf6$(E-Mail Removed)...
> I believe a switch works as follows:
>
> Each computer/device connected to the switch has it's own 'port' /
> connection with the switch.
>
> This typically gives each device connected to the switch high bandwidth.
> Since only packets ment for the device are forwarded to the device by the
> switch.
>
> However how does broadcast/multicast work on a switch ?
>
> Can a switch send the broadcast packet to all devices at exactly the same
> time ?
>
> ( In this case it would only have to send 1 packet like ethernet )
>
> Or does the switch have to send multiple packets for each device connected

?
>
> ( In this case it would have to send multiple packets one for each device
> connected )
>
> Bye,
> Skybuck.


http://searchnetworking.techtarget.c...213079,00.html

This is a good site for all types of tech questions.
AG


Reply With Quote
  #3  
Old 08-06-2004, 07:44 PM
Jeff Liebermann
Guest
 
Posts: n/a
Default Re: Question about switches and broadcast/multicast.

On Fri, 6 Aug 2004 19:29:18 +0200, "Skybuck Flying"
<(E-Mail Removed)> wrote:

>I believe a switch works as follows:
>
>Each computer/device connected to the switch has it's own 'port' /
>connection with the switch.
>
>This typically gives each device connected to the switch high bandwidth.
>Since only packets ment for the device are forwarded to the device by the
>switch.


Close. A switch is a bridge with 3 or more ports. A bridge makes the
decision as to whether a packet should go accross the bridge based
upon the destination MAC address in the 802.3 ethernet header. In the
switch is a table of port numbers and which MAC addresses are found on
that port.

There are two types of bridges/switches. Store and forward is one.
Crossbar is another.

>However how does broadcast/multicast work on a switch ?


Very well. A broadcast packet does not have a destination MAC
address. Therefore ALL broadcast packets are sent to ALL ports on a
switch.

>Can a switch send the broadcast packet to all devices at exactly the same
>time ?


In theory, yes. In reality, no. Many switches have buffer memory
(FIFO) on each port (as well as for the store and forward packet
buffers). The ability to send absolutely simultaneous packets is
therefore dependent upon what's happening in the buffer. If there's
lots of traffic, the broadcast packet will need to wait until the FIFO
buffer empties. If there's no traffic on the port, the broadcast
packet is sent immediately.

>( In this case it would only have to send 1 packet like ethernet )


Not "like ethernet". It *IS* ethernet.

>Or does the switch have to send multiple packets for each device connected ?


Nope, just one originating packet. Think of it as a one to many
repeater for broadcasts.

>( In this case it would have to send multiple packets one for each device
>connected )


Well, now you're getting philosophical. Once packets are repeated to
other ports, they are by definition duplicated and therefore are
classified as "multiple" packets. I think what you're asking whether
an originating ethernet device, plugged into a switch, needs to send
individual broadcasts to each connected device. No. Anything without
a desitination MAC address goes to ALL the ports. Only one
originating packet is necessary. There are exceptions as in VLAN,
Spanning Tree protocol, and DHCP relay, but we won't go there now.

--
Jeff Liebermann (E-Mail Removed)
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 AE6KS 831-336-2558
Reply With Quote
Reply

Tags
broadcast or multicast, question, switches

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.