What’s the difference between a hub, a switch, and a router?

Hubs, switches, and routers are all computer networking devices with varying capabilities. Unfortunately, the terms are also often misused.

//
What’s the difference between a hub, a switch, and a router?

In a word, intelligence.

Hubs, switches, and routers are all devices that let you connect one or more computers to other computers, networked devices, or even other networks. Each has two or more connectors called ports into which you plug in the cables to make the connection. Varying degrees of magic happen inside the device and therein lies the difference. I often see the terms misused, so let’s clarify what each one really means.

Hubs

A hub is typically the least expensive, least intelligent, and least complicated of the three. Its job is very simple – anything that comes in one port is sent out to the others.

That’s it.

If a message1 comes in for computer “A”, that message is sent out all the other ports, regardless of which one computer “A” is on:
Message coming into a hub

And when computer “A” responds, its response also goes out to every other port on the hub:
Response being sent through a hub

Every computer connected to the hub “sees” everything that every other computer on the hub sees. The computers themselves decide if they are the targeted recipient of the message and when a message should be paid attention to or not.

The hub itself is blissfully ignorant of the data being transmitted. For years, simple hubs have been quick and easy ways to connect computers in small networks.

Switches

A switch does essentially what a hub does, but more efficiently. By paying attention to the traffic that comes across it, it can “learn” where particular addresses are.

Initially, a switch knows nothing and simply sends on incoming messages to all ports:

The initial contact through a switch

Even accepting that first message, however, the switch has learned something – it knows on which connection the sender of the message is located. Thus, when machine “A” responds to the message, the switches only need to send that message out to the one connection:

Response being processed through a switch

In addition to sending the response through to the originator, the switch has now learned something else – it now knows on which connection machine “A” is located.

That means that subsequent messages destined for machine “A” need only be sent to that one port:

Switch sending an incoming message to the machine who's location it is aware of.

Switches learn the location of the devices that they are connected to almost instantaneously. The net result is that most network traffic only goes where it needs to rather than to every port. On busy networks, this can make the network significantly faster.

Routers

A router is the smartest and most complicated of the bunch. Routers come in all shapes and sizes – from the small, four-port broadband routers that are very popular right now to the large industrial strength devices that drive the internet itself.

A simple way to think of a router is as a computer that can be programmed to understand, possibly manipulate, and route the data that it’s being asked to handle. Many routers today are, in fact, little computers dedicated to the task of routing network traffic.

As far as simple traffic routing is concerned, a router operates exactly as a switch, learning the location of the computers on its connections and routing traffic only to those computers.

Consumer grade routers perform at minimum two additional and important
tasks: DHCP and NAT.

DHCP – Dynamic Host Configuration Protocol – is the way dynamic IP addresses are assigned. A device asks for an IP address to be assigned to it from “upstream” and a DHCP server responds with an IP address assignment. A router connected to your ISP-provided internet connection will typically ask your ISP’s server for an IP address; this will be your IP address on the internet. Your local computers, on the other hand, will ask the router for an IP address and these addresses are local to your network.

Router reciving an IP address from ISP, and itself handing out IP addresses to local computers

NAT – Network Address Translation – is the way that the router translates the IP addresses of packets that cross the internet/local network boundary. When computer “A” sends a packet out, the IP address that it’s “from” is that of computer “A” – 192.168.1.2 in the example above. When the router passes that on to the internet, it replaces the local IP address with the internet IP address assigned by the ISP. It also keeps track, so that if a response comes back from somewhere on the internet, the router knows to do the translation in reverse – replace the internet IP address with the local IP address for machine “A” and then send that response packet on to machine “A”.

A side effect of NAT is that machines on the internet cannot initiate communications to local machines – they can only respond to communications initiated by those local machines.

The net effect is that the router then also acts as a firewall:

Router acting as a firewall

What that means is that malware that might spread by trying to independently connect to your computer over the network cannot.

All routers include some kind of user interface for configuring how the router will treat traffic. The really large routers include the equivalent of a full-blown programming language to describe how they should operate as well as the ability to communicate with other routers to describe or determine the best way to get network traffic from point A to point B.

A note about speed

A quick note on one other thing that you’ll often see mentioned with these devices and that’s network speed. Most devices now are capable of both 10mbps (10 mega-bits, or million bits, per second) as well as 100mbps and will automatically detect the speed.

More and more devices are now capable of handling 1000mbps or a billion bits per second (1gpbs).

Similarly, many devices are now also wireless transmitters that simply act like additional ports on the device.

This is an update to an article originally posted : November 19, 2003

Footnotes and references

1: I use “message” here to keep things conceptually simple. The more correct term would be “packet,” as each of these devices operates on discrete packets of information traveling on the network.

