Networking Forums

Networking Forums > Computer Networking > Windows Networking > Question about switches and broadcast/multicast.

Reply
Thread Tools Display Modes

Question about switches and broadcast/multicast.

 
 
Skybuck Flying
Guest
Posts: n/a

 
      08-06-2004, 05:29 PM
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.


 
Reply With Quote
 
 
 
 
AG
Guest
Posts: n/a

 
      08-06-2004, 06:39 PM

"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
 
Jeff Liebermann
Guest
Posts: n/a

 
      08-06-2004, 06:44 PM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HA switches with NIC bonding question? tonyferrari Linux Networking 0 02-03-2009 06:25 PM
Linux IPv4 Multicast question krishkar99@gmail.com Linux Networking 1 07-17-2008 05:26 PM
multicast/mrouted question Dan Miller Linux Networking 2 12-29-2005 05:37 PM
multicast broadcast addr innocent Linux Networking 1 04-05-2005 06:15 PM
Question about switches and broadcast/multicast. Skybuck Flying Wireless Internet 2 08-06-2004 06:44 PM



1 2 3 4 5 6 7 8 9 10 11