#87290 - 13/04/2002 04:41
Whats the diffference between Hub and Switch ???
|
pooh-bah
Registered: 06/02/2002
Posts: 1904
Loc: Leeds, UK
|
Whats the diffference between a network Hub and a Switch ???
Maybe a stupid question, but I can't figure out the diff.
Thanks
Cris
|
Top
|
|
|
|
#87291 - 13/04/2002 06:01
Re: Whats the diffference between Hub and Switch ???
[Re: Cris]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
|
Top
|
|
|
|
#87292 - 13/04/2002 06:02
Re: Whats the diffference between Hub and Switch ???
[Re: Cris]
|
Pooh-Bah
Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
|
A hub, in its most basic form, simply repeats the incoming signal to all ports and does no processing.
A switch is a type of hub which reads the incoming packets and determined the appropriate port to forward the packet to without bothering the other ports.
_________________________
--
Murray
I What part of 'no' don't you understand?
Is it the 'N', or the 'Zero'?
|
Top
|
|
|
|
#87293 - 13/04/2002 08:32
Re: Whats the diffference between Hub and Switch ???
[Re: muzza]
|
pooh-bah
Registered: 06/02/2002
Posts: 1904
Loc: Leeds, UK
|
Cheers fellas,
I have been trying to figure out why my home LAN is soooo slow and why the conflict light it always on while transfering to empeg. May have to invest in a switch me thinks.
Cris.
|
Top
|
|
|
|
#87294 - 13/04/2002 13:15
Re: Whats the diffference between Hub and Switch ???
[Re: Cris]
|
pooh-bah
Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
|
Well, most home LAN's won't benefit from a switch. The only time you'll see an improvement really is if you have two compleetly seperate connections - one from computer A to B, and another from computer C to D. Most home networks don't have enough active nodes for this situation to often arise. Also be aware most hubs have activity led's for each port, and a general colision light. Having the activity light on while transfering is compleetly normal.
A problem I have seen come up is 100/10 hubs/switches have issues going from 100 mbit links to 10mbit links. I suspect this is just a low quality hub problem, or maybe be just my imagination.
The empeg only runs on 10mbit (bits, not bytes), so the speed isn't blinding.
Matthew
|
Top
|
|
|
|
#87295 - 13/04/2002 15:29
Re: Whats the diffference between Hub and Switch ???
[Re: matthew_k]
|
Pooh-Bah
Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
|
depending on what OS you're using, you could check the collision count on each device.
_________________________
--
Murray
I What part of 'no' don't you understand?
Is it the 'N', or the 'Zero'?
|
Top
|
|
|
|
#87296 - 13/04/2002 15:32
Re: Whats the diffference between Hub and Switch ???
[Re: matthew_k]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
That's not entirely true. If you had data going from A to C and B to C, you might see some improvements, as most switches will also try to avoid transmitting twice at the same time on a single port. Then again, most consumer-oriented are probably not quite that intelligent. So nevermind.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#87297 - 13/04/2002 15:46
Re: Whats the diffference between Hub and Switch ???
[Re: matthew_k]
|
carpal tunnel
Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
|
I don't know that much about networking, but I can tell you that my home network has impoved VERY much in speed since I'm using a router. Before this setup I simply connected my pc's with a crossover cable. Now I know a router is also something different (don't really know the difference between a router and a switch), but I suspect the difference in speed is comparable.
_________________________
Riocar 80gig S/N : 010101580 red Riocar 80gig (010102106) - backup
|
Top
|
|
|
|
#87298 - 13/04/2002 15:58
Re: Whats the diffference between Hub and Switch ???
[Re: wfaulk]
|
pooh-bah
Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
|
Yes, I'll conceed on the A to C and B to C, especialy if traffic is slightly intermittent as the buffering would be able to help.
As to Archeon, that I can't explain at all. Anyone have any ideas as to why that would happen?
Matthew
|
Top
|
|
|
|
#87299 - 14/04/2002 14:13
Re: Whats the diffference between Hub and Switch ???
[Re: BartDG]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
A router is in a whole different neighborhood than a switch or hub. Switches an d hubs provide basically the same service in different ways in that they connect together computers on the same LAN. They're basically cabling extensions. But a router actually transmits data from one LAN to another. It receives data that's not destined for it specifically and determines if the data needs to be passed on and, if so, to which network. To confuse issues more, many, if not most, of these home DSL/Cable routers also have an integrated hub or switch on the home side.
But a router itself cannot provide greater speed internal to a LAN. It's really just another computer on the LAN. It can only provide faster or more access to networks beyond the LAN.
So not knowing exactly how your network was set up before or now or knowing if your router has a hub built into it, it's hard to say why it might work better. I doubt that most of the router-built-in hubs are switching hubs, so it's unlikely to be something that a switch would improve. Maybe your network went from 10Mbps to 100Mbps. It's easily conceivable that your NICs didn't autonegotiate to 100Mbps when just using the crossover cable.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#87300 - 14/04/2002 20:19
Re: Whats the diffference between Hub and Switch ???
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
A router is in a whole different neighborhood than a switch or hub.
Right, but if they were referring to one of the new product classes of SOHO internet/DSL routers, it probably came with a 4-port 10/100 switch integrated into it.
I know I'm confusing the description even more by saying it, but I'm actually trying to simplify...
A Router and a Switch and a Hub are three different things, true, but there are times when you will find a product that is a Router and a Switch integrated together, or a Router and a Hub integrated together. If you have a Router with four extra ethernet plugs on it, you're probably looking at one of these combination devices.
|
Top
|
|
|
|
#87301 - 14/04/2002 20:59
Re: Whats the diffference between Hub and Switch ???
[Re: tfabris]
|
pooh-bah
Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
|
It could also be that the xover cable was incorrectly built, i.e. out of polarity. This would WORK, but there would be problems.
|
Top
|
|
|
|
#87302 - 14/04/2002 21:21
Re: Whats the diffference between Hub and Switch ???
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Which is why I said ``To confuse issues more, many, if not most, of these home DSL/Cable routers also have an integrated hub or switch on the home side.''
_________________________
Bitt Faulk
|
Top
|
|
|
|
#87303 - 15/04/2002 05:04
Re: Whats the diffference between Hub and Switch ???
[Re: Cris]
|
addict
Registered: 05/05/2000
Posts: 623
Loc: Cambridge
|
I always use this story to illustrate just how dire the standard of lecturing is at my uni.
A lecturer asked that question to a class I was in last year. I answered with the usual reply about a hub broadcasting and a switch directing to specific ports.
His answer was 'er, no' with a smug grin.
Not quite sure what to say to that, I just looked at him, puzzled.
He went on the explain that switches were solely for connecting 10Mbit and 100Mbit networks together. 'Nothing more, nothing less' were his words.
In a later lecture, the same guy, talking about email, told us that POP3 stands for Point Of Presence 3. 'It's got nothing to do with post offices' he said. By that point everyone in the class had learned not to bother trying to correct him.
|
Top
|
|
|
|
#87304 - 15/04/2002 09:34
Re: Whats the diffference between Hub and Switch ???
[Re: David]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Interestingly, that just so happens to be what the switches do here where I work: Connect multiple 10-megabit hubs together.
But they also connect directly to 100-megabit cards in the servers, and a few 100-megabit-capapble workstations plug straight into the switches. I mean, the teacher was wrong, but he did describe one valid use for a switch.
|
Top
|
|
|
|
#87305 - 15/04/2002 09:55
Re: Whats the diffference between Hub and Switch ?
[Re: David]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
'Nothing more, nothing less' were his words.
Scary. This reinforces my feeling that you should always strive to take morning classes -- before the instructors get into their cups!
So, you *did* write this up on the course eval, I hope?
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#87306 - 15/04/2002 10:07
Re: Whats the diffference between Hub and Switch ???
[Re: wfaulk]
|
carpal tunnel
Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
|
My router is the US Robotics 8000 home router. And yes, it's got a 4-port hub built-in.
When the computers were connected with a crossover cable, they used the same NIC's (3Com Fast etherlink 10/100BAse-TX cards) as they are now. I also tried 3 different networking cables. The speed stayed the same. The network did work at 100Mbps, at least that's what I told win2000 to do. (I didn't leave the speed setting to "auto", I actually told win2000 to use 100Mbps/full duplex - didn't do much good for the speed though).
But ever since the router is on my network the speed has improved dramatically. Probably even doubled or more. Why this is so I can't explain.
_________________________
Riocar 80gig S/N : 010101580 red Riocar 80gig (010102106) - backup
|
Top
|
|
|
|
#87307 - 15/04/2002 10:12
Re: Whats the diffference between Hub and Switch ???
[Re: BartDG]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Ah, that's why, then. The 4-port thing in the US Robotics 8000 is 100-megabit switched.
(According to one review of the USR8000 I found on the web. The official USR site is rather unclear on the point.)
|
Top
|
|
|
|
#87308 - 15/04/2002 10:26
Re: Whats the diffference between Hub and Switch ???
[Re: tfabris]
|
addict
Registered: 05/05/2000
Posts: 623
Loc: Cambridge
|
I can understand why he didn't realise what switches actually were - he is an IT management consultant, not a geek. Like most non-tenchical people, he knows what things are used for, now how they work. It's just unfortunate that he is only teaching half the story.
Luckily I do have plenty of other very good lecturers.
|
Top
|
|
|
|
#87309 - 15/04/2002 11:42
Re: Whats the diffference between Hub and Switch ???
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
There are also multi-speed hubs that can do the same thing without switching. I don't really know how, but there are some.
Regardless, the term for his definition is a bridge. Any device that connects two dissimilar media into one network is a bridge.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#87310 - 15/04/2002 11:57
Re: Whats the diffference between Hub and Switch ?
[Re: wfaulk]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
Any device that connects two dissimilar media into one network is a bridge.
With this constrained definition, it would probably meet the definition of a translational bridge. I don't think that there's any standard associated with the definition of translational bridging, so while a Token Ring-to-Ethernet bridge would clearly fall under that definition, not sure that a 10Mbps-to-100Mbps speed-sensing Ethernet bridge would.
All I mean to say is that a device does not have to connect dissimilar media to meet the definition of a bridge. There have been plenty of single-speed, single media, same-frame-format bridges. Switches are just evolved intelligent multi-port bridges, making definitions progressively more muddy.
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#87311 - 15/04/2002 12:10
Re: Whats the diffference between Hub and Switch ?
[Re: jimhogan]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
All I mean to say is that a device does not have to connect dissimilar media to meet the definition of a bridge. To argue semantics ( ), just because there's a more precise definition does not mean that the less precise definition is incorrect. For example, if I said that any fruit that produces orange juice is a citrus fruit, I would be correct, despite the fact that it would be more precise to say that it was an orange.
Which is not to say that you're incorrect or anything.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#87312 - 15/04/2002 12:20
Re: Whats the diffference between Hub and Switch ?
[Re: wfaulk]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
just because there's a more precise definition does not mean that the less precise definition is incorrect.
No disagreement. I just got nervous when you said "the term for his definition is a bridge" (I should have included that), with the possible implication that it was exclusive.
So if you graft grapefruit braches onto an orange tree, does it become translational citrus?
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#87313 - 15/04/2002 12:46
Re: Whats the diffference between Hub and Switch ?
[Re: jimhogan]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
So if you graft grapefruit braches onto an orange tree, does it become translational citrus?
Something like that.
|
Top
|
|
|
|
#87314 - 15/04/2002 13:08
Re: Whats the diffference between Hub and Switch ???
[Re: wfaulk]
|
pooh-bah
Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
|
In reply to:
Any device that connects two dissimilar media into one network is a bridge.
This is why i've always been annoyed by DSL companies and their insistance that they give you a DSL Modem, not a DSL bridge. Every time I talked to tech support I'd complain about my DSL bridge and then go back and say modem. Finaly I've convinced myself to use their wrong terminology just to simplify things.
Now, the strange thing is that a month ago I was sitting in my EE class and the professor started describing bridged ethernet exactly as I'd always thought of switched ethernet. The text confirmed that he wasn't just making it up as he went along. The basic reason that I came up with for this is that no traffic goes over a bridge that doesn't need to, just like a switch.
Matthew
|
Top
|
|
|
|
#87315 - 15/04/2002 13:18
Re: Whats the diffference between Hub and Switch ???
[Re: matthew_k]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Unfortunately, you can also have bridges that are not so intelligent and just forward everything along. Like the default bridging setting of Ascend Maxes, which, when I initially dealt with them, tried to send all of the traffic on a 100Mbps ethernet segment down a 64kbps ISDN line. That was fun.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#87316 - 15/04/2002 14:53
Re: Whats the diffference between Hub and Switch ?
[Re: tfabris]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
Something like that.
HA! We can always count on you to reach into that hat!
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#87317 - 15/04/2002 15:04
Re: Whats the diffference between Hub and Switch ?
[Re: David]
|
enthusiast
Registered: 07/01/2002
Posts: 339
Loc: Squamish, BC
|
In reply to:
I always use this story to illustrate just how dire the standard of lecturing is at my uni.
Our HCI lecturer last term, describing how poor most UIs were, said that the car handbrake was a typical example of poor UI, because 'people pull them up more to stop on hills. If it will hold on the flat with 2 clicks, you only need to put 2 clicks on it, no matter how steep the hill'.
This was the guy who also said, later on, that the brake was the left hand pedal and the clutch the middle pedal.
A.
|
Top
|
|
|
|
#87318 - 15/04/2002 18:48
Re: Whats the diffference between Hub and Switch ?
[Re: jimhogan]
|
carpal tunnel
Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
|
so while a Token Ring-to-Ethernet bridge would clearly fall under that definition,
Ummm... how did Hobbits get into this discussion?
Ohhh.. that's Token Ring, not Tolkien Ring. My mistake.
tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#87319 - 15/04/2002 22:01
Re: Whats the diffference between Hub and Switch ?
[Re: tanstaafl.]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
Ohhh.. that's Token Ring, not Tolkien Ring. My mistake.
Tolkien Ring Network
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
|
|