There are 394 comments:

  1. Longinus Reply

    thanks Leo your explanation helped me alot on what the differences are , but one question i have is : can a switch split one internet connection to several computers?

  2. Leo Reply

    Maybe. It depends on your ISP. Quite often they’ll assign only one IP down the internet connection, so while the switch might get them all connected, only one will actually be able to access the internet. A Router that does network address translation (NAT) allows them to all use the single IP address and still access the internet. A switch will also not give you the safety of a firewall that a NAT router does. My recommendation: spring for a router :-).

    Leo

  3. George Reply

    Hi Leo,
    I’ve just come across your site for the first time, and it looks like a really neat resource.
    If I have a hub with an uplink port, can I just plug in the broadband ethernet cable into that to give all of the other machines access to the net, assuming my ISP doesn’t mind.
    Thanks

  4. Leo Notenboom Reply

    In a word: maybe. In many cases there’s nothing special about an uplink port other than having it’s transmit and receive connections reversed. So if you don’t have a hub with an uplink port, but just a really really plain one, that might also work. The difference would be whether or not you need a “normal” or “reversing” network cable. You may just have to try the combinations to see which work.

    Again, though, you’ll lose the firewall protection of a NAT router, and if your ISP only assigns one IP address per customer, then you won’t have NAT to allow those multiple computers to all see the network at the same time.

    You know where I’m headed…. My recommendation: spring for a router :-).

    Leo

  5. John Reply

    Hi Leo, I just searched Google for the differences between a hub, a switch, and a router and landed on your site. Your summary is very well done, I still have a few questions:
    1. If I have a single cable internet account with a static IP and I want to use the internet with two computers simultaneously, will a router do the job?
    2. Will I be able to transmit files between the two computers using an internal network with this setup?
    3. Which brand do you recommend for a router? Which one offers Gigabit routers?
    Thanks again for your help and keep up this great website!! It rocks!! It really does!! (-:

  6. Leo Reply

    Thanks for your kind words, John.
    1) Static IP: yep, most routers should. You’ll have to configure the static IP in the router, and turn off its attempt to use DHCP, but as I said, most will. It’s actually my configuration here at home.
    2) Machine-to-machine behind the router: absolutely. It does require a little functionality out of the router (providing rudimentary DNS and DHCP), but almost all do. And if not, there are alternatives to work around that too.
    3) I’m actually not up on gigabit routers yet. As for brands, I’m kinda partial to LinkSys, you can see what I run on my recommendations page at http://pugetsoundsoftware.com/recommend.html. Cisco now owns LinkSys, and they of course do good stuff. I’ve heard good things about dLink and NetGear as well.

    Leo

  7. Blau Reply

    Great site, it helped clear up some misconceptions I had about the differences between the three. I just have one question, is there a difference between a small 4 or 8 port switch like you could buy at your local computer store and the big 24 or 36 or even 100 port switches that are used for networking purposes in businesses and schools? Do all switches work the same and have the same inputs/outputs? Thanks for your time, much appreciated

  8. Leo Reply

    Heh … neat question. In short: price and capacity. While there might be slight functionality differences (even the pros get the hub/switch/router thing confused — or sometimes functionality kinda blurs the lines), the larger devices should be essentially just higher capacity versions of the same thing you might buy for home or small office. In the truly higher end devices, they can often be joined together, or have additional components added. For example a large Cisco router might actually have removeable components, much like cards you could add to your PC, that allow it to be configured or customized to the application at hand.

    Leo

  9. Eric Reply

    I seem to be in a unique situation, which people say should not be, including the tech support for my ISP. I have a DSL modem running directly to a hub, which has a internet port. I then have all remaining ports available running to individual computers. Yet, somehow, each computer is able to log onto the internet at the same time. I know for a fact it is a hub, and that I only have one IP address. Any thoughts?

  10. Leo Reply

    That is kind of interesting :-). Look at the IP address assigned to each computer (NT, 2000 & XP: in a command prompt type: ipconfig — for win9x, Start->Run winipcfg). If they’re of the form 10.x.x.x, 172.16.x.x or 192.168.x.x then you’re behind a NAT somewhere (what’s your HUB’s manufacturer & model?). If they all start with you’re ISP’s address range, then the ISP is simply handing out multiple IP addresses down your connection.

    Leo

  11. Eric Reply

    I have a Linksys 4-port hub, with DSL/Cable uplink. All the computers are now running XP, but a couple were running Win98 for a while. One thing I did find out a while ago, was when this ability went away. It took some time, but when I disabled the IPS/IPX protocol, I believe it was, all the computers were able to share again. And I’m not paying extra for add’l IP addresses, so I might be getting some for free? :))

  12. Don Reply

    Hello Leo, I found this iste like the other guy who did a search for the difference between a Switch and a Router.I am running WinXp and I have a cable connection, I am using a switch to connect the rest of the computers in the house to the internet. I have 2 network cards in my main machine, one for the modem signal and the other to carry that signal to the switch which in return feeds the other machines and the downfall is that when I turn the main machine off all the others lose the internet connection. I tried hooking using only one net card in my main machine and hookinh the cable modem to the switch and then plugging the rest of the pc’s into the switch and the only computer that gets a connection is the first one that is turned on, the others get no connection. What I did was buy a Router which I am waiting for to come in the mail. Will a router solve my problem? I want to be able to turn off any machine on my network yet have any remaining Pc’s on my network to still have conn

  13. Leo Reply

    Yep, everything you describe makes perfect sense. And the good news it that yes, an appropriate router ought to be exactly what you need. The cable modem will plug into the router, all the computers will plug into the router, each should be independant and able to connect up, or turn off, without affecting the others.

    Good luck!

    Leo

  14. Prat Reply

    Hi,

    I have 5 computers with 5 static IP’s assigned by my ISP. I do not want to perform NAT. Which one of the above should I use?

    Prat

  15. Leo Reply

    I guess it depends on the reason you have 5 static IPs. My ISP assigned me 5 as well, though in practice I use only one, and have all my machines behind a NAT router. I tend to prefer that approach.

    If there’s a reason you need to hang on to individual static IPS, then there are a couple of approaches: one would be a switch to connect them all (a switch so as to reduce unneccesary traffic on the DSL line), and then appropriate firewalling/security on each machine. Another approach would be a more sophisticated router than most consumer models, or a security device, that will actually act more as a security filter, without affecting the IP addresses of the traffic that crosses it.

    Leo

  16. JJ Reply

    Hi,
    As most fellows, I found this site looking for the difference between hubs and switches….
    My situation is as follows: I have ADSL account with no fixed IP, allowed to connect 1 pc only. In fact, I have a LAN consisting of 7 PC’s. 1 being used as internet server (and must be on for the net to be reached).This server has to network cards installed – 1 connected to the ADSL modem, the other to the general hub. The rest of the PC’s are hooked to the hub. Now the hub is a no name 12 port 10MPS very old thing.All PC’s get access to the internet any time, and the ISP has nothing to say as he only sees 1 PC ;-)
    Now – I am about to change the internet plan to 1 that allows up to 10 PC’s (for less money and no time/volume limits :) )As my hub is slowing down the network, I was thinking it is a good time to change it to a 100MPS and connect the modem to the hub thus allow each PC to connect individually to the internet and hopefully get a faster connection. Then a friend suggested going for a switch which brought me to this (and other similar) site, and now I am not sure again what to go for? switch? router? what are the prices for reasonable devises???

  17. Leo Reply

    I pretty much recommend a NAT router in any case. Hook the modem into it, and connect your computers into it, and you should be good. The reason I recommend it is that a switch will not provide the same level of security. Your choke-point is the speed of your DSL anyway, so the additional work the router does will not have any appreciable impact on speed. 100mb will increase your machine-to-machine local speed, but of course your internet can’t go any faster that your DSL allows.

    IF you are getting 10 static IP addresses you might read my response to Pat above. If possible I’d use a NAT router anyway.

    If, for some reason, you do need the machines to be naked on the internet, then I recommend a switch – remember that a hub will echo all data to all ports – possibly including the DSL line, and may send a lot of unnessary data up that pipe, slowing down the legitimate internet traffic you want to have.

    BTW, most NAT routers will allow you to “forward” certain ports. So your web server may not need to be directly on the internet. I have one here behind my NAT router, and it can be accessed from anywhere on the internet. Forwarding port 80 was all it took.

    Leo

  18. chris Reply

    real quick question, will a switch automatically adjust for the use of a straight through or crossover cable or is it till necessary to get the right cable when upgrading from a hub?

  19. Leo Reply

    Autosensing it pretty rare, and not specific to hub, switch or router. Occasionally a specific brand or model of any of them can or will. But I’d certainly not count on it (or look for it, for that matter). Just make sure to have the right cables. I mean, why ask for problems? :-)

    Leo

  20. Gary DeFranco Reply

    Leo,
    Is the use of a switch or router complicated by using a PC and a Mac sharing cable for the Internet? My girlfriend and I shared the Web in this way (she had a separate IP address assigned by the cable company) and we were constantly losing connection and having to re-set the cable modem and re-start our computers.

    To complicate matters, she bought a new IBM laptop and shortly after we connected the RJ-45 to her laptop “it burned out her Ethernet” (according to IBM). Now she won’t be in the same room with a switch. Is this possible? I thought the current going through a modem cable was pretty harmless.

    Appreciate any light you can shed on our situation (in fact, that’s why I’m here: trying to make sense of the hub-switch-router world).

    Thanks,

    Gary

  21. Leo Reply

    Well, all the concepts should be very much PC or Mac agnostic – it shouldn’t matter, it’s all TCP/IP over ethernet.

    What might matter is how IP addresses are assigned. For example many ISPs will allow only 1 IP per connection, so only the first computer to ask for an IP address will get one. That sounds kinda-like the restart scenario you outlined. The solution there is a router – it only uses one, as far as your ISP is concerned, and you can have many computers behind the router.

    This “burned out the ethernet” thing sounds really fishy to me. I can’t think of a way for that to happen. Certainly a misconfiguration or even a misconnection to a switch or a router can’t make it happen.

    Leo

  22. Ols Hani (Tirana, Albania) Reply

    Leo, first thank you for being so kind as to answer to us (should I say newbies???)
    My situation is as follows:
    internet connection via wireles access point with a crossover cable to the lan card and win xp. I am thinking of giving my neighbour a share of the connection, so I want to limit his bandwidth. Can this be done with another lan card? Is it better with an old 486 computer as a server (I heard about some Linux progz that can do the job)and than a 10/100 hub? Which is the best and the fastest solution? As for security I am using software firewall (Norton internet security). how about a bluetooth lan ( i have 2 cards) between us? is it fast enough?

  23. Leo Reply

    I’m not aware of any options in Windows to throttle bandwidth – though I could be wrong since it’s not something I’ve looked into before. Ditto for Linux. In the past I’ve seen bandwidth throttling performed by higher-end routers, which are probably overkill (and over price) for what you are trying to do. As for bluetooth – you didn’t say how far away the neighbor is. Bluetooth, by definition, has a very limited range.

    You also didn’t say how fast your internet is – if it’s DSL or slower, a 486 box could certainly handle the job ok, depending on the software. I’d probably want it to be a faster 486, which will still seem slow compared to todays machines. I used to run a older Windows 2000 box as my “router” by using internet connection sharing, and it performed the task quite well.

    To be honest, if I had to do this myself I’m not sure how I’d approach it, without a lot more research first. Your comment about having heard of Linux based solutions intrigues me, and I’d probably head of in that direction to see what’s available.

    Leo

  24. thm Reply

    EXCELLENT A++++++++++++++++++ Site
    Leo !U are the MAN !!!
    Very understandful answers !
    Appreciate that !!!

  25. Orlando Pozo Reply

    My question is: What is the functionality of NAT sofware?, I know that is for multiple computers access the network (eg: internet) only using single IP address, but How is the translation?,
    Another questions is How many softwares has the router? I know: NAT software (act as a firewall), DHCP software, etc. Thanks.

  26. Leo Reply

    A router is a type of gateway. A gateway is a device that connects (or serves as a gateway between) two networks. In the cases we’ve been discussing here, a router acts as a gateway between your local LAN and the internet.

    Leo

  27. Anonymous Reply

    Thanx for the answer !
    The reason that I asked the diff router/gateway is that I noticed somwhere on the internet a very good deal about home wireless networking :
    http://www.maincomp.com/shop/product.jsp?id=607&pw= !
    Does it worth buyng it or should i look for a router in order to network my 2 desktops and 2 laptops ?

  28. Andy Reply

    You can share an internet connection on a network without using a router, by having a piece of software called a ‘proxy’ installed on the computer connected to the internet. You basically point all your other computers at the internet-connected computer. I do this at home using Analogx Proxy. http://www.analogx.com

    You have to be careful to secure the proxy to the internal network only otherwise you end up with what’s called an ‘open proxy’. This is where any random person on the internet can use your proxy. Any bad things they do will appear like your computer did them.

    I also use port forwarding. Which allows me to have another computer (my linux box) as a webserver. Port forwarding forwards port 80 (used for webpage connections) down my network. It’s completely transparent.

    With this proxy method. it does mean you have to keep the internet-connected-computer on most of the time. And using port forwarding I end up having two computers on all the time.

  29. Tom Reply

    Hi I have 2 computers and was going to go buy a hub. I have a cable connection. I really dont care about security and my main concern is keeping speed and the money spent for a hub. If a hub is going to slow down the connection i was going to pick up a router but i am cheap and want to know for sure if a hub will be ok. What are the disadvantages of a hub?

  30. Leo Reply

    The cheapest hub is going to send anything coming in one connection out to all the others. So if your two computers are talking to each other, all that data will also get sent up the cable connection, possibly slowing down you internet access. If you really, REALLY, don’t care about security, then I’d get an inexpensive switch which will at least prevent the unwarrented traffic on the cable. It’s possible that this might also be packaged as a “smart hub” (further confusing the terminology, I know).

    Good luck!

    Leo

  31. Eve Reply

    I’m doing an assignment based on the differences between Hubs, Routers and Switches. I need to know what is the many differences there are and your site helps me in understanding the basic knowledge of them.
    But i need to know more about the differences. Is there any way you can simplify them like how you did in your site. I seem to understand your words clearer than the rest of the sites. It definately helps me a great deal. Thanks!

  32. Orlando Pozo Reply

    Hi Leo, and have a question for you: My friends have a network in his house, the components are: a switch, Modem DSL, and 3 computers. He connected all the device to the Switch, and all the computer have internet, I thinked that He has a router (NAT support – single IP) instead of a switch, How all the computers could have internet in that network?, thanks for help :).

  33. Leo Reply

    Well, I think you’re right, either his switch is providing NAT & DHCP, or his ISP is allowing multiple IPs to be assigned down the single connection. It’s easy to tell … if the machines all have private IP addresses (probably 192.something), then it’s probably the switch. If they each have their own “real” internet address, then the ISP is being generous.

    Leo

  34. joven Reply

    Leo,

    I have a problem /w my hub. I have a 12 port hub and Im using it for xbox system link games /w my friends and ftp stuff to my xbox and streaming movies in it. Everything was fine in a few months and it slowed down my internet cable connection. Streaming movies to my xbox was hell coz the movies stutters sometimes it does not play at all.

    My internet connection is ok but with my hub it slowing everything down. I did everything and still ends up slow. Is my hub down to it’s last breath? It just 2 months old and now it slowing everything down. Please help! Thanks in advance.

  35. Leo Reply

    If it’s truly a hub, it could be clogging your internet connection with local traffic uneccessarily. I’d be really tempted to replace it with a switch. Slowdown kind of problems are rare – failures tend to be more catastrophic (though of course it’s possible, just rare.)

    Leo

  36. Rolando Reply

    Hi Leo. I have 5 PCs and a printer conected to a hub, which is connected to the network in my company (I don’t know but I thint it’s a LAN). These computers share a lot of traffic. In fact, we use one as a server, and usually all of us work on the server’s documents. We also use VNC to see each other’s computers remotely (and take over them from time to time), so there’s a lot of traffic between the computers in our group.

    My questions are:
    1. I think that if I buy a router, the computers connected to it will be making a smaller network, freeing a lot of space from the company’s network. Is this really going to happen?

    2. I think that a router will enable us to be a separate, independent network, right?

    3. If we are, then, will it be possible to work on the server’s documents, even when the company network isn’t working?

    4. I’ve seen in some forum that there two types of routers, and that most people talk nowadays about the routers used to share an internet connection between several PCs at home (Cable/DSL routers). What is the other type?

    5. I have a Cable/DSL router at home, and the hub we’re currently using. I tried usting the router at the office, but didn’t seem to work.
    Will a cable/dsl router work for me, or should I be looking for the other type of router? Or maybe I was doing something wrong…

    6. Does a router need an IP address? It seems hub don’t.

    Thanks in advance for your reponse, and congrats for a great site. Very enlightening!

  37. Leo Reply

    Those are all great questions, but unfortunately the answers rely heavily on how your companies network works. For example, using a router might allow your little network of machine to work just find … and not be able to see the companies machines. I’m sure it could be configured to do so, but again exactly how depends on how the company network is set up. I would ask your company’s IT people or whoever is responsible for network operations most of the questions you’ve asked here.

    For #4: there aren’t really “two types” of routers – there’s dozens or more :-). What most conversations seem to be about are the NAT routers that most people have in their homes. “Other” routers vary in their capabilities, often include NAT, sometimes not, and are often quite programmable. What’s appropriate for your situation is, I’m sorry to say, not clear.

    Leo

  38. Jimmy Reply

    Hi,
    i am having internet cafe with a no. of 20 PCs i have the adsl line connection and it is divided to all the PCs with a hub. my problem is i am alloted the speed of 256 Kbps and this speed is shared by all PC. if sombody downloads something on any PC the speed gets slow. i want to know what i have to do so that the download dosent effects the speed of the internet on the network… puzzeled from this situation please help me..

  39. Leo Reply

    What you need is called “bandwidth throttling” – essentially it allows you to restrict the rate at which any single connection can send or recieve data.

    Unfortunately I don’t know of any cost effective solutions off-hand. Higher end wired routers can do this, I believe, but they’re *very* expensive.

    The good news is that your situation is not unique.
    The wireless community in particular has grown, and there are a lot of people providing wireless hotspots who are facing the same kind of problem. I believe that this will lead manufacturer’s to bring that functionality to your market in some cost effective way.

    Best of luck!

    Leo

  40. george ninan Reply

    its a very good site and i got my basics cleared about routers,hubs and switches.thanks a lot leo.you have indeed done a great job.

  41. Herbey Reply

    Hi Leo,

    I have two PC’s, in one I have Red Hat Linux while in the other Windows XP, I want to use a router to conect them both to Internet and among them eventually, however, looking at all the variety of routers, I can see that not all of them support Linux, which router do you recomend me to buy?

    Thank you very much for your time

    Herbey

  42. Leo Reply

    It really depends on what you’re doing – by that I mean what services you expect your Linux box to be access over the internet. If it’s standard stuff (web, ftp, telnet, and so on) most any of the routers that work with Windows should work just fine for you.

    Leo

  43. Ray Reply

    Regarding the questions about using a 486 as a router,
    Linux routers, and “throttling” bandwidth -
    There is a tiny Linux distribution called “Coyote Linux” that
    fits on a floppy and makes a real nice router.
    Like most Linux distros, it’s a free download.
    The Windows based disk maker tool makes it easy to make a floppy
    that will turn your old 486 into nice cable / DSL router.
    You should have 16 MB of memory in the router, but 8 MB wil work.
    No hard drive needed.

    As of the time I write this, the development version includes “quality of service” (QoS), the Linux term
    for bandwidth throttling and priotitizing.
    QoS is available as an addon for the release version.
    As of early March 2004, there is not yet an easy to use interface
    for setting up QoS, you’ll have to do some studying.

  44. Ray Reply

    PS – The explanation of hub vs. switch is missing one
    key detail. When connected to a hub, all of the network
    cards in the computers or other devices have to listen for
    something called “collisions” when they transmit (upload).
    That means that they can’t send and recieve data at the same time.
    When connected to a switch, they can run in “full duplex” mode,
    meaning that they can send and receive at the same time.
    That is one major key to the increased speed with a switch.
    This is absolutely necesary for me if you want to use something
    like a Vonage phone on your LAN, which I do.
    If you haven’t heard of Vonage, it’s something that most people
    sharing a high speed internet connection will want to look into.
    It’s an internet based phone that plugs into your switch or router
    and gives you local phone service with unlimited long distance
    for around $30 per month.
    I think they give you an even better deal the first month
    if you mention that you were referred by an existing customer.

    Ray Morris
    support@webmastersguide.com

  45. Lim Reply

    Execelent forum!!! I gained a lot reading all the FAQ section.
    I’m opening an internet cafe soon, with around 40 PCs and might go for 60 PCs or 80 PCs if the business run well.
    My questions are:
    1. I wonder which kind of router should I get? NAT router?
    2. Should I buy 4 individual 12-port-router in order to connect all the 40 PCs together? Or what is your recommendation? (I want high speed–100Mbps, security, reliable and cost effective)
    3. If one day, my internet cafe’s server is down, and all the PC cannot connect to the Internet, what can I do to overcome this situation?
    4. Any other recommendation of the network for my Internet cafe? (Basically for gaming purposes)

    Thank you very much LEO. Your help is very VERY much appreciated.

  46. Leo Reply

    The bigger question you need to ask yourself first is how fast will your connection to the internet be?

    Then I’m curious if you’ll be supporting wireless, or if you’ll be entirely wired?

    Certainly a NAT solution makes sense, but how best to arrange it really depends on the expected usage and traffic. Will the heaviest traffic all be local, or internet based?

    Leo

  47. Lim Reply

    My connection to the Internet would be ADSL.
    The trafic would be Internet base and LAN base, meaning gamer can play games in LAN as well as in the Internet. We would like to provide gamers to play games in Battle.net (Warcraft, Starcraft, Diablo, World of Warcraft). The connection, I would say it’s entirely wired.

    Thank you again, and apologize for the unclear questions. >.<

  48. Leo Reply

    Well, first realize that with that many machines, if there’s any serious internet gaming, surfing or whatever going on you’re going to saturate your ADSL very quickly. However using ADSL means that any decent NAT router capable of handling that many machines is not going to be your bottleneck – the ADSL will be.

    SO, while I’m no expert in this size of installation, I see it heading two ways: a single NAT router handling your internet connection, and then enough switches to handle the local traffic. There are NAT routers available that will do fail-over … when the connection drops they can actually make a different connection, or dial up a backup connection via ISDN or reagular dialup. But if you thought your ADSL was slow… the dialup solutions are even slower.

    The other direction this could go is to get a single high-end router. This is what most IT departments would end up with … a single peice of equipment (perhaps a redundant pair) that would handle both your NAT, as well as appropriate routing, and have the 40+ connections you need. This would probably be your most reliable/robust situation, but would be expensive, and would need a network engineer to come in and set up properly.

    Highering a network engineer to come in and consult with you might be some money well spent anyway. Especially if this is critical to your business. As you point out, you’ll have a support issue should anything break down, and it would be critical for you to have a relationship with someone who knows your setup, and can help you resolve issues quickly as they arrise.

    Best of luck!

    Leo

  49. Lim Reply

    Thanks Leo, thanks a lot for your advice. I think that was the longest answer you made in this section. Again, thanks for your time and thanks for your luck, really needs that :)

    Be your website the best in Internet.

  50. tom Reply

    hi leo, great site, thanks for the help.
    my current network consists of a dsl modem connected to the internet, a 4 port (ethernet router) with NAT, and a 4 port switch (i needed the extra ports as i have 5 computers hooked up plus a living room dvd/divx/mp3 player which is ethernet capable as well.
    now i want to add wifi. i was planning to hook up a wireless access point via ethernet. but for about the same price i can get a wifi router/accesspoint/4port switch, with better features. can i hook up the second wifi router to my existing network, perhaps “dumbing it down” to act as an access point/switch, but not do any of the routing?

  51. Leo Reply

    Depends on the brand, of course, but almost certainly. Turn off the feature that provides DHCP. You may also have to not use the uplink port, but rather connect everything through the regular ports.

    Good luck!

    Leo

  52. Lain Reply

    Hi Leo.

    Thanks for your great site. My question is if I have a router and i log on with only one of the computers will then they all have acces to the internet? and won’t I need a different configuration in the nic for loggin in and for sharing files in the lan?

  53. Leo Reply

    The logon question is dependant totally on how your ISP works. You’ll have to ask them. File sharing among machines on your LAN should simply work … at worst you might have to install the NETBUEI protocol, but most times that isn’t even neccessary. Regardless, you’ll need only one configuration for your NIC.

    Leo

  54. PcH Reply

    Hey Leo,

    Thanks a lot for this explaination. I always thought I knew the difference between a hub and router, but I guess not. :P Now I know. :)

    -PcH

  55. Laura Reply

    This is a great resource site, Leo.

    We are moving from a 6-computer office all running through an 8-port router connected to a cable modem. Our new offices are already networked to a closet where all 24 network lines terminate. We are continuing the Cable modem connection to the Internet, but I am thinking we will need a switch in addition to our router to accomodate all these new computers.

    Am I right, and would it be wired this way — cable into the cable modem, modem into the router, router into the switch, switch distributing to the computers?

    Thanks for all your very helpful advice.

  56. Tony Reply

    I would like to know if a switch would improve are perfomance at work instead of the Hub we currently have. I work in a hospital in maintence and due to are location the systems office ran one internet connection to our office since all of the computers are assigned IP’s by the hospitals network we use a HUb to share this one connections with 5 computers. Could we use a switch instead of a hub and get our IP’s from the hospitals network or would they be assigned by the switch.

  57. Leo Reply

    A switch *should* just optimize the traffic, and not hand out IP addresses. A router (with DHCP or NAT) would hand out IP addresses. I typically don’t recommend that in a corporate environment, just because it can sometimes interfere with site-specific configurations & applications.

    Leo

  58. Leo Reply

    Laura: yep, that’s the approach I’d take if I were doing what you describe.

    Good luck!

    Leo

  59. Ed Reply

    Hi Leo, AWESOME SITE!

    OK, I am curious as to when it is necessary to have a Router AND a Switch at the same time. I am basically setting up an office that has 3 computers, a printer, and a wireless access point. Would the best route be to go:

    DSL –> Wireless Connection Router–> Computers & Printer?

    If I want a LAN and access to the internet, should I include a switch in between the router and the computers/printer?

    Thanks.

    Ed

  60. Leo Reply

    Thanks Ed :-).

    The scenario you outlined doesn’t need an additional switch. A router with enough ports to connect everything should handle the job just fine. I might add a switch is a) I ran out of ports on the router AND b) there’s a lot of traffic between your computers. When b) isn’t true, a switch will still work, but a hub would be fine as well.

    Leo

  61. Nick Reply

    leo, thanks so much for spending the time in answering all these queries. It really proves that the internet is an awesome place with some amazing people.

    i have a config issue concerning 20 Pcs, 2 Servers and a Router / Firewall (Smoothwall(linux))

    I am upgrading the network to switches;

    3 x 16 port switches.

    To connect these three together should i look for ones that have gigabit uplink connections. I can see that a bottleneck would be using 1 x 100mb port to connect to the other two switches in a daisy chain. Cost is an issue.

    Also, whats the easist method of setting up a DMZ against my ADSL line? This would be to host apps to the public domain but not let them access the rest of the network.

    Thanks again.
    Nick

  62. Leo Reply

    Actually, unless you expect VERY heavy traffic between your machines, 100mb should be just fine. Remember your internet side is limited by your DSL speed anyway.

    DMZ would depend on the router. Typically they have a setting that allows you to specify the IP address of one machine to act as DMZ.

    Leo

  63. Amos Reply

    I have an ADSL connection with a dynamic IP. I wanna share 2 computers which can have internet access even the other pc is not powered on. I already have the ADSL modem. So will a switch do the job ?

  64. Leo Reply

    It depends on your ISP. If they’ll allow you to have more than one IP on your line, then a switch, or even a hub, will do. However it’s more likely they’ll only give you one IP at a time, so you’ll need something like a NAT router in that case.

    Good luck!

    Leo

  65. Cheese Reply

    hi leo,

    ok my situation is different from all of these [I believe, I didn't get to read all of them].. me and my brother own a PS2 each, both of us want to play Final Fantasy XI together, but we only have one connection.. I’ve been thinking of getting a router and going wireless..[i'll be in my room, while he stays in the living room]..what should we get? what’s the best option, and how can i go about setting up my network? [any help is appreciated]

  66. Brandon M. Reply

    hello leo, i have a lynks system router and cannot get my computer to communicate with my alesis adat hd-24 I don’t know what im doing wrong. i’ve tried almost everything and its not working. When i use the internet explorer or try to ping it in command it keeps saying that it timed out and wont communicate back and forth with each other. what do i do???????

  67. Leo Reply

    In looking over the manual for that device, it appears it’s 10mb only … does your router support 10mb? (Linksys probably does, but you should confirm). You’re connecting with a normal ethernet cable, yes? Have you configured it’s IP address to something that does not conflict with another device? The address you configure should start with 192.168. It looks like that device must be in ftp mode to operate on the ethernet … I assume you’ve placed it in ftp mode? I’m not convinced IE or ping would work … but ftp might … it looks like this device has very limitted ethernet capability. Is your router connected to the internet, and if so, can your computer connect to the internet through it?

  68. Lou Reply

    Hi, I have a Cable Internet connection with 2 IPs
    I have a 4 port Router connected at the modem, and then out of one port I have it run into a hub which shares with 4 other computers, (the other 2 0f 3 ports are in use directly in another part of dwelling, When I try to bypass the HUB and plug directly into the PC I get nothing, It will only work with the Hub. Now I have unplugged all the other ports and tried running directly from router to PC and still nothing, the only thing thats works is this cheapo HUB I have had for 5 years. Any ideas. The main reason for all this, is the slow speed I get when I test my connection compared to the other PCs connected on the other ports is nite and day.

  69. Leo Reply

    My *guess* is that it probably has to do with the speed of the hub and network cards. I’ll bet that the hub is 10mb fixed speed, and that both the card and the router are auto-sensing 10/100. I have seen some cards get confused when both ends of the connection are autosensing. If you can, configured the network adapter to be 10mb fixed speed and see if that clears it up.

  70. Lou Reply

    Thanks for your help, I configured it to work as
    10Mbps Half duplex and I was able to connect directly to PC, speed didnt improve but atleast that issue is solved. Thanks again.

  71. Greg Reply

    Hello,

    Can you have hubs and switches in your network at the same time, or do you need one or the other?

    Thanks!

  72. Leo Reply

    It’s quite possible to intermix them as appropriate. In fact most large networks will have a combination of routers, switches and hubs.

  73. John Reply

    Leo,

    I looked through the questions and answers here, but didn’t quite find the answer I was looking for.

    Here’s what I have:
    1 PC with ethernet network card and XP Pro,
    1 printer,
    2 laptops with wireless network cards and XP Pro,
    1 Linksys Wireless Access Point Router w/ 4 Port Switch,
    1 cable modem with service but no static IP address

    Here’s what I want:
    To have the printer connected to the main PC, but to be accessable by the two laptops wirelessly. To have the PCs and laptops to be able to share files wirelessly. To have each computer use the cable internet connection separately.

    Here’s what I have now:
    Cable modem connected to the Wireless Access Router. The Router connected to my PC via ethernet. The printer connected to the PC via USB. The separate internet connection works fine, but I can’t share files back and forth between the machines, nor can I add the printer connected to my PC to my laptops so I can print wirelessly.

    Am I doing something wrong?

    Thanks!

  74. Leo Reply

    I’m assuming all the computers can see the internet just fine.

    You do need to make sure you have File and Printer Sharing for Microsoft Networks installed, as well as Client for Microsoft Networks, both of which are part of the network connection configuration. You also want to have the XP firewall turned *off* (your router is providing that functionality).

    And then, of course, make sure that the resources you want to share have actually been shared out (i.e. on the desktop with the printer, make sure the printer has, in fact, been shared).

    Those are the top items that come to mind.

  75. karen Reply

    Hi Leo.

    Great site and very informative and very quick with your responses!

    Here is my situation: I want to host 2 websites. One on a Linux box and the other using Windows SBS 2003. I have 1 static IP from my ISP. I have a Netgear 4 port router. At the present time I am running 1 website on the Linux box on port 80. I want to add the other site on the Windows SBS 2003. Is this possible with the set up I have now? Can I use the static IP that I have now and just do port forwarding and use the same domain name that I have been assigned? I want to try do this without having to buy a hub and pay for another domain name?

    Thanks for any help!

  76. Leo Reply

    There needs to be some way to identify which web traffic is supposed to go to which of the two servers. Port 80 is, of course, the default for web traffic, and you have it configured to go to the Linux box. You *could* configure the Windows box to put the web server on a different port (say 8080), and then used the router to send that traffic to the correct box. But that does mean that URLs would looke like:

    http://whatever/page.html – for your linux webserver
    http://whatever:8080/page.html – for the windows web server

    If you can live with that, you’re done. If not … I can’t think of a solution off-hand that doesn’t involve just getting another IP address.

  77. karen Reply

    Thanks Leo! I can live with having to enter the port number, but am having some difficulty in getting that to work, I believe I have something configured wrong in Windows setup.

    For web connections in windows, wouldn’t I use all my the IP settings that my ISP assigned me, such as DNS, and their gateway?

    I guess I’ll keep working the issue, at least now I do know that’s it’s doable.

    Thanks again

  78. Leo Reply

    Maybe :-). It often depends on the router as well. In my case gateway and dns settings for windows are the router, and then *it*, in turn, has my ISP’s settings. Also in my case my computers are picking that up automatically when they get their IP address from the router.

    But your milage may vary.

  79. karen Reply

    Thanks Leo,

    I have decided to get another IP, I think that’s going to be the easiest way to configure the servers :)

    Thanks for all your help, this really is a great site!

  80. Frank Reply

    Hi Leo
    In our area broadband is only a dream. I already have my primary PC set up as a server with a wireless PCI card, and my wifes laptop with a wireless PCMCIA card is able to share my POTS dail-up internet connection. I want to connect a 3rd computer for my kids. Is it possible to simply add another wireless PCI card to the 3rd computer without introducing conflicts or requiring the aid of a router? Also, whenever I start shopping for a router, they all seem to specify a broadband connection and none mention compatability with dail-up. Can these routers be used with dail-up also?

  81. Leo Reply

    I’m sure there are routers out there that can handle POTS (often as a backup to a high-speed connection) but they’re not going to be cheap.

    A couple of things come to mind: I’ve not had a lot of experience with an “ad hoc” network (which is what what you’re setting up without an access point), but I *beleive* three is a workable number. I’d be tempted to try it.

    Another thought is to go ahead and get that broadband router with wireless access point (or just get a wireless access point), and connect it to the ethernet connection of one of your computers (ignoring the broadband component)… perhaps the most centrally located one. The others would use their wireless cards in the same way (though no longer in ad-hoc mode). One computer could still dial out and share its POTS internet connection, and the rest could be connected wirelessly. There might be a configuration issue or two (such as probably needing to turn off DHCP on the router/access point so as not to conflict with the same service provided by Internet Connection Sharing) but in principle this should work ok.

    Good luck!

  82. Bob Reply

    I have one computer on broadband. I am acquiring a laptop next week. Can I simply unplug from the modem and plug the other in and get the help line to set up the other one. Then I could use either computer on line at will if take the troouble to plug and unplug. Will this work?
    Bob

  83. Leo Reply

    If you’re asking can you “share” an internet connection by simply moving the plug back and forth between two machines the answer is technically yes, though it will be invonvenient at times. Certain types of applications will expect a continuous connection. Simply browsing web pages, however, might well work just fine. depending on how your ISP assigns IP addresses you might need to “refresh” your IP address each time you switch the cable, however.

  84. Jen Reply

    Wow, I’m glad to see this is still active! Great page. I was wondering, though — in the past six months, I have had four switches of a particular model abruptly stop working (an 8-port HP procurve switch). To my knowledge, they haven’t had a particularly unreasonable load (they’re on a local network). I do assign static IP addresses to each PC on the network, and sometimes a network interface card will have multiple IP addresses assigned.

    The specific failure mode: well, the lights are all blinky, and my machines rapidly move between “Network Enabled” and “Network Cable Disconnected” when I view Network Settings.

    The question: Am I doing something wrong, or is this just a case of cheap hardware? Thanks! This has really been bugging me. :)

  85. Leo Reply

    Have you checked the HP support site? The only time I’ve seen switches or routers go belly up is under exceptionally heavy load. Does a power-cycle of the switch resolve the issue? Certainly what you’re doing sounds reasonable.

  86. dave Reply

    is it possible to set up a network and have different vrsions of windows runign..ie: xp pro one one and me or 98 on the other?

  87. Leo Reply

    On different machines? Absolutely – you most certainly can have a network with machines running different versions of Windows, as well as other operating systems including Linux or Macintosh’s OS/X or others.

  88. Dave Reply

    thanks Leo ….got the connection made but once that was done the other computer locks up….main is a dell demension 4300 running xp pro ..the other is a sorta home built gateway……pent 100 16meg ram…running win98…..any ideas? was working fine befor…..thanks again

  89. Leo Reply

    Before what? Working fine before … you connected it to a network? If so, I’d suspect the network card, or drivers. Make sure you’ve got the latest of those. If you have an extra card, might be appropriate to swap that out to see if it makes a difference. 16Meg of RAM is kinda tight, too.

  90. Holly Reply

    Hi Leo,

    I’ve just purchased a new iBook with an Airport card and I’m keen to set up a small wireless network so that I can roam the house without the laptop needing to be plugged in to my ADSL modem. Do I need to purchase Apple’s Airport Hub or can I go with any other wireless hub? Which leads to my second question: I assume that a hub will be sufficient for my needs, not a router? Thanks!

  91. Leo Reply

    Any wireless hub that supports the same wireless protocol (probably 802.11b or g) will work just fine.

    A router will still give you the additional protection of a firewall. With a Mac you’re not as big a target as a Windows based system, but even in your situation I see no reason NOT to get a router – the added cost just isn’t that great, and if you ever get a second computer and want to share that connection, you’ll be set.

  92. Scott Reply

    Leo,
    Is there any point to choosing a router over a switch, besides the security? My internet connection comes with firewall protection from the ISP, and so besides keeping my hacker family members from accessing my personal files, I don’t feel I need any added security. But is there another benefit to a router, if I can find one for the same price as a switch?

  93. Leo Reply

    In the short run … not really. It may come in handy someday later when your needs change. A router can almost always perform the functions of a switch, but not the other way around.

  94. Vincent Reply

    Hey,
    Just a quick question. If I have DSL and want to set up a home networking (like 3 computers share the same internet connection), will a hub serve my purposes?

    Thanks guys

  95. Rick Reply

    I’m trying to connect 2 PCs to my office e_net port. When I connect just 1 PC and the office port to the hub, everything’s fine. When I connect the 2nd PC to the hub, I lose my connection to both PCs – the light on the hub port connected to the office port actually goes out. Another office has the same setup working using a switch. Why would a switch work, but not a hub?

  96. Leo Reply

    I’d make sure that one of those connections isn’t going into something labeled “uplink” or if there’s an uplink switch to try changing it. A hub should work.

  97. mes Reply

    i saw a comment here that says i really need a router to connect 3 pcs with a dsl connection.
    well, i have a similar question…

    we have 5 pc’s at home and only mine is connected to the internet. We’re considering having a cable net service and just want to ask if i can network the 5 pc’s using a switch and UTP cables, and with the integrated LAN on the PC’s and be able to provide all the PC’s cable connection. If i can, then how?

    I’m good at standalone PC’s (assembly, installing OS, popping in/out cards/drives/processors) but have not really experienced networking. could you email me some step by step guide!? if so… THANKS A LOT IN ADVANCE!!!

  98. Darren Reply

    I want to connect more computers to my network using a 4 port router and have exceed my router ports, if I uplink to a hub, does the hub take on the smarts of the router sending data throught the hub ports or would it be better to uplink to a switch? Thanks.

  99. Leo Reply

    I don’t think you want to uplink through a hub. That gets confusing. Rather, I would unplug one of the computers from the router, plug a hub in there, and then plug in the unplugged computer and any additional computers, into that hub. Basically you want everything to be “behind” the router.

  100. Darren Reply

    Thanks, that is what I meant. But does it mattter if I use a switch or hub in this scenario?

  101. Leo Reply

    Only if you plan to hang a hundred machines off of it, or there’s going to be a LOT of machine-to-machine network traffic. In those cases a switch might be preferable. But in the common case either will do quite nicely.

  102. Steven Reply

    I have a real quick question. I have a DSL connection (with multiple IPs), and I don’t want/need to connect the computers through a router. I have been using a 4-port 10/100 hub for a couple of years, without a problem. When I watch the hub, the collision light does go off quite often, but I am not sure what effects they really have on the individual computers. My question is, for 4 computers connected to a DSL connection, whould I change it from a hub to a switch? Thanks.

  103. Leo Reply

    Unless the collision light is pegged all the time, or unless you’re noticing a bottleneck copying computer to computer, I wouldn’t worry. The DSL speed itself is your limitting factor, and collisions are inevitable.

  104. Evi Reply

    Hi there,

    I was wondering if you could help. I am rather confused. My computer is connected to the internet through a cable connection not DSL. Now i want to connect a second computer so we can share the interent. Also i only have one IP address. Do I need to use a hub or a router? Which one is better? I mean they all seem to be doing the same thing..

    Thanks, Evi.

  105. Leo Reply

    You’ll want a router. Did you read the article? It explains the differences – if something was unclear there do let me know so I can improve it.

  106. Garret Reply

    Hey Leo, great job on clearing this up for me. But one thing is still confusing. Most routers I am looking at say they have a “built in” 4 port or 8 port switch. Does this mean I will not be getting “true” routing function out of these routers? Or, does it mean that in addition to routing, it acts as an internal network switch? Also, wouldnt that mean, I can go get a single port router, and a 16 port switch and hook them together and it will funtion just like a 16 port router? Thanks!

  107. Leo Reply

    It means in addition to routing you get switching. It’s kind of a sales ploy, because really when I think routing it includes switching, but as the article points out the terminology is subject to enough interpretation that it’s certainly clearer to say that the router “includes” switching.

    And as to your 16 port router … yes, sorta. The simple router scenario that we think of in the home with a broadband router can certainly be made to happen as you describe … with a small router and a larger switch. In reality, commercial routers can do a lot more that most of us don’t care about. So I’d just be careful – you’re building a 16 port router, of sorts, just not a true, commercial, 16 port router. If that makes any sense.

  108. Josh Reply

    Hi Leo this is some valuable information. However you failed to state what a hub switch and router are capable of. Now I will ask you this question because maybe I have been lead to beleive something that is not true. I have always been told that if you are attempting to set up a basic network a hub will work great with the same explanation you have in your article however the tech guys have always added a hub will not allow you to share internet. They have told me a switch will and with you same discription above in you article they add that it will allow you to share the internet. Now I have always beilieved this till now when you didn’t mention anything about this. Whats funny about this though is I have tried using a hub to share a cable connectionit didn’t work for more than what the techs told me it would. And the switch did. So is this true?

  109. Leo Reply

    SO MUCH depends on the specifics of your situation. A hub can easily share the internet if your ISP gives you multiple IP addresses, for example. A switch *might* in some cases (though I can only think of some rather obscure scenarios), but in reality it’s a router that does the job for true sharing of a connection to the internet.

    The other problem, of course, is terminology. As I mentioned in the article, the terms “hub, switch, router” and even “gateway” are all used and missused by many people. To me it sounds like you’re working with a router, not a switch.

  110. Ralph Reply

    I have two remote sites connected to the same DSL modem. Each is 300′ away from the modem. At the modem, I have a router. I can use the internet at either remote site, with one computer.

    Question 1: To add wireless at the remote sites, can I just get additional wireless routers for them?

    Question 2: To use more than one computer at the remote sites, would I need a switch because of the distance? or would a hub do?

    Thanks

  111. Leo Reply

    1) you can, but I would turn off the DHCP / NAT functionality that probably comes with it – otherwise you’ll have two levels of NAT translation which can cause some applications problems.

    2) Actually if you put in a wireless router at each remote site, you probably wouldn’t need anything else.

  112. PlasticMind Reply

    Excellent information here! Very helpful. Here’s my question. I have a DSL modem with all sorts of features (Firewall, NAT, DMZ, etc) and I’ve hooked up a Belkin wireless router (with most of those same features) to it so I can share DSL with all of my home PCs. I have a few issues, though.

    First, I cannot share files or printers over this network. For some reason, we’re all sharing internet, but cannot “see” each other on the network.

    Second, which should be set up as the firewall? I seem to have issues with programs like IM and Yahoo where I can connect but can’t voice chat or file transfer. Very confusing. Any thoughts/suggestions?

  113. Leo Reply

    My guess is you have a situation where both of the routers are providing NAT. Only the router connected to your DSL should have NAT enabled … the other should, essentially, play the role of just a dumb huib or switch. Normally that means turning off it’s feature to *provide* DHCP. (How will depend on the specific router.) Then all your machines should see each other just fine.

  114. Eduardo Salmon Reply

    I have a DSL Internet connection and I want to share that connection between 2 computers. So I connected the Internet to a Unicom 8 port Switch and then I connected my to computers to that switch, but nothing is happening I do not get the internet connection to any of my 2 computers.

    Please help me

    Thanks Eduardo

  115. Leo Reply

    Two things: if there’s a port labelled “uplink” you might try plugging the DSL connection into that. It’s also possible you may need to reboor each machine after connecting it to the switch.

  116. David J. Stanley Reply

    I have a home network with a hub and 2 PCs. My broadband internet provider has setup both IPs to have internet access and both PCs have software firewall and anti-virus stuff. This home network works fine, but when I share a file on one of the PCs, it can be seen by others outside of my home network?! I realize I need to replace the hub with a router, hardware firewall, or switch. But which one and why?

    In short: How do I share folders (and printers) across my local network without sharing them to everyone else on the same broadband backbone?

    Thanks a Bunch,
    David

  117. Leo Reply

    You’ll want a broadband router, because by default it will block the network traffic that is related to Windows network filesharing.

  118. Lance Reply

    I am attempting to expand my network in my office. We have DSL, then it runs to a netgear router, and then branches off to a hub and/or other PC’s. i am attempting to now split one of the connections from a PC past the router (not the other hub) so that I can branch other connections off of it. i have a linksys router that I found around the office, and so I was attempting to use that. I was able to get the internet functioning past the second router, however, I cannot get the PC’s past router 2 to connect to PC’s past router 1, or past router 1′s hub. It also does not work inversely. I have read your previous posts and disabled the DHCP on the secondary router, but that has been to no avail. Would it be simpler for me to just replace the secondary router with a hub (there are only two computers being connected into the hub, and 1 is rarely used, so would be no traffic conflicts) or is there a way to make the second router act the way I want. Thanks

  119. Leo Reply

    I guess it boils down to how much time you want to spend on it. I’m certain there’s a way to get the router to “act dumb”, but exactly how, and what features to turn off will depend on the specific router. Might be easier, in the long run, to pick up a cheap hub.

  120. Ben Reply

    I have cable and two computers one is xp the other is 98, I want to know whether I should get a router or a switch. I want to be able to use the internet on both of them. Thank you

  121. dan Reply

    I want to know if I can go Modem->>Switch–>Router

    I am having some IP address trouble with the computer I have so I am going to plug that into the switch, along with the router. I connect fine on the PC but I cannot connect using the Router.

  122. Leo Reply

    It can work, but normally you’d connect modem->router, and then only if needed would you add a switch connected to the router.

  123. Josh Reply

    i recently had three computers connected to the network it looked something like this
    NTL broadband-usb-[PC1]–rj45–[PC2]–rj45-[PC3}
    Note pc 2 had two network cards installed.

    now the 2nd pc is upstairs and we have now got two ps2 consoles with “network adaptors” istalled and i have purchesd a hub… what do i do i need to buy to connect the all together?? do u recomend i buy a dsl/cable router?? thanks Josh

  124. vibert Reply

    I now have cable DSL with a hub and two addresses one for each computer. I now have a third computer with wifi. Would it be better to get a router with wifi and direct all traffic thru that and get rid of the second address.( call me cheap but I would save a few bucks here)
    Thanks

  125. Karl S. Lust Reply

    Leo, I have two computers linked by a wired(RJ45) switch and an ethernet interface ADSL modem/router connected to the switch with a crossover cable. I just got a laptop and want it connected wireless. Keep in mind I want to share all the files on all the computers, share a printer connected via USB to one of the desktops, and share the broadband internet connection. What should I get, or do I need all new stuff? Items I have:Switch,2 Desktop Computers (XP), 1 Laptop Computer(XP), Printer with USB connection, and an ADSL modem/Router(Ethernet Interface)

  126. Leo Reply

    You’ve got a couple of options…

    1) get a wireless access point, and plug it into your switch (assuming it currently has unused connections).

    2) replace the switch with a router that includes a wireless access point.

    Personally, I vote for #2 as being easier to manage in the long run, and probably cheaper anyway.

  127. Rob Reply

    Hi, Im trying to decide what to use a hub,switch or router. I have one computer hooked up to a cable modem and I also have another computer I want to hook up to the net. Im just wondering which one whould be the best, I whould have 2 ips and Im worried about how the download speeds will be affected sharing the connection. Could you help me decide which whould be better to use? Thanks

  128. Leo Reply

    If you are getting two IP addresses from your ISP, then a switch or hub will do just fine (make sure your machines are firewalled some other way, then, though.)

    But in general I recommend a Router. I have 5 IPs assigned to me, and I use only one – I have a router installed and all works well, AND I get a firewall. Your broadband connection’s speed will be the limitting factor, not the hub, switch or router.

  129. mohamed kamal Reply

    hi iam getting a DSL connection in my home and i need to make a network of three computers which is better for me a switch or a router

  130. Duncan Reply

    Hello Leo..

    Have read article, but afraid I am a bit confused still. I have a LAN between Laptop and Desktop using straight cat5 cables into a 10/100 ethernet switch. I am about to get broadband and don’t seem to be able to get a straight answer from prospective ISP’s about the hardware needed. Basically, I want both computers to connect independantly to the internet (eg I don’t want to have to have one pc always on for the other to connect) 1 company have said that they supply a modem that is usb, but has a rj45. Can i plug from this into my 5 port switch and make it all work.. in which case, is does the internet become a place on my ethernet LAN, or do I need a router – sorry for the confusion..

    Appreciate any help.

  131. Leo Reply

    Sadly, the answer depends on your ISP, and it sounds like they’re not being very clear.

    I don’t think the USB doohickey will do what you want. What you really want is for them to provide you with a modem that provides you with an RJ-45 ethernet connection.

    If they will provide you with multiple IP addresses, then you could just plug that into your switch. Otherwise you’ll need to get a router instead.

    This article has more info also: http://ask-leo.com/how_should_i_set_up_my_home_network.html

  132. Mladen Reply

    Hi,

    I need some help… Just when I think I’m starting to get it, I realize that I’m completely confused!

    I just moved into an apartment with a fiber connection and a pare-installed CPS switch (http://www.packetfront.com/cps.hp).

    Currently, the CPS will assign separate dynamic IP address to each of my computers. Now, if I understand it right, the CPS doesn’t make it possible for me to have an “internal” home network. Or does it?

    If not, the idea I have is to connect a simple switch or a router on one of CPS ports and then connect computers to the switch/router. Will that work (and what about the IP addresses then)? Or is there a better solution?

    What I’m trying to achieve is simply to be able to share files between computers (file server, work station, media station) and control all three from the work station without any traffic leaving my own network…

    Thanks,
    Mladen

  133. Ken Reply

    I have a Linksys broadband router connected to my computer, wireless lap top and playstation2. My connection with the wireless lap top is fine and no longer getting disconnected (I think, due to wireless phones on the same freq.). But, my playstion2 still experiences lag during online gameplay when connected through the router. I don’t experience the lag when directly connected to the cable modem. How can I decrease my lag, but still get online with my other computers?
    -Ken H.

  134. Leo Reply

    Typically a standard (straight) ethernet cable with RJ-45 connectors. Can vary, though, and it’s possible you need a reversing cable. Also check to make sure that if there’s an “uplink” port on either device you’re using it properly (“properly” depends on the device and the exact layout of your network).

  135. Charles Reply

    I have a DI-604 router connected to the internet thru a DSL modem. The question is… can i connect the DI-514 im thinking about buying to a port on the DI-604, and have all computers under the DI-514 appear to be on the same network as the DI-604?

  136. Leo Reply

    Possibly. The most imporant thing to do is to turn off DHCP on the downstream router (the DI-504 I think in your case) so as to avoid what’s called “double natting”.

  137. Lily Reply

    Hi, I only have a laptop, what do I need to have it wireless? I was thinking of getting boadband or install DSL from Bellsouth, what do I need after that? What kind of router, and what kind of card. Thank you in regard to this matter, I am not very laptop savvy.

    Lily LaMonica

  138. Leo Reply

    A wireless broadband router, and if your laptop doesn’t already have a wireless adapter built in (many newer ones do), then an 802.11b or perhaps better, an 802.11g, wireless pccard (aka pcmcia crd). Make sure your laptop has an available pccard slot for the wireless adapter to go into. If not, there are also USB wireless adapters that work as well.

  139. travis Reply

    I am looking for a device to connect my enire home network, two computers and an xbox(for xbox live). I was just wondering if I would need a router or if a switch would do. If it matters at all I’m running a 100mps dsl system.

  140. Gene Munns Reply

    I am getting ready to purchase a wireless router and laptop card. Question, what is the difference between a “B” and “G” router? Also, which one is better in the long run.

    thank you,

    Gene

  141. Leo Reply

    B and G are two different protocols. G can be faster. The good news is that G routers and network cards also support the B protocol. I’d get the G.

  142. manoj kamboj Reply

    hiiiiiiiiiiiiiiiiiiii
    HUB:
    Hub basically a equipment to connect the hosts on physical layer .And having a no ports 8,16,32 etc and data send to any port can pass to all the remaining ports.
    SWITCH:
    Switch is small intelligent equipment used on the datalink layer .It used the MAC Address to find the the destination(find out d MAC Address of destination host)
    ROUTER:
    Ohhhhhhhhhhh WAT a intresting thing is a router .A very intelligent box.It uses d ip addresses to send d data to destination .Uses d routing table to find out ip id.It is used on d networklayer

  143. Caleb Pate Reply

    Hi I was wondering what I should get a hub, router, or a switch. I have computer up stairs and I was going to run some Cat-5 wire down stairs to my PS2 so I could play online. I was wondering what the best item would be so I could have my computer up stairs hooked in at all times, and my PS2 hooked in at all times. Please help me out.

  144. Caleb Pate Reply

    What type of Router would u recommend for having my PS2 and Computer hooked up at all times?

  145. Leo Reply

    Any inexpensive broadband router should do. I’m partial to Linksys myself.

  146. KJS Reply

    One major distinction needs to be made clear: Routers separate different networks. Switches and hubs do not. Switches/hubs simply extend the network that they are already a part of.

  147. Pramit Reply

    This place seems to be exciting? I am using a router Linksys. I have two questions:

    1.I have a problem in blocking the unauthorised telephone lines. Can you please suggest how to block the unauthorised tel lines. I have got the single IP from my ISP provider.
    2. Does every hub come with uplink port? If not how can i provide internet facilities on four PCs at the same time using two hubs(without uplink port)and a switch?
    Waiting for the reply.
    Thanks

  148. BENDER Reply

    I have a hub that I bought so I can LAN up my X-Boxes. Is it possible to use it to connect two of my computers to the internet at the same time using that? I hooked the uplink port to my cable modem and my other computers to the hub. I could only get one computer to work at a time. Could it possibly be because of my modem?

  149. Leo Reply

    Pramit: I don’t know what you mean by blocking telephone lines. Most hubs come with an uplink port, but you can also connect two hubs using a special “reversing” network cable between them.

  150. DELSON Reply

    HUB–is like your extension cord. No intelligence at all.
    SWITCH–is like your traffic light. It has some form of intelligence to direct traffic.
    Router—It is the combination of both with the highest form of intelligence. It remembers who sent what and where to direct and connect what?

  151. smartkid Reply

    hey, nice site u host!!! im a pc technician and im familiar with all these things…. but just like the others have one question:
    i have a router which i use to share my internet connection, can my isp find out that i share the connection thru packet managers or any other software or watever??? or am i safe befind the router.. can u pls write to me on my email… thank u

  152. Leo Reply

    I would assume that in most cases it’s quite possible for someone monitoring your internet connection – like, say, your ISP – to be able to at least make a very educated guess about how many computers you have behind your router. Or at least how many of them communicate on the internet. It would take an understanding of the types of traffic that is common, and examining the packets to identify machine-specific characteristics.

    Not common. Not trivial. But possible, I would think.

  153. cindy Reply

    As you have said, it’s quite possible for someone monitoring your internet connection. What if i am using msn to chat with a hacker, will the hacker be able to trace my ip address and hack to my computer? If yes, how do they do that? Can you reply me through my email address?

  154. Leo Reply

    a) you should be behind a firewall … that will eliminate 90% of the threat, b) most chatting services do NOT share your IP address. You and your chatting partner communicate with, for example, MSN’s servers, not each other.

    There is one exception … AIM I think has what’s called “direct” connection which may expose your IP address. Use that only with people you trust. But that firewall above will also protect you in this case as well.

    I’m not sure about audio, video and file transfers … they may expose your IP addrss, but I actually don’t know if they do, and which services might.

  155. angie Reply

    hi :)

    my bf and I are a sharing an internet connection at the moment. Both of our machines and the modem are connected to a switch and he is running a proxy server on his machine. We can both surf just fine but have problems connecting to world of warcraft. he connects perfectly but i do not connect at all.
    how can we fix this?
    an interesting snippet of information is that when my machine connects to the internet, it uses his machine as a proxy and not the proxy server itself

  156. Al Reply

    I have a dsl line and connect to a 4 port router. I have 4 computers connected to the router and I want to connect 2 more. Not all of these computers will be on line at the same time so is it possible to connect a hub or a switch to one of my router ports and be able to use one of the computers connected to the hub or switch to go online while any of the other computers connected to the hub or switch are off or off line?

  157. Leo Reply

    You should be able to connect a hub, as you describe. I do it myself, actually. In one case I believe I have a hub, connected to a hub, that finally connects to my broadband router.

  158. faraz Reply

    hey one Q ppl

    If i want to connect 4 PCs to the internet via router.. then do i need to make one PC a server( and keep it on continously).

    One more thing, is it possible to connect 4 comp to the net using switch or hub, without keeping at least one comp as proxy server.

  159. Leo Reply

    Nope. The computers would connect through the router, and wouldn’t care about each other being on or not.

    It’s possible to connect them with a switch or a hub, but I really recommend a router for connecting to the internet.

  160. Dave Niekamp Reply

    I have a netgear fs516 switch that has an uplink port going to my netgear wgr614 broadband router. The router has autosensing uplink ports, but for some reason, I cannot get computers hooked up to the switch access to the internet. My wireless connections work great. I have uploaded the new firmware and have manually configured the IP addresses. Any thoughts would be greatly appreciated. Thanks! dn

  161. Dave Niekamp Reply

    I got it! Straight through wire, port 8, uplink set to normal.

    Finally, all my work in the attic has paid off! Thanks, dn

  162. adriana valdez Reply

    I have a router but is not working properly. It shuts down itself every other minute. I have a hub. Can i use it to distribute my internet over my computers instead?

  163. Leo Reply

    The best I can say is … maybe. It depends on how you are connected to the internet, and how your ISP would handle it. You’d also want to seriously beef up your internet security by enabling firewalls on every machine, since that’s one of the big benefits of a router. It’s might be both cheaper and easier to simply replace the router with another router.

  164. tom Reply

    hey leo
    great site!
    im currently in dubai,UAE and I know people have asked you this many times before but i need your help

    i have 3 pc’s all windows.
    and i have a 1mb adsl connection with no static ip.
    i want all the pc’s to be connected and i don’t want to switch on my main pc (pc1) just to give internet access to the other pcs
    also i want to run a file and print server on pc2 and a webserver on pc 3
    i also want them to be
    what do you recommend I get? can you be specific, it will help :)
    thanks
    tom

  165. Leo Reply

    I’d grab a router, probably one of the 4 port LinkSys devices. It should do everything you need.

    By “webserver” – do you mean locally, or visible on the internet? You may want to consider a static IP to make that work cleanly on the internet.

  166. tom Reply

    hey thanks leo for the advice!
    but theres a new problem
    i went out to buy the router but forget to mention that i have a usb dsl modem given to me by my isp here.

    and that the linksys router only has a port for ethernet modems!

    is there anyway i can use the router by using a cable with one usb end and one ethernet end?
    or do i have to get another model?

    thanks for everything
    tom

  167. Leo Reply

    No USB and ethernet can’t really be converted with just a cable. I would see if your ISP can provide you with a regular ethernet based DSL modem.

  168. P. Cookson Reply

    Surecom 8 port 10/100 switch (EP-808SX)
    [1767-4712544003817] Any chance you can tell me if this hub is compatable with adsl or cable internet if it is compatable with cable than any info would be great.

    kind regards

    Peter Cookson

  169. Del Reply

    Hi Leo,

    Thanks for your site. I have some questions. What do I need to do to transfer files from my old laptop to my new one. My old one don’t have any USB and ethernet port, so I don’t know if I can set up a network between my two laptops. I have big files store in it, it is just impossible to transfer it using diskette. It don’t have a CD writer too. Please help me.

    Thanks,
    Del

  170. Leo Reply

    You might check into a product called LapLink … they used to have a technique using a special cable that connected two computers using thier printer or comm ports.

  171. rojon whitley Reply

    which one do i need? i have a home pc and a playstation 2. when i want to playthe ps2 i hae to, unplug the power to reset the isp from the pc, and visa versa. What can i do to sole this problem?

  172. Leo Reply

    I typically recommend a router for these types of situations.

  173. Joysa Joya Reply

    Hey,
    I have 2 PC s in my home. I simply want to connect both of them for sharing files and printer, and playing multi player games.
    And physical distance between both the PCs is approxily 25-30 metres.
    I have on board Lan 10/100 mbps on one system motherboard but not on the other. But I recently purchased a Bluetooth Dongle which shows a network adapter(Bluetooth PAN network adapter) in another computer’s device manager.
    Could you tell me for connecting both the computer for the above purposes what necessary hardware should I purchase? Could i make use of ethernet of first PC and Bluetooth PAN Network Adapter of another one to make connection…..
    Is there any device(like switch, routers) which supports wired and wireless connection at the same time.
    If not then suggest me details for both the wired and wireless connection and details of initial investments too….
    Thanks
    Regards
    Joysa

  174. Dan Reply

    Hi Leo, great advising and we trully appreciate it.

    Now, I have a question as to if I should use a switch or a router for my situation. I am able to connect a regular ethernet cable from my computer to a wall jack provided by my apartment for broadband internet access. My problem comes in that I want to hook up additional computers/laptops, but there is no modem provided. I was wondering if a router would be able to work connecting directly to the wall jack (which I believe is probably connected to a network itself throughout the complex)? If not, would a switch work here?

    There is also one option I thought of: can a router be connected to a router in this case and still function properly?

    Thank you for your time.

  175. Leo Reply

    It depends on your your building is distributing the internet. If your IP address begins with 192.168. it;s likely that you’re already behind a router, and can simply use a switch or hub. If you have “real” internet IP address, then I’d advise a router.

  176. cwes99_03 Reply

    The simplest answer for all the above. If you are connecting multiple computers (including game consoles) to a cable or dsl modem then you need a router. If you are already connecting through a router, then you need a switch with WAN capability and a network card in each computer. If you want wireless, you need to get a wireless router (either a,b, or g or all the above depending on what kind of wireless adapter you have on the computer.)
    Hubs should only be recommended for use if you are connecting multiple computers without external WAN access. It is also possible to use a computer to share an internet connection without a router, but you need two nic cards in that computer in order to do so (or your modem may use usb in which case I believe you can cross between usb and your nic.

  177. David Reply

    I have a router and a switch. The linksys switch user manual said to hook up this way: Internet->cable modem->router->switch->pc
    I want to hook up this way:
    Internet->cable modem->switch->router->pc

    One reason I want to do it this way is because I have a second router and hooking it up to the first router prevents VPN from working. (I guess because it’s going through two routers.) If I hook it up in the second configuration, I can hook each router to the switch and VPN will work on both routers.

    Is there any problem with doing it the second way beside not having any kind of firewall protection until the routers are reached? I plan to hook a vonage voip box to the switch (instead of the router) as well.

  178. Leo Reply

    Well, if it’s working for you, that’s pretty much your answer right there. I’m guessing you could put the router up front, but you would have to configure some ip-forwarding on the router to make your other applications work. And yes, the Vonage box will need to go as close to the internet as possible, I believe.

  179. Dave Reply

    I did some more reading and evidently if I hook up this way Internet->cable modem->switch->router->pc then the ISP will attempt to assign multiple ip addresses whereas a router has one IP address assigned and then doles out IP addresses on the other side to the various ports. A switch only has the ability to assign MAC addresses. Therefore it appears the router must come before the switch unless the ISP is wiling to allow multiple IP addresses.

  180. Aaron Reply

    We are having trouble getting internet for our house. We have 6 PCs that need internet but do not need to share files. We have one cable modem and two 4 port routers. The idea was to connect the cable modem to one router and then 3 PCs to that router, then conect the other router through the remaining port for the other 3 PCs. However, only the 3PCs connected to the first router can access the internet. Is is not possible to connect two routers one after another? Do you have any recomendations?
    Thanks for any help you can provide.

  181. Leo Reply

    I don’t recommend the router-to-router configuration. To make it work you need to turn off DHCP on the router the “furthest away” from the internet, and possibly make some other changes to it as well. The simplest is to use a hub or a switch instead.

  182. george Reply

    hey,
    i am having a problem. i have 3 three computers connected to a hub and the cable modem connected to the hub. when i tried getting online only two of the computers could and on the third a message would pop up indicating low connectivity. why is this happenning and and how can i fix it.
    Thanks for your time

  183. Leo Reply

    Your ISP is probably only allowing you two IP addresses on your connection. The quickest solution would be to replace the hub with a router.

  184. fayez Reply

    i have in my home two macine p4 and i have internet connection in one of thiem and i want to link the two machine with us to make ICS
    how i can do this??

  185. PC_Iliterate Reply

    So, do hubs have IP addresses assigned to them like switches and routers?

  186. jas Reply

    I want to connect a pc and a laptop/pc together to the internet what would be best a hub, switch or router.

    The speed is 1meg and windows xp. will the computers share the speed like 512k each or will it remain 1meg and what about dual connectors what do they do

    thanks for any replys

  187. Leo Reply

    A router. The speed will depend on what you are doing, but it will not be “split in half”, it’ll be based on what traffic is happening on your network. And I have no idea what dual connectors you might be refering to.

  188. Robert Reply

    Ok I understand the difference I think, my question to this and it might be a seperate issue. When setting up A home network from a cable modem. I bought a wireless router with 4 ports attached. I want to connect

    1) laptop wireless
    2) computer (cat 5 wired)
    3) Computer (cat 5 wired)

    Would I need to buy a hub as well?

  189. Leo Reply

    Nope…sounds like you have everything you need in your one router.

  190. Mark Palmer Reply

    I have a leftover switch that I have placed at the end of a single cat 5 line going to the other end of my house. Essentially I am trying to use it as a spliter so I can put two computers at that end of a single cat 5 run. There is a router on the other end of the house that connects to 3 other computers. Will the switch slow down the entire network or just the two computers that I connect directly to it and would I be better off putting the switch right below the router in and running new cat five to accomadate all the computers.

  191. naveen Reply

    hello sir

    i am naveen i am having a problem we have three dsl line from airtel of 256 kbps there are three floors in our office each line is connected in each floor and if we connect different different line in each floor we cant acces the data in Lan means first floor person wants to access the data from second floor so how can he access so give the suggestion for this and some related website
    ai am eagrly waiting for ur Reply

  192. Jason Reply

    To naveen,

    Well I think you would have to get a main router with 3 or more WAN ports for the internet connections (one for each dsl line) then connect the computers to the LAN lines.

  193. Jim Reply

    Hello:

    Need a little help on what to get. I am hooking up two seperate networks that will feed both audio and video I need to then hook up each network so that both can be viewed from two seperate locations. Do I need to use a router or switch for each one or can I just use one to view both? There will be no Internet connection on either network but I am concerened about the integrity of each network. I was thinking a router for each due to only having one uplink I don’t know of any other way to do it and keep them seperate. Thanks.

    Jim

  194. Leo Reply

    Mark: what you’re doing sounds fine. The only time I’d be concerned is if you were planning on very heave data transfers between either of those two remote computers and one of the others. But what you’ve described is very close to what I have in my own home.

  195. Brendan Reply

    I was just wondering if a router can make a home network connection speed faster in anyway?

  196. Leo Reply

    It can, but it’s very rare. If there is are machines communicating with each other on your local network, and they’re using LOTS of bandwidth, a router or a switch can isolate their traffic so that it doesn’t impact other machines. But 99% of the time you’d never notice.

  197. Freddy Reply

    hi should i use a hub, router or switch to connect computers on a 3rd floor to computers on the 1st floor, i am also wanting to run a web server with a pemanent link to the internet

    Thankyou
    Freddy

  198. Leo Reply

    Has very little to do with the floors – it depends more on the number of computers and how much traffic you expect, and what kind.

  199. Freddy Reply

    well i own a mobile phone shop and want to connect PC’s together for account purposes (7 to 10 PC’s

  200. Leo Reply

    Sounds like simple setup very much like that outlined in the article. Use a router to take in your internet, and then if you need to add more ports, use a switch as well, and you should be fine.

  201. S. Watson Reply

    Hi, I have a Lynksys broadband router that has the typical four LAN ports to connect four computers on the network. If I want to do some LAN gaming with more than four machines, can I connect two routers? Connecting two routers with a standard ethernet cable did not allow the two groups to “see” each other. Do I need to connect the routers with a crossover cable? I want to avoid doing things wirelessly, so any help would be appreciated. Thanks

  202. Leo Reply

    S. Watson: you really want either a hub or switch to extend your network when you already have a router.

  203. David Fowler Reply

    Good Info, but I still do not understand why the
    Hub I got on Ebay ( 3Com 100base-tx hub for small
    networks model-3c16722 ) would not work on my older 1998 compaq w/ windows 98 but works fine
    with newer Hp vectra w/ windows xp pro sp2 on it.
    Both computers work fine with the Westell Wire-
    speed dsl modem by their selves…Is the Compaq
    too slow or is the Nic not going fast enough??

  204. Leo Reply

    My guess would be that your older computer has a 10mb ethernet port, and that the hub only supports 100mb. I’d check the capabilities of both.

  205. Marc Reply

    I’d like to know if a person loses alot of connection ping when using a router. I’m using a wireless router and a wireless network adapter for connecting to XBox live. I don’t seem to get a very strong connection to the XBox. I was thinking about connecting direct to the XBox. Can I just remove the XBox network adapter and hook it up direct , using my wireless Base Station as a straight router? This won’t cause any conflict with my main computer will it? I just want to get into some serious gaming, with a stronger ping. I’m using a Microsoft wireless base station.(G) not (B).

  206. Charles P Reply

    Great site!!

    I have a home network configured as follows:

    Cable modem TO
    8-port Router TO
    5 Ethernet Ports (RJ-45) and 1 Wireless Access Point

    I’d like to make two printers accessible to computers on the network at all times. However, the room in which I’d like to place them has one ethernet jack and already has a computer.

    Based on your site, I think that one solution in this room is to plug a switch into the ethernet jack and plug the computer and a print server into the switch and the printers into the print server. Thus:

    Wall ==> Switch ==>
    PrintServer ==> Printer
    ==> Computer

  207. Charles P Reply

    Sorry about the Garbled message earlier. Hit the “tab” key and hadn’t realized it until it was too late. Please ignore my attempt to graphically depict my arrangement.

    My two questions are:

    1. Will the arrangement I described work?
    2. Does the wired arrangement with a switch/print server have any advantages over simply attaching a wireless print server to the printers?

    Thanks for your help!!

    Charles

  208. Leo Reply

    Plugging a switch, or even just a hub, into the ethernet jack and the other devices into that hub/switch is how I’d approach it.

  209. Leo Ferns Reply

    I have a cable connection going into my modem which then goes into my Linksys wireless router. Due to different statements made by different representitives of my ISP I recently ordered four static IP addresses. I now realize that since I am only connecting to the Internet (and nobody is connecting to me since I dont have a server or anything of the sort) that I only need one IP address and that the router will dynamically issue IP addresses to all of the computers hooked up to my router. The problem is that when we use my 3Com router through wired ports all three computers can access the Internet but when we use the Linksys wireless router we cannot access the Internet. I understand that the wireless device (in this case hooked up to an xbox 360) will be primary since it connects to the wireless port on the router first, and then all three of my computers that are hooked up to cable ports in the wireless router will draw 2nd, 3rd, and 4th. What should I do to get all four devices connected to the Internet? My son really wants to use that xbox 360 online but I am not able to get a cable to it so we must use the wireless for it and the cable for the three computers. But, again, we have not been able to get online with the wireless router from any device when it is hooked up. Sorry for the long set-up and for jumping around so much but its late and Im tired. Any help you can give me would be much appreciated. :)

    P.S. I still have all four IP addresses and my ISP says it is the routers fault because it should be assigning dynamic IP addresses and Linksys says I should get the static IP addresses from my ISP and enter them manually… in effect they are blaming each other…but maybe it is I that should be blamed??? :)

  210. Leo Reply

    Well, in a sense they’re both right.

    The WAN (Internet) side of the Linksys needs to be configured to use one of the static IP addresses your ISP has assigned you. Different models have different interfaces for this, but on my Linksys that’s on the “Setup” screen of the configuration UI -> internet connection type is “Static”, and you must fill in a bunch of information relating to your static IP manually.

    On the LAN (local) side of the Linksys, it needs to perform “DHCP” which is the protocol that hands out IP addresses to the local computers. On my Linksys’s UI, that’s on the DHCP tab, and you simply need to make sure that’s Enabled.

  211. Louise Reply

    Hi, first and foremost what a great site, but I have a question…
    I currently have a cable connection that is connected to a linksys wireless router. The wireless router has a hub connected in the uplink port on the router. When looking at the router DCHP table, I can only see the wireless connections, but not any of the PC’s connected to the hub nor the single PC that is connected directly to the router. The router has 4 ports but I am running at any given time 6 different PC’s some wireless and some not. So, based on this configuration my questions are as follows.
    Is there a better configuration that I could use so that I can see all of my connections?
    And from time to time, i am getting slow response or disconnected from my wireless connections, is the configuration contributing to this?
    Thanks any help would be greatly appreciated!

  212. paul Reply

    can I connect a cable modem to the uplink port on my hub,then connect pc #1 to port 1 and pc #2 to port 2 (on a 5 port hub) and get internet on both computers.
    in return being able to use the internet on both computers at the same time?
    please help (could you email your reply)

  213. Steve Reply

    Thanks for explaining difference between hub, switch & router. That brings up a couple of other questions. I’m about to sign up with a satellite internet service, My son & my neighbor who are on either side of me want to share the cost of this service with my wife and me. I had planned that the four computers would be connected to this service via a four port router. None of us wants to share what is on our computers. How can we block access to our individual computers? The second question has to do with the distance a signal can be carried on the CAT5 cable. I’ve read the max distance is 328 feet. Is this per cable from my router or is it collectively (my son & neighbor are about 200′ each from my wife’s office where router will be located and my office would be about 75′). thks, Steve

  214. Leo Reply

    The CAT5 distance limit is per cable.

    The security issues … well, it depends on how paranoid you want to be. Normally, when you’re behind a router, I advise people to turn off the Windows Firewall. In your case, a very good, basic and free approach would be to turn ON the Windows Firewall anyway, and make sure that File and Printer Sharing was turned off. That’s a fairly reasonable level of security. Not perfect … well, nothing’s perfect … but reasonable. It’s what I’d do :-).

    Stronger security would, I believe, involve a more sophisticated router that would give you much more control over what types of network traffic is allowed to go where. This gets really ugly really quick, and people make careers out of cofiguring these things. But some level of additional hardware or more advanced hardware would be required.

    (Of course everyone could have an additional broadband router, and that would be secure and work for simply email and web browsing, but other things could break. That’s this article, if you’re interested: http://ask-leo.com/what_is_double_natting.html)

  215. marty Reply

    hi, your posts didnt leave very sure. so a router is the only thing you can use to connect a lot of computers together to a single modem? or can a switch do that too?

  216. Leo Reply

    A switch can, but it will only work if your ISP provides multiple IP addresses. AND you will not get the protection of being behind a NAT router.

  217. hiral Reply

    hub is operated at half duplex mode n by default in hub loopback ckt is on so possibility for collision.
    In switch it operate at full duplex mode n by default loopback ckt is off but it has one internal s/f called AASIC is on so no chance for collision.
    n Router is networking device used for connectiong diff networks.

  218. bounty Reply

    I want to start a web server, so that it can be accessed from all parts of the world. I have an IP adress which is given from a VPN( I dont know whether it is STatic or Dynamic IP). So can i start the web server using this IP ad what are the requiremnts. Please Help me in this regard.

  219. Regan Rajan Reply

    Yesse, u asked “Why doesn’t everybody use routers instead of hubs?”
    The answer could be just one, the “Cost”. Hubs cheapest while Routers expensive. People buy this network things based on their spending capability and minimum needs.

  220. SpecialSauce Reply

    Routers are only mysterious until you find good instructions. Try locating your specific model at this address for info on firewall setup and good stuff like that. Spend the money and get a router…it’s for the best.
    http://www.portforward.com/routers.htm

  221. kentilla Reply

    the easiest way i’ve always looked at it is that a hub and switch operates within a network and a router connects two networks (usually the lan and internet); its a little more complex than this in pratice but thats generally how it works

  222. iz0n Reply

    I have an internet connection thru satelite, can I use it on 3 computers all in the same time? I have a cnet switch but when I tried to network it thru the switch it only gets directed to the providers site and keep asking me for password for each pc. I had luck once when I put an extra lan card on the server, the built in had the net connection and the other to the port but when I plugged it to the switch it did not see it but when I plugged it on another pc it can surf the net. I also used a straight to cross connection for the two, does the wiring also affect the conectivity on any of the pc, switch or the IP’s? do I need a router for this?

  223. Geek Husband Reply

    Excellent explanations! Very thorough.

    I have a cable modem and a switch with 2 computers on the switch. I want them both to have cable internet. Can i use a switch or do i need to purchase a Router in order for both computers to get internet connectivity? My friend insists I don’t need a router and that the switch should be assigning individual IPs. My research into this is leaving me doubtful of my friend’s networking understanding. A regular E cable has been used between the modem and switch as well as a crossover. One computer gets internet and the other does not. Would a switch/router work better, if they exist? Thanks!

  224. Leo Notenboom Reply

    It depends on your ISP. THEY are the ones assigning IP addresses … if they’ll assign more than one, the switch will do. If they’ll only assign one, then you need a router.

  225. james Reply

    i have two pc at my home , i want to connect them , but with out using any networking device, like hub ,switch ,etc ,plz reply thanks

  226. Jason Reply

    James – Assuming both PC’s have an ethernet card installed, all you should need is a Cat 5 Crossover cable.

  227. ZeL Reply

    It is possible to connect 2 PCs with one hub. To do this you need to NICs(Network cards) in your main PC. It now acts much like a server. I am using this setup. Server being my main PC. Although im not using 2 PCs. Just 1 PC and my Xbox360. [ISP -> Server -> HUB -> Xbox] Works fantastically. My problem is in order for my xbox to stream media from my pc i need to open certain ports. and i dont know how to do that.

  228. MaryBeth Reply

    On my home network, I have 4 computers/devices that must be wired, 4 that I connect using wifi, and 2 laptops that can (and must be able to) use both wired and wireless connections. I am looking to add a Mac Mini and and AppleTV, and I’d prefer to wire them, though they are capable of Wifi.

    I’d like to secure my network, especially the wireless components. Trouble is, everytime I fiddle with the wireless router settings, everything goes haywire and my network goes down. I think it’s b/c I don’t have my network set up in the best way to begin with. Right now, my cable modem feeds into a wired Linksys 4 port router and that feeds into a wired/wireless D-Link 4 port router. The various wired devices are actually plugged in to both of these routers.

    What do I need to buy to simplify this set up and allow room for expansion? I think maybe a switch, but I’m really not sure.

    Sorry if this was asked and answered already, but I couldn’t make it through all the comments.

  229. a router is the best Reply

    i love a router just bcos is the fastest means to the internet and is the most dependable source among all other networking device im rabiu mobolaji from nigeria a computer engineer t5hanks

  230. Sean Morry Reply

    I am on the fifth floor and there is a linksys g router on the first floor. I bought a second exact same one for the fifth floor and I ran a 100′ cable to downstairs through the floors OK, tested the line is 100Mbps when directly plugging into my laptop. I just can’t get an IP, how do I get an IP seperate for the second one upstairs now if you have to or not, I read that your not supposed to hook up a router inside of another router because you cause something called double NAT’ing unless you supposedly change the IP range on the second one somehow? It’s not working, I just want to plug in a second router and use it as a range booster for the first one without having to have a second computer upstairs. I’m supposed to use a DHCP assigned IP address or something. Why isn’t this working and why do I even need a second IP number for it? Shouldn’t I just use all the same settings for both linksys routers? WAW?

  231. Nasir Reply

    I’m trying to setup a network for a small office that consist of 20 computers. I have 1 DSL line already installed. I have a Router ADSL, a hub and also another router which in installed to strengthen signal for remotely located computers. We do have a server in the factory which is not operational yet. We will soon host a web page in it for external suppliers to have access over our data. My main issue is the subnet, i would like to know how should it be done properly, so as to permit the remote computers to have access to the computers connected directly to the hub. Thanks for you reply. Questions are welcome.

  232. sue Reply

    We have an 8 port Linksys wired router in one room, connected to cable modem and various computers, voip , and 2 gaming systems. In our office I would like to add a Dlink ethernet hub to be able to connect a mac and windows box to the network.

    Thought I could just plug in the hub with a patch cable to the hub’s upload port and to the ethernet jack going to the router, and then just plug in the computers to the ports on the hub. Did not work. The windows computer could not connect to the internet.

  233. marinus lutz Reply

    My apologies if i’m cross-posting or off-topic here…
    I think the subject of routers, which of them have good hardware firewalls [do they all???], and, most of all, which brands are best for malware protection, needs addressing.
    I’m using “only” a software firewall [Online Armor], Sandboxie, AntiVir, Threatfire, HiJackThis, BOclean and AVG antispyware yet i still get virusses, mystery service dropouts etc. So, tho i’m supposedly an Advanced User, it doesn’t much help. I don’t want to, but i’m thinking of cancelling my home isp service- it’s scary and gradually getting scarier!
    What am i saying? Even tho you identified internet security as your single topic I think you should still increase your coverage. Since information on hardware routers is sketchy and dense [it seems an especially nerdy subject], i’d really love it if you answered my above questions.

    Thanks for your time.

    M. Lutz

    Skeleton walks into a bar, orders a beer and a mop.

  234. J Cook Reply

    re: your comments that a switch can “learn” where particular addresses are: is the “learning” process a matter of seconds or hours?

  235. Leo A. Notenboom Reply

    —–BEGIN PGP SIGNED MESSAGE—–
    Hash: SHA1

    Depends on the network traffic. As soon as the switch sees
    traffic coming *from* a particular IP address it then knows
    which port that IP address is located on.

    Thanks,

    Leo

    —–BEGIN PGP SIGNATURE—–
    Version: GnuPG v1.4.7 (MingW32)

    iD8DBQFHjSusCMEe9B/8oqERAtAJAJ9BRZeug9jMTMsoYks3i2tXQSAbVACeOz+r
    b5BD3fhNEoL8wo8PRWqqyuo=
    =zD+c
    —–END PGP SIGNATURE—–

  236. farhana Reply

    Its a wonderful description of the device.I think its worth mention the differences and on which layer the devices are applicable.This will provide the reader with more precise view of the device that a lay person can understand about the devices and its functionality.

    Thanks

  237. Matthew Reply

    Thank you so much! I’ve spent hours trying to reassign an IP address to one computer or the other in my 2 computer “network” because only one can connect to the internet at the time. There are tons of websites about this and I had no luck at all. Then I stumbled across your site and found the problem to be most simple. I have a hub and not a router! Therefore, I’m simply not going to be able for both to be online at the same time. Simple enough solution – go buy a router. I’m glad you had my solution. You saved me from pulling out my hair and strangling myself with it. :)

  238. Guillermo Reply

    The main difference is that the Hub is half duplex and the switch is full duplex….

  239. Tony Reply

    I currently have my machines (XBOX, Gaming PC, and Storage PC) running through a switch into a router, and the rest of my families machines (a further 3) are plugged directly into the router. One of my dads friends tried to tell me that with the switch I should be able to get my full bandwidth on all computers. Is this possible/legal? My understanding is that you have a certain amount of bandwidth and the hardware will grab what it needs for the application, when that exceeds the bandwidth you have that creates latency. I would like to disprove or appologise, either way cheers for your time.

  240. surender Reply

    In router how many interfaces we can create?

    how to configure a new cisco router ? by step step

  241. Otto Reply

    It means you can only use a switch to make your network work faster, rather than a hub.

  242. nchindap joel konse Reply

    Do you imply that if i use only a hub to connect to the internet i might have less firewall protection.

    Absolutely. A hub (or a switch) provides no firewall protection.

    -Leo

  243. Tabatha Reply

    We just recently got dsl at our house and have 2 computers and a Playstation 3 to use onine. We want to be able to use all of these or at least 2 computers online at the same time and I have been advised to go get a hub or switch instead of a router. Im extremely confused about all of this. Ive read tons of stuff about hubs and switches and routers and how they different. I did read your article and it was a little bit easier to understand but i am still very confused. We have 3 people in our home fighting over one computer and one dsl box. So what would be the best thing for me to buy and is a switch basically the same thing as a router? I want to be able to do all the same things i do now, without it slowing down and stuff. I need advice terribly, i have asked everyone and no one will give me a good answer. If someone could please help me I would greatly appreciate it!! Should I buy hub, switch or router? to simplify it…my connections speed is 1.5mbps (100mbps) normally.

    Thank you

    Not sure why someone would tell you not to get a router, unless your DSL modem is already acting as one. A router of some sort is the way to share an internet connection. I’ll point you at this article: How should I set up my home network?

    - Leo
    20-Nov-2008
  244. sanjay yadav Reply

    Re: What is the Difference between Hub and Switch?
    Answer
    # 1 HUB
    1. Hub is a Layer 1 Device
    2. Hub is not more intelligent device
    3. Hub does not reads the frame
    4. Hub provides the always broadcasting in the network
    5. we cannot configure Hub
    6. In Hub the rate of data transmission is slow
    7. hub is a half duplex device
    8. the rate of data transmission is divided in hub
    9. hub does not provide packet filtering in the network
    10. hub is a single broadcast domain
    11. hub is a single collision domain
    12. Hub does not create any table

    SWITCH
    1. Generally Switch is a Layer 2/ Layer 3 Device
    2. Switch is a more intelligent device
    3. Switch reads the frame
    4. Switch provides conditional broadcasting in the network
    5. we can configure Switch
    6. In Switch the rate of data transmission is fast
    7. Switch is a full duplex device
    8. the rate of data transmission is not divided in Switch
    9. Switch provide packet filtering in the network
    10. Switch is a single broadcast domain (By default)
    11. Switch is a separate collision domain
    12. Switch creates a table that Table is called switching
    table

    Re: What is the Difference between Hub and Switch?
    Answer
    # 2 HUB

    1) It is non intelligent devices.
    2) Half duplex devices.
    3) Send or receive the data at a time.
    4) Single collision domain.
    5) Single broad cast domain.
    6) Layer1 devices.
    7) It is connected small network.

    SWITCH

    1) It is intelligent devices.
    2) Full duplex devices.
    3) Send and Receive the data at a time.
    4) Single broad cast domain.
    5) Separate collision domain.
    6) Layer2, Layer3 devices.
    7) Large no of port compare than Hub. It is connected
    large network.

  245. jay Reply

    hi sir leo??what is the best to use in internet the dynamic or static internet connection?

    Depends entirely on what you’re trying to accomplish.

    - Leo
    12-Dec-2008
  246. farad Reply

    If you have multiple pcs in your house the best way to connect all this with out any effort is to purchase a wireless router. you either need a DSL router or Cable. you connect your modem to router and from router u make one wired connection to set it up. on other computer to get wireless just purchase a wireless adapter usually

  247. henkisdabro Reply

    Hello Leo!

    I have quite a question for you! I am lucky to be connected to the Internet via a Fiber cable, offering me a 100MBit/s download speed and 10Mbit/s upload speed from/to the internet.

    I have run a local speed test (bredbandskollen.se) which gives me a speed of roughly 94Mbit/s download speed when connected directly to the LAN outlet in the wall. As soon a I connect one of my routers to the network, routing that internet connection to my computer through it, the speed drops instantly to about 35-40Mbit/s! That feels like an enourmous drop in speed.

    How should I share this internet connection in my house and maintain maximum bandwidth? Obviously the router eats more than half the bandwidth as of now.

    Thanks for your input in this matter!

    You may end up having to invest in a higher quality (and higher cost, no doubt) router. Most consumer routers aren’t expecting a 100Mbit WAN link.

    - Leo
    22-Dec-2008
  248. henkisdabro Reply

    Do you have any routers you’d recommend in that range that would do the trick?

    Sadly, no. It’s not a space I play in. (Wish I did … I envy your 100 megabits :-). Typically one thinks fo Cisco, but that’s as far as I can take it, and I know there are many others.

    - Leo
    23-Dec-2008
  249. Diego Reply

    i was taking a cisco(router, switch hub etc) class, but i dropped it because it seems all networking jobs are offshore, do you think it is still possible to make a career as a network Tech in the states? thank you

    I would think so. There’s still a ton of networking equipment in the U.S. that needs technicians.

    - Leo
    02-Jan-2009
  250. Adam O'Rourke Reply

    Thanks alot for this, you sumerised it perfectly with the word intelligence, or lack therof. Much confusion over this question. Thanks alot Leo.

  251. nanojedi Reply

    how are IPs destributed to the computers by routers, hubs, and switches?
    I have a modem at home with one internet plug but provider says i have possibility to have two dynamic IPs in pararel and for that i have to use kind of switch. I dont get it. Because to the switch or to the router I could connect 5 or more computers. Which of the computers will get which IP?
    Thanks for the answer.

  252. rauf Reply

    Hi,
    Iam not able to routing in ospf and eigrp protocols plz help me

  253. degil omictin Reply

    i owned prolink adsl2+ modem/router locked to my old isp. i changed my connection to a new one and wanna use the router… but i can’t. can you help me make use of this old router of mine? please…. really need help.

  254. Steve Reply

    I have a friend that has 5 computers in a network. Currently we are using the 2Wire HomePortal 2701HGV to connect 4 computers to each other and the web. My question is how can we connect the 5th with a lan cable to this configuration. Do we need a Switch, or a router? One computer is a file server for Quickbooks so we need all 5 computers to be able to see each other over the network and be able to access the internet independantly of each other. Also it would be good if we could plug a networked printer in the jumble to. so maybe an 8 port switch im thinking but I dont know if that will work. What about if we just used the 2 wire 2071 single port modem, if you plug that to a switch will it work the same????? Any help would be great. Thanks Steve.

  255. Justin Reply

    Hi Leo,

    I’m a student, i still getting confuse of what is the different between hub, switch and router. i though that i can connect a hub to a router? is it ok to do that? and is a hub is the same as switch?? what i mean is, can i put this hub and switch together???

  256. Brandon Reply

    Hi, i have a d-link router and when i try to play my games on line it says that i have a fw (firewall) i have turned off all fw’s on my computer and i tried portforwarding. I don’t know what to do, do you think it would be easier if i bought a switch? Please advise thanks Brandon

  257. rg Reply

    @Steve
    Connect the 2 wire 2071 to a switch. Connect all else to the switch using ethernet cables . All should seamlessly work!

  258. Ratnam Reply

    hub is a passive device .
    switch is actvive device and it is a intellectual device.

  259. Malik Muhamamd Mehran Reply

    switch and routers are intellignet device unlike hub. they deal with the data in intelligent way by knowing the IP addresses but the hub is ignorant of that.

  260. Malik Muhamamd Mehran Reply

    Q :hub and routers can be connected?
    Ans: that right we can connect the hub and the router but purpose of their connectivity is different. if you wanna to connect different computers and wanna to treat them all in this way that no one is prefered or identified so use hub, if you want to transfer data to a single computer that is identified by IP address then i will suggest you router.before router u can use hub.

  261. Malik Muhamamd Mehran Reply

    Q: hub and swith can be connected?
    Ans: the case of connectivity of the router and the switch with hub is same which is described above.

  262. Ariel Reply

    Finally …. simple answers.

    I browsed many of the question (but not all) and it still looks my question is slightly different then many of the other question.

    My network is very mix; I have machines running wireless, machines connected directly to Fios router and some machines (Xbox) that are connected via powerline extension.
    All works just fine (as far as I can tell).

    Now, my powerline extensions are connected to my media center where my Xbox is located. I would like to “split” the connection in share it with other devices there. For example:
    Blue Ray DVD player have a network port to get information from the web. A TV can also have a network port so it can connect say to Netflix.

    Those are more devices then computers. In those cases, what should I be installing next to the media center area? A hub or a switch?
    Sounds like I can go with a hub as those machines typically don

  263. Nick Reply

    Well, as stated in the article, it depends on what devices are going to be connected to the device. If you are looking for speed, I suggest you get a switch. If you are looking for price, I suggest you go with a hub.

    Hubs can run you anywhere from five dollars (USD) to twenty dollars (USD). The price depends on how many ports the device has along with what brand it is.

    Switches can run between fifteen to several hundred dollars. Once again it all depends on the brand and how many ports it has. A simple four-port switch can run you between fifteen and twenty-five dollars.

    In your case, since you aren’t using network-extensive devices or have 10+ computers/devices on the switch/hub, I would strongly recommend the hub. Sure it’s not as smart or as fast as the switch, but it’s cheap and gets the job done. I personally believe you won’t notice a difference in network performance between a hub or switch with those devices connected to it.

    By the way, be sure to check all the ports on the hub or switch you get. Sometimes they will come with a dead port. In most cases, you can return the device to the manufacturer who will, or should, replace it for free. You will have to pay for shipping, however.

  264. Nick Reply

    Also, I have read above that many people question if a hub and/or switch can be connected to a router. Well… they can. You can connect a switch to a hub, a hub to a router, or a switch to a router. This is how many large networks connect all of their devices to the internet. They usually have a single router with several switches attached to it which have switches of their own, and so on. Usually the computers themselves are connected to a hub that connects to a switch. Of course it all depends on the amount of network-requiring devices. You don’t want 50 switches for 50 computers is what I’m saying. Maybe like 5 switches (one for every 10), or something. Maybe even less. It all depends on how fast the connection needs to be and how much money the IT department has lol.

  265. Mohd Yunus Reply

    what is the basic security settings we can apply for routers and switches? some sort of security checklist to check whether this devices comply or not.

    That would be this article: How do I secure my router?

    Leo
    29-Jul-2009

  266. Steve Reply

    I have a Pentinum 90 Mhz running Win 98SE and new
    Compac laptop running Vista Home with a RJ-45 crossover cable connecting the two. They won’t talk to each other. Will a switch or router solve the problem.

  267. Jim Reply

    OK, my question is simple I am still confused. Why would I use a switch over a router?

    When you don’t need (or want) a router’s “smarts”. Switches are most commonly used in addition to routers (and instead of hubs) to increase the number of places to plug in devices.

    Leo
    24-Aug-2009

  268. rajvinay Reply

    i am having problem with my network.
    problem is my modemis wimax which can be connected directly to a computer with rj-45 cable
    now i want to share this internet with other computers what to do now?
    here the main problem is for this the ip address will be changed for every 20 seconds
    a single computer connects with an option obtain ip address automatically
    what to do now
    a router will help or ethernet switch

  269. temwa Reply

    But you have not indicated that we also have layer 3,4 and 7 switches which can in some respect replace routers. They are even smarter than routers.

  270. sandip Reply

    1)Hub is a broadcast unit .Hub is take a data and sending to all conneted networks but
    2)Swich is unicast sending data only one machin to connected switch

  271. BobR Reply

    I have a very interesting setup that I am working on for a client right now. We are located in a very remote part of the world and the client has purchased the fastest speed available in the region – a 512K dedicated line (for $3,000 a month mind you). The client has a network of about 25 users. They are experiencing very very slow internet load times (slower than one would expect even if the slow connection is shared over 25 computers)

    Their current setup is as follows:

    The DSL modem is connected to a switch provided by the ISP which is then connected to a 24 port switch, which is then connected to a wireless switch. Most computers are connected directly to the 24 port switch and a few connect to the linksys wireless access point.

    Does this setup seem reasonable or is there something else we can do to speed up the internet?

    Thanks

  272. mockelz Reply

    how much the equal distribution between the hub and swither?

  273. BobR Reply

    Well,

    The large switch is full and the wireless hub has about 5 laptops connected plus a few desktops. The first switch after the modem only connects to the second large 24 port switch

  274. Eric Reply

    Quick question. So, disabling the DHCP server on a router does not effect the router’s switch capability?

    Thanks
    -Eric

    It shouldn’t, but as always it depends on the specific router.

    Leo
    01-Nov-2009

  275. Nina Reply

    Thank You Leo!! I am having problems with all the terminology in my networking class. Once again you’ve answered my questions beautifully! I appreciate your simplicity with such complex issues. I finally understand!

  276. Austin Reply

    hello,
    Iam having problem with my network class,is a network of 11 systems where the first serve as a server unit& running window XP, the remaining 10 systems (6 desktop, 4 laptops)all wired network.
    the 6 desktop always run extreemly slower anytime other laptops are being uesd.
    My networking connection is modem from the ISP is connected to a 24 port switch,and all the 10 system connected to the switch.
    please i can i set up my connection for all to be browsing at the same internet speed

  277. Rajvir Reply

    COMPARE & CONTRAST the use of the following networking hardware:

  278. sudu Reply

    What’s the difference between a Hub, a Switch, a bridge, a gateway and a Router?

  279. Richard Reply

    I concur with Nina – nice job on articulating the differences between these devices in an accessible way.

  280. Dapinder Arora Reply

    Excellent explanation! Really appreciable. It explains the most real to world and practical meaning.

  281. Pawan Sharma Reply

    Excellent explanation of these three terminology.Everyone will understand this.

  282. victoriamsangi Reply

    i have read the comments and am sugesting that mr. Leo is doing his best . The main reson that you can use a hub is when you have unsecured network

  283. Tom Reply

    I really loved the way you’ve explained the terms.. Thanks..

  284. Jeff Belt Reply

    I have a broadband router for my network. For your article it would be good to note whether adding a switch for additional network devices is sufficient, or whether the intellegence of an additional router is an advantage. (I’ll check your “Related” link.) Thanks.

  285. dodzi Reply

    good explanation im doing IT in school and you made things a lot easier for me,thanks

  286. EMMANUEL AJOKU Reply

    PLEASE, IN NETWORK INSTALLATION WHICH OF THESE EQUIPMENTS ARE INSTALL FIRST, SWITCH OR ROUTER. PLEASE EXPLAIN.

  287. Dan Royce Reply

    I have a token ring of 11 workstations, and a IBM AS400e server in my shop. I took a lightning hit damaging my hub, and now I cannot get all workstations up, with a new HUB, and I even tried a switch. I have 4 stations working, by running them through a temporary connection out of the server, via parralel plug, into a junction connector, then to the “host” port of the hub. I then run each cat 5 cable out of the few working ports. Any ideas why a new hub would not work?

  288. robby Reply

    Thanks for the help, work with computers all the time just didnt know the difference between a switch and hub, very nice and simple.

  289. maha Reply

    its really helpfull for me especially in my studies. i got a lot of information through dis article thanks for providing us info. i want more info related to networking kinldy send me on my id thnx

  290. GAry Reply

    i have a swicth can i use it to connect my 4 comps to the internet???

    Depends on your ISP, but probably not. Normally you need a router.

    Leo
    25-Jun-2010

  291. Elavarasan Reply

    Hi,

    I am new to Router Install, Configure and Maintaining it. Please tell me the basics of router install, configure and maintains

    Rgards
    Elavarasan

  292. ndapandula Reply

    its really helpfull in my study, what i want now, i just want to see it.

  293. Prabhulal Jangid Reply

    This information is useful for fresher engineer but not enough.

  294. varun Reply

    Prabhu you are gud talking man!!!
    but this is the basic info that a fresher engineer needs, if you want more anyhow you can search on google..(may be on Cisco site)
    but this is more concise and very basic concept that Leo has defined.. thanx in advance

  295. varun Reply

    Leo I have one question…
    How we can Make our own routers for Project in College.. is it more typical.??
    I am last year computer science graduate…

  296. George Hassoun Reply

    1)Hub:-The job of a hub simply is:anything that comes in one port is sent out to the others.
    2)Switch:-Pay attention to the traffic that comes across it,ex:sees traffic from mashine A coming in on port 2,it knows now knows that mashie A is connected to that port and that traffic to mashine A needs to only be sent to that port and not to any of the others.
    3)Router:-Think of it like a computer that can be programmed to understand,possibly manipulate,and route the dataits being asked to handle

  297. Avinash Reply

    thanks Leo…for the answer..Clarity in the answer helped me to understand the basics.

  298. Joe Reply

    mbs = milli bit second
    Mbps or Mb/s = mega bits per second

  299. karan Reply

    Sir, i am very confussed.
    whats is mainly difference of the hub, switch, or Router. please answer properly

  300. Milind Reply

    I have two questions:
    1) I use Internet Connection Sharing using two NIC cards. For this I need the master PC switched on, always. I have one IP (with one connection). A hub/switch costs less compared to a Router. Can the hub allow the slave PC connect to internet when master is OFF?
    2) I have one XAVI Tech. Corp. X7721r+ router that has WAN and Ethernet ports. Can I use this for the slave PC (I thought of using a parallel socket, connect master PC directly, and the slave thru this router)
    My son uses the slave PC and I don’t want to spend too much and at the same time I don’t want my PC to be put ON, when I am away.
    (I came to this site looking for differences between the equipments, but could not make out and hence this post)

  301. elibey Reply

    SIR,is it true that to say router interconnect network,but switch or hub interconnect PCs.
    PLEASE WRITE.JUST SHORT

  302. Harald Reply

    I have a 4 port linksys wireless router. What can I add to this router to expand my ports. I need another 2 for network printing (eithernet)

    A hub or a switch.

    Leo
    04-Nov-2010

  303. Mike Reply

    I’m wanting to cite you for some research. It would be nice if you dated your posts.

    All posts on Ask Leo! are dated, just below the related links at the bottom of the article.

    Leo
    04-Dec-2010

  304. ItsaStart Reply

    I have a 16 port d-link switch that will only work behind my linksys router, but not when hooked directly from the modem…is this normal, or is there something wrong with my switch?

    It depends on what your ISP provides, but yes typically a router is required.

    Leo
    13-Dec-2010

  305. techwhiz Reply

    can we make a switch by using hub?

    No, a hub is not a switch. Please read the article you just commented on.

    Leo
    02-Jan-2011

  306. Lucas Reply

    Could you clarify what you meant by “It depends on what your ISP provides, but yes typically a router is required” when someone asked why their switch only worked after a router in the chain? I’ve got a d-link 4-port gigabit switch that I got for my xbox, but I can’t chain it after my router due to my Airport Express having zero Ethernet ports. Using this setup, it seems so far that only one device at a time can get a signal from the switch–the switch’s activity lights are on, but nothing comes through. Based on the article, it sort of sounds like the guy at Office Depot was pretending to know something he didn’t know when I asked him if this setup would work before purchasing the switch. Anyway, am I just screwed, or is there something Comcast (or me) can do for me?

    If your ISP provides you with only one IP address then a router is required to share that IP address with multiple devices. If you don’t use a router then typically only one device will work at a time (or all devices get really, really confused). If your ISP provides multiple IP addresses then you can bypass a router as each device is directly and uniquely on the internet. Most ISPs do NOT do this by default, and charge extra for it when they do.

    Leo
    21-Jan-2011

  307. Nagesh Reply

    Nice article, thanks.
    I have two questions. I will start with the dumber one.

    How does one physically differentiate between a router and a switch ? The device I received from the ISP has a telephone jack where a cable from the ‘splitter’ (itself connected to wall telephone jack) connects to. As output, it has an antenna for WLAN and four network (RJ-45, I think?) ports. So, is it a modem+router+switch ?

    The other one is based upon reading Fully switched networks * . If the switch is not as intelligent as a router, then how come a network can be fully switched ? Or, would a fully switched network eventually connect to a router ?

    * Not sure, if the URL made it : http://computer.howstuffworks.com/lan-switch5.htm

  308. Kate Reply

    We have a cisco switch at the end of our network connected to the wireless router connected to the modem. Our WAN is consistent but our LAN drops frequently. Nothing about the network has changed re: set up or provider, yet the dropping is becoming more of a problem as time wears on. Do you think we have a switch issue? Any suggestions?

  309. soul Reply

    hi there, my gigabit modem router connect to a gigabit switch, but consistently drops, i get

    The TCP/IP NetBIOS Helper service was successfully sent a stop control.

    The reason specified was: 0×40030011 [Operating System: Network Connectivity (Planned)]

    Comment: None

    when i connect, i look at the lights on my switch and it looks like it wants to connect but dorps. the port thats connected to the router is not solid also, if i connect directly to the modem router it connects fine, im thinking maybe it have something to do with making the modem router to go to “fully bridge mode”, not to sure.

  310. Feliza Reply

    I have a LAN which is connected to a router. My Internet modem with inbuilt router is now connected to this router. this router has a wireless capability, and i want users to connect to the internet using the wireless functionality of this router but i do not want this wireless users to have access to system on my domain or any other system on the network. how do i achieve this?

  311. Praveen Reply

    I think according to the question i understood is one should’t have access to the system over a network.there are two options
    one is disable the sharing feature on what system you don’t want to give access even the resources like printer
    second is domain.
    In a domain using the username and paswd any one can log into any system so if the router that is a system then i know how to stop simply changing permissions to login will stop access but if in case of routers, configuration has to be made through commands using some interface.

  312. charles Reply

    Hi . thanks for the article. There is a small typing error in your html code on the section of a router and i quote “Most devices now are capable of both 10mps (10 mega-bits, or million bits, per second)” you types 10mps instead of 10mbps. Just an error i’m afraid might mislead a novice. thanks for the article. rather dont publish just correct.

  313. divya phalke Reply

    i like the conceptual explanation.
    Also complexity level of all is cleared.
    i was unable to understand diff.bet. hub & router but thankxxx i got diff.
    thanks really

  314. Sanjukumar Reply

    I have a DHCP Broadbank Wi-fi connection, I want to share same internet speed to all the system., now for the first IP-192.168.1.2 if I connect only to single system without hub the actual speed will come, if I share to hub or switch speed will share to half. Is the way to share same speed all the systems?

  315. Jitendra Kumar Reply

    Hello Mr. Leo
    My question is , let’s consider I’ve 2 internet connection from 2 service providers. Can I connect both to a single router and enjoy the sum of both connection speed from that router when only 1 PC connected to that router?

  316. ERICK LAIGONG Reply

    if i have 1 decorder and several screens,and i want to watch various and different channels,on different screens,what should i do?.

    I have no idea – what’s a “decorder”? This article is about computer networking, not about screen management. The later depends on the specifics of the equipment you’re talking about.

    Leo
    06-Oct-2011
  317. Jerry Reply

    Hello, I have one PC amd I use wave broadband in Sandy Oregon which uses a cable modem. I have a 5 port switch, and a linksys wireless hot spot with only one port which is the ethernet input. I connected it to my switch, along with a Vonage VOIP, and an AT&T minicell. The problem is I can ony get one thing to work at a time, I connect my VoIP, and it works great but no enternet, and so on. Can I use a switch in this way or will I need a roughter? Thanks in advance for you time.

  318. SJ Reply

    1) assume we have an ADSL connection and we have 3 computers connected to internet via a router, so we have 3 IP addresses now, does the ISP understand that i am using 3 IP Addresses?
    2) i checked something (and it was so weird) in my university (where computers are connected via routers) i search the net for “what is my ip address” on two computers, and chose one of the google results, the website showed ONE IP for BOTH computers, it means it didn’t understand that i am using two different computers, so how the website would tell the router that which computer is requesting which webpage?

  319. Mark Jacobs Reply

    @SJ
    1) The ISP can only see the IP address of the router.
    2) The same reason as 1, the address returned by “what is my ip address” is the ip address of the router. The router is a hardware firewall and that’s all that anything on your side of the router can see. “What is my ip address” is coming from from a website which can’t see past the firewall.

  320. SJ Reply

    @Mark Jacobs
    thank you very much. number 1 was clear but about question number 2 …

    let’s assume we have 2 computers, computer ‘A’ and computer ‘B’ which have access to internet via a router, i am trying to open my gmail account on ‘A” and X(someone else) is trying to access his account on ‘B’, the router sends request to gmail.

    1. how gmail understands that it is from two different computers? i don’t know the answer but i guess it understands in a way which is NOT my ip address did i guess right? if i guessed right HOW does it understand that? (it usually understands because when i open a new tab (in for example firefox) entering “gmail.com” and i had been singed in, it wouldn’t show the “sign in” page, gmail understands that i had been signed in, it knows it’s the same computer requesting)

    2.Why my gmail account is not opened in ‘X’ s computer? is the router intelligent enough to trace two similar packages (the only difference is the user and pass entered – isn’t it?) and understands which one is for which computer?

    The router keeps track of which connection comes from which computer, and thus where any responses should go. Look up NAT or Network Address Translation on Wikipedia or other refernence sites for more details.

    Leo
    06-Nov-2011
  321. Connie Reply

    @SJ
    That sounds like it would be cookies on the machines, rather than the router helping gmail ‘remember’ your computer.

    One thing that is cool is that the cookies are browser specific. If you want to try an experiment: go to the computer that remembers you signed in with gmail, and then try it from a different browser and see if it still remembers. For instance, if you usually use IE, then use Chrome or Firefox. Probably the different browser window will act like it’s never been to gmail before. And then you know it’s cookies.

  322. HB Reply

    Thanks for the excellent explanation.
    Question – Does this mean that if I had a broadband router connected between my laptop and a hotel network cable, that I would be then be behind a firewall and therefore “safe”?

  323. Mark J Reply

    @HB
    If by safe, you mean that the hotel can’t sniff out your info, then no. After the router all of your information would be open to whoever can hack into the hotel’s network. Your best protection would be using a VPN or only accessing sites which use SSL encryption.
    If you mean safe from hackers accessing your computer, then, yes.
    How does a VPN protect me?

  324. will maxwell Reply

    Can I daisy chain a router? My hub has no more room and I have an extra Linksys router. The main router is the same make and model.

    You can, but it can sometimes introduce problems – most commonly machines on one side of the 2nd router cannot “see” machines on the other. It’d be better to get a switch with more capacity.

    Leo
    05-Jan-2012
  325. carl yeates Reply

    This Leo has just come in perfect for me. I do voluntary work for a charity helping network the building. We’ve a Belkin play 600n and the DHCP part I looked at the last time I was there. I wanted to give the Hp printer a static ip address. I realised that each time the printer was switched on a different ip address was given by the DHCP server. At 1st we’d got the printer hooked up to the usb port on the back of the router. We then deadicated a pc as a server to increase the speed of printing (mainly for Coral draw), also to stop people from having to ask for the printer back. It worked brilliently until the printer was switched off. Thats then when I looked at the DHCP to give the printer a static ip address. I tried all the other PC’s to make sure they could serch the net, see the printer and the 3TB HHD, I switched everything on and off, printer, router, PC’s and server. All worked fine and then yesterday one person couldn’t get on the net and then another. At 1st I thought it was something I’d done. We’ve now found out even though we turned down a free router from BT telling them that we’re getting a belkin router. They said nothing until yesterday that Belkin router’s conflict with BT. This has angered us somewhat. Reading your articles help me a great deal and reading this article has made me feel a whole lot better and more confident about what I’m doing before contacting BT this morning. I thank you sir and your continued articles.

  326. Jackie Rutkowski Reply

    Thanks. This explain routers and their working method and the initals that so many “more experienced” computerers know and use so easily and the we folk like me have to think about and research to understand. I really like your articles. Thanks.
    Jackie

  327. Jackson Reply

    Well explained…You covered a good aspect of these 3 devices.I think, a brief note on broadcast and collision domains will still improve this description.
    Still a good one………..GOOD WORK….

  328. Arazim Reply

    This is 1 of d best explanation hav ever gotten and i realy thank you for that. Pls, ow can i share a printer /scanner for 40computers using a single router,switch and hub so as to cut cost.

  329. Arazim Reply

    This is 1 of d best explanation hav ever gotten and i realy thank you for that. Pls, ow can i share a printer /scanner for 40computers using a single router,switch and hub so as to cut cost.

  330. Andre Reply

    I’m just learning about Networking and so far your explanations are way ahead of the rest! I shall be searching for more answers on your site. Many thanks

  331. Arul Reply

    Hi..
    i got the difference for the same right now am happy thanks for u

    Arul

  332. Shashank Juyal Reply

    During all these years i never came across a simpler explanation of these confusing terminologies…great job..

  333. Andy Jane Reply

    it is so intereting God bless you, because now i have more knowledge on the hub, switch,router.

  334. mawliid Reply

    i have problem from LAN, that problem is the network is connected but there is not internet access the connection is full but the browser say the connection it can’t connect to the internet.

  335. Sangar Reply

    so what would you recommend for me i have about 20 computer i want to connect all of them together for file sharing but none of them have internet.

  336. habib Reply

    hi leo i waould like to discuss one thing actually i am using a router of DSL when i connect my laptop with the wifi then after every ten min it is showing limited signals but then i will disconnect the connection and reconnect it then it will work smothly then again after ten mint it could be happened.But if i use the laptop of my friend on that wifi it is not showing the error of limited and there is no need to disconnect with internet.Can u help me out how to solve this issue?i am worried about that…..is there is a issue in my laptop or in my internet?

    • Leo Reply

      I would assume it’s a router the provides access to something like the internet, but without knowing the context I really have no idea – it’s not a term I’ve heard before.

  337. Ash Reply

    hello Leo!

    I have a problem, im running a hostel n running a cat5e cable from my modem to a 15port router, and from the 15port router to every tenants rooms. the problem is that last few years it was working perfectly, but all of a sudden i cant get the router and my modem to communicate. when it does communicate only one tenants rooms seems to be working non of others aren’t working, plus my office computer that is plug directly to the modem, when i plug in all 15ports i get “page can not be displayed” i thought something was wrong with my router so i replaced it with a brand new one plus the cable that was going to the router, i even called my cable boardband technician 7times and got them to replace their Telstra modem. they got my office computer working but soon as i plug in the 15port router the signal drops.

    Your feed back will be helpful.
    Thanks

  338. Achilles Reply

    Hi All,

    Queries:

    1.
    I have a switch whose two ports are called in the same vlan.
    I connect a device to one port with IP 192.168.1.x/24 and other port with IP 192.168.2.x/24 range will they communicate?

    2.
    I have a switch whose two ports are called in the different vlans.
    I connect a device to both the ports with devices in 192.168.1.x/24 range will they communicate?

    3.
    I have a switch port connected to a hub in a port called in an access vlan x.
    The HUB connects to two end devices one in 192.168.4.x/24 and other in 192.168.3.x/24, will they communicate?

    I would really appreciate if the reason behind the same is mentioned too.

    Thanks.

  339. John Collins Reply

    My two grandsons like to play Minecraft on their devices and love to see each other in their world.
    At my summer home, my internet connection is via a cell tower and very expensive. I bought a router last summer naively thinking I could link the two devices together without incurring data charges from my provider. Nothing I tried seemed to do the trick. Is this even possible to set up and bypass the internet?

    • Leo Reply

      It may not be – it’s EXTREMELY dependent on exactly how the software is written. Most multi-player games communicate not with each other but with a central server on the internet that handles all the inter-player communication and visibility.

  340. Neil Reply

    hey leo , i’m being confused if i use to think about connecting . hub to hub , switches to switches , router to router . can you gave me a explanation with it ?

  341. raj Reply

    Hi Leo,

    I want to establish a small internet cafe and please help me which hub/switch suits and guidence for the speed connectvity of the PC’s.

    Total 6PC’s & one AIO printer= I am planning to place in this one is used as server (main PC) and rest 5 will be public zone

  342. piscean Reply

    im using LAN connection and the speed is only 1MB..can i share this 1MB to another laptop using splitter?

    • Mark Jacobs Reply

      By splitter, I believe you mean a router. You should be able to use a router to share your internet connection on more than one machine. You may experience some slowdowns if both are accessing the internet at the same time, but other than that, it should work.

  343. Parvez Reply

    HI Leo,
    Is it possible to connect two PC with diff. IP like 192.168.1.11 and 192.168.2.33 with a switch?

    • Leo Reply

      It really depends on how your network is configured. If your router is assigning those IP addresses, then sure – you can use a switch.

  344. salma Reply

    please write something about IP ADDRESSES explanation in a simple words.

Leave a reply:

Before commenting please:

  • Read the article. Seriously. You'd be shocked at how many people make comments that prove they didn't.
  • Comment only on the article. If you have a new, unrelated question start with the search box at the top of the page.
  • Don't post personal information. Email addresses, phone numbers and such will be removed.

VERY IMPORTANT: because of a rise an comment spam that's making it through our filters any comments that do not add to the discussion - typically off topic or content-free comments - run a very high risk of being flagged as spam and removed.

If you have a new question unrelated to the article above, ask it on the Ask Leo! ask-a-question page.