LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2004, 08:07 AM   #1
ody1
Member
 
Registered: Dec 2002
Posts: 39

Rep: Reputation: 15
connect switch to hub?


Hello everyone!

I'd really appreciate your info on how to set up a lan, using both switch and hub. I have a 3com switch and a 3com hub. Both have a button for uplink or normal mode. The question is: What's the proper way to achieve connection? What kind of cable do I use (straight or crossover)? And what should be the button state? I've tried several combinations. I noticed that even when all lights are on (of hub,switch), I still can't ping the pc's that belong to the switch network, from a pc that belongs to the hub network (and reverse). The ip's are all set properly. When I left out the hub and connected a pc directly to the switch , ping worked fine.
Thanks in advance..
 
Old 04-12-2004, 08:23 AM   #2
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
U should decide which of those devices will be "higher" in your imaginary network hierarchy, lets say it will be the switch. So u will connect your hub (using uplink port) to your switch (using normal port) via normal patch cable (not crossover) and it will work.

Other option is to connect them both using normal ports - then u would need a crossover cable.
 
Old 04-12-2004, 08:25 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you are using an uplink port then you only need a striaght through cable. One uplink to one ordinary port. This lets you use the other uplink port to link to a third hub/switch to create an even longer chain
Code:
               Switch
     ||  ||  ||  ||  ||  ||  ||  #
                                  \
                                   \
  # = Uplink Port                   \
 || = Normal Port                    \
  \ = Straight Cable                  ||  ||  ||  #
                                            Hub
 
Old 04-12-2004, 08:42 AM   #4
edal
LQ Newbie
 
Registered: Mar 2004
Location: Budapest
Distribution: Fedora
Posts: 28

Rep: Reputation: 17
You Should Be Able to Use A Hub Or Switch

Hi there

For a small network you should be able to use either a hub or a switch. When you set a port to 'uplink' all it does is swap the transmit and receive pairs, this has the same effect as a crossover cable. This also gives you a great way of testing cables without a PC, connect a standard port and an uplink port together and both sets of port lights should come on.

As for the difference between switches and hubs the best explanation I have heard is as follows:

A hub works in a similar way to a taxi radio system. The base station issues instructions which all cars can hear but only the intended car responds to the message, all others ignore it. When the car replies to the message all other cars also hear but only the base station takes action. It is in other words a BROADCAST system.

A switch works in a similar way to the cellphone system. By examining the packets of the signal only the intended recipient gets to hear the message, others ignore it because the address/number is wrong. Switched networks are therefore more efficient.

Ed Almos
Budapest, Hungary
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting two computers without a hub/switch/router? pilot1 Linux - Networking 8 07-15-2008 04:31 AM
How to detect whether a hub or switch is used ? antonypaul Linux - Networking 1 12-02-2005 08:47 AM
can I set up ethernet between two machines without a hub or switch? Simon Bridge Linux - Networking 13 05-20-2005 01:29 AM
Error occurred when changing from hub to switch onionkn1ght Linux - Software 4 09-09-2004 04:05 PM
10/100 Mbps Hub/Switch Question WeNdeL Linux - Networking 4 01-13-2004 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration