4

Tanenbaum's Computer Networks book has nice schematic drawings of hubs vs switches.

I wonder why he draws a full grid for the switch. In my understanding the green stuff (my addition) would be enough?

E.g. for connecting A to C only two connections have to activated. Similar for all other combinations - and all lie within the green range. I know this is just a schematic, I am just curious.

hub vs switch

2
  • 3
    I suspect that illustration is best regarded as a very rough sketch of the general concept of a switch. It's not drawn at the level of detail you're looking for. Commented Nov 10 at 21:58
  • 1
    Also, hubs don't really exist anymore. Switches are too cheap to bother with hubs in normal cases. Modern wired Ethernet almost always functions as a full-duplex point-to-point medium, whatever the book says about shared media and collision detection. Commented Nov 10 at 22:00

1 Answer 1

8

In my understanding the green stuff (my addition) would be enough?

Yes and no. Networks work bidirectionally, so for a full-duplex network you might need to switch one direction independent of the other, so you'd need the full matrix.

This is rather academical though. In a circuit-switched network you need a crossbar switch with only the green part of the grid, for both directions 'simultaneously'. Regardless of duplex mode, in a switched circuit two nodes A & B talk only to each other, not A to B and B to C.

In a packet-switched network there's no crossbar switch, at least not a physical one. Packets are routed across a backplane that provides sufficient bandwidth for all potential traffic (non-blocking) or not (blocking architecture).

I guess AST wanted to point out the logical difference between a 1:N and an N:N communications network, rather than show how (repeater) hubs and switches are really built.

1
  • Nice comparison of circuit-switched vs packet-switched! Commented Nov 10 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.