Whats the difference between a switch and a router
My friend and i want to have a lan party with some other couple of friends and we wont have any means of sharing the internet connection. I am stumped on what to buy to share the connection. Should we buy a like a 4 Port switch or a 4 port router thingy. Thanks.
edit: oh can you post some links to some websites that sell a router or a port, im looking for the cheapest solution since this is our first lan and we dunno if we are gonna do it again. Thanks
edit: oh can you post some links to some websites that sell a router or a port, im looking for the cheapest solution since this is our first lan and we dunno if we are gonna do it again. Thanks
0
Comments
i looked around a little on techbargains to find you some cheapass networking stuff.
heres a $10 compaq 5-port switch http://store.yahoo.com/livewarehouse/nccp20410.html
here is a D-Link DI-604 4-port router from newegg http://www.newegg.com/app/viewproduct.asp?DEPA=&submit=Go&description=DI%2D604
a couple other things. routers usually will have a lightweight built-in firewall, and many of them have network printing capabilities as well as other stuff.
thanks
I've also had a problem with Charter cable assigning the router an IP address. This could be caused by different Mac addresses in their database as I had the modem connected direction to my machine via Cat5. It works now, but it was a pain in the ass then. After you get it running and customized to your specific needs (which you should only need an out-of-the-box config), routers will stay up for a long time.
Router: assigns IP to computers that connect to it, and provides a "front" for a network, hiding all computers behind it on a single IP on the WAN (wide area network, i.e. your neighborhood, or the whole internet)
Hub: Takes packets and rebroadcasts them to every computer connected to it. All computers under a hub will "share" the bandwith because only one can "talk" at a time.
Switch: is a smart hub. it looks at where packets are trying to go, and makes a number of connections very rapidly, segmenting the network and making the neccesary connections on its own. this allows multiple connections to be active at the same time, with everything operating at full speed (more or less).
The routers you're looking at buying are routers with built in switches. if you're doing a LAN and you want internet access, the way to you want to do it is thusly: cable modem connected to WAN port on router, computers connected to router's built in switch. if you have more computers than that, buy a switch (a hub will work too, but a switch is more better-er), and plug the uplink port on the switch into one of the router ports, and then the other computers into the switch. if you run out of ports again, the same applies, another switch into one of the first switch's ports will add more ports to your network. This daisy chain can be continued quite a ways, up to, I believe, 254 computers. Basically, anything that can "connect" to the router, either through its built in switch, or a daisy-chained switch or hub, will be assigned an IP and be able to access the internet through the router.