Hub vs. Router

Miscellaneous Forums/General Discussion/Hub vs. Router

Hi all,

I am used to use Hub to build LAN.
Recently, I was given a router.

Does Hub has the same function as router?

Thanks in advance

http://en.wikipedia.org/wiki/Network_hub

Try here:

[a http://letmegooglethatforyou.com/?q=hub+vs+router]Click here![/a]

http://letmegooglethatforyou.com/?q=hub+vs+router

;-)

[EDIT: Dam, Blitz forum doesnt like that URL! - copy and paste it into your browser for LOL]

A router basically is a small computer that manages network traffic to any single computer where as a hub will broadcast network traffic to all computers connected.

Many home routers have a built in modems or connect to a modem (cable broadband is one example), as well as firewalls.

Read these two wikki's
http://en.wikipedia.org/wiki/Router
http://en.wikipedia.org/wiki/Network_hub

- A hub will pretty much broadcast all traffic onto all ports. All users on the network have the ability to snoop all traffic. If computer A sends traffic to computer B, then C will also receive (and typically ignore) a copy. A hub is *shared* bandwidth between all users: if user A sends data to user B at the same time that user C sends data to user D, both effectively can send at 50Mbit/sec instead of 100.
- A Switch will only broadcast relevant data from one port to another port. traffic between computer A and B cannot be seen by C. Each user has his own bandwidth, so user A & B can exchange data at 100 Mbit at the same time that user C & D can exchange data at 100 Mbit.
- A Router is basically a switch with more brains, which can also apply specific rules to the traffic it's dealing with. (e.g. only allow traffic on specific communication ports, or selectively forward certain destinations to one port and other destinations to another. Most routers support NAT (Network Address Translation) which means that if you have multiple computers on your local network, they will all be 'hidden' behind a single router IP address to the outside world. This protects your computers, because unsollicited incoming requests from the internet will not automatically be delivered to your computer, but will be discarded by the firewall, thereby making it a lot harder to break into your computers from the outside world.

Does Hub has the same function as router?
No, although most routers have a built-in switch, which is also not the same as a hub, but is often used in the same capacity to reduce network congestion.

Most often routers are used in a network to provide [a http://en.wikipedia.org/wiki/Network_Address_Translation]NAT[/quote] so that an entire subnet of computers can share a single public IP.

Essentially using the router is probably going to be better.

For starters as many have said it has a switch which will do the job your hub is doing only better!

Secondly it will have a built in DHCP server so you won't have to run a computer to do that purpose. However if you don't want to use that part of it you can normally turn it.