Re: Experts Help Please Settle Arguement - Hub or Switch if ISP offers several IPs



Jim Beam <jb@xxxxxxx> wrote:

>I know this is not a Wireless question but I know the experts here that
>I can be trusted for an accurate answer. (One in particular - Hi Jeff)
>Conditions:
>1) Cable ISP DHCP server offers multiple IPs
>2) Common non-routing cable modem.
>3) Two computers: different IPs desired for online gaming, browsing etc.
>4) No LAN required
(anytime you use an ethernet cable there is a LAN, sometimes even
when you usb cable too)
>5) Using a Router or firewall not part of this discussion

There is a lot of lack of understanding in this post on both sides.

Hubs and switches will both work perfectly in this scenario. Both
support basic ethernet which is all you need.

The major difference : Switches increase performance and security over
a hub.


Hubs are electronic repeaters. What electricity comes in on port gets
repeated out all others. That simple. Everyone hears everything.
Increased opportunity for collisions to occur requiring clients to
retransmit lost packets.


Switches send the minimal amount of traffic to each port.
- Every port hears broadcast
- Every port hears multicasts (advanced switching and routing
technology can reduce this further)
- Traffic sent to a single device(unicast mac address) will be sent to
one port only.
- The exception is if the switch is trying to send to a device and it
hasn't seen any traffic from the unicast mac address in 5
minutes(default timing, but can vary). If it doesn't know what port it
lives on it sends the traffic to all other ports (unicast flooding)

That's the majority of it.

IPs don't matter because basic switch/hub technology works at layer
2/Mac Address which doesn't involve IP addresses. Layer 3/IP relies on
Layer2 to work. Advanced switching technology can get into IP
features, but we're not talking about anything so advanced as that
here.




>Are these two statements correct?
>"As I said, you don't use a switch in this kind of arrangement.
>Switches break the network into segments but hubs broadcast to everyone
>because it doesn't know where to route packets.
>Switches an algorithim for routing packets at Layer 2. If the switch has
>determined that packets should go to User A, packets destined for User B
>will go to user A first.
>When the switch realizes User A was the wrong destination, it will send
>out a broadcast across the network at which time User B will respond.
>The end result is all the other users get robbed of available bandwidth.

Nope.

>With a hub in place, a broadcast is sent out over the network and a
>response is sent back to the hub from the right destination node. The
>first segment gets dedicated on a first-come basis."

There is no "segmentation" in hubs.



>"If the ISP will allow you to pull 2 or 3 addresses, you need a hub, not
>a switch.

Either works. Switches are always better. Hubs are so 1995.

>The cable modem can't route. If there is a switch in place, packets will
>get routed to USER A. When packets come in for USER B, they will
>continue to be routed to USER A with a switch in place. In the mean
>time, USER B sits and waits. Then the switch realizes USER A is
>rejecting the packets so it sends a broadcast across the network. USER B
>says, "Hey, I'm over here". Now incoming packets start going to USER B.
>When packets come in destined for USER A, they continue to go to USER B,
>and so and and so on and so on..."

Nope none of that happens.

>Thanks for your time!

DiGiTAL_ViNYL (no email)
.



Relevant Pages

  • Stability-Problem of EHCI with a larger number of USB-Hubs/Devices
    ... I have a bit larger "net" of USB-Devices currently consisting of 10 USB-Hubs, 9 USB-Power-Switches and 34 USB-HDDs ... The first 2 Ports of the first-level-Hub are connected to another level of 4-Port hubs following a third-level of "7"-Port Hubs (currently there ... As the Power-Switching-Device i use can switch 4 diffrent Power-Outlets there is a Power-Switching-Device connected to every 5th Port counting from the first one. ...
    (Linux-Kernel)
  • Re: basic: what is switch, router..and hub
    ... A switch is also a layer-2 device, but is smarter than a hub because it ... every other port, it forwards it only to the port where that MAC address ... be Ethernet, ATM, or other layer-2 protocol packets that deliver the IP ...
    (microsoft.public.win2000.networking)
  • Re: Slow network transfers
    ... Two different hubs, two different switches. ... DLink 16 port 10/100 switch - using this now ... DLink so may have confused the NIC into thinking full duplex. ...
    (comp.unix.sco.misc)
  • Re: Req: info on IP range popup ad software supposedly called "Extreme Marketing"
    ... It'll inject forged packets at the PC end, ... If you forge the IP address, regardless of the MAC ... IP address associated with the port. ... have to use your IP address or the switch wouldn't pass your packets. ...
    (comp.security.misc)
  • Re: Catalyst 4000 - Ciscos Response
    ... on a variety of factors such as Switch load and traffic patterns. ... Flooding packets ... database on the switch containing switch ports and the MAC addresses sourced ... Sniffer is on a different port than the workstation and servers. ...
    (Bugtraq)