Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Switch, router?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 24 January 2003 :  09:42:30  Show Profile
Simple question: what do switches and routers exactly do? I read about them and how they're necessary for sharing internet connections, but it's never explained what they're for and what they do.
Google only told me about the concept of a (light) switch when I tried doing a search

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 January 2003 :  10:06:19  Show Profile  Send ruirib a Yahoo! Message
If you are using Windows 2000 or XP you really don't need a router or a switch. You can just use Windows Internet Connection Sharing for that. Works very well, I have such a setup, using ICS on XP to share my cable connection, and then I have another desktop and two portables accessing the internet through ICS.

I really don't know about switches, but routers 'route' traffic between different networks. In a situation like yours tipically a router would get an Internet IP address from an ISP, and then it would function as a DHCP server, assigning internal IP adresses for your computers. It would then provide routing for traffic from your internal network and the internet. I guess it basically would do something like this.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 24 January 2003 10:11:46
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 24 January 2003 :  10:16:24  Show Profile
You need a hub or switch to interconnect ethernet devices. The difference between a hub and a switch is that all ethernet traffic on a network segment is present on all ports using a hub. Switches keep track of the devices on the network segment and isolates network traffic to just the necessary ports.

Routers pass network traffic between different network segments. TCP/IP is pretty complicated, and a good understanding of TCP/IP is necessary to completely understand routers.

Here's a typical cable/dsl router scenario. You have two or three computers on your home network, each has an ethernet board and is connected to a switch to interconnect them. The switch may be built in your cable/dsl router. You also have a DSL line. The router has one plug labeled WAN (wide area connection) where you plug in the DSL using the network address given you by the provider. My four-port DSL router has 4 more plugs for the "local" network devices built in.

The local network is typically addressed on a "private" IP range, a set of IP addresses that routers do not send out to the Internet. 192.168.x.x are typical private IP addresses, Linksys routers come preset to use 1982.168.1.x for your local network addresses.

Also in your router is a NAT (network address translation) server and a DHCP server. The DHCP server passes out local IP addresses automatically to your local network computers.

NAT is what translates your request to visit forum.snitz.com and other sites outside your local network. When you open forum.snitz.com, your browser first visits your DNS server to get the IP address of forum.snitz.com, and finds out it's 81.3.74.3. This IP address isn't known to your local network, so the data is passed to your "default gateway", in this case your router is the default gateway on 192.168.1.1

The router then "translates" from your computer's local address of 192.168.1.x to the snitz IP address, adds a bit of identifying information so the return traffic ends up at your specific local computer, and sends your data on it's way through the Internet. There are more routers along the way, and each one does a similar translation, so ultimately your traffic ends up at HuwR's computer.

To summarize, the switch/hub provides the physical interconnection between ethernet devices, and routers provide the logical connection between networks.


======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 January 2003 :  10:18:23  Show Profile  Send ruirib a Yahoo! Message
Nice explanation Doug.
Here is an interesting article on switches: http://www.howstuffworks.com/lan-switch.htm
... and another one on routers: http://www.howstuffworks.com/router.htm


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 24 January 2003 10:31:34
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 24 January 2003 :  10:40:59  Show Profile
Thanks for the explanations and links guys. I'll print it and read it all again later so I'll really understand it

One more question: does there always have to be at least one PC turned on when you use a router and switch?
If not, getting a router and switch (or one with a built in switch) would be a solution to the one "problem" I'm about to face: my brother wants his computer connected to the internet too, as soon as I get everything hooked up. But my computer won't be turned on all the time, and neither will his.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 January 2003 :  10:48:23  Show Profile  Send ruirib a Yahoo! Message
The answer to your question is no. The router will provide a DHCP address and will route traffic as long as it is on, and that will be enough. You don't need to have a computer always on, since neither computer will have any networking function, besides being a network node, and perhaps sharing files or something similar.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 24 January 2003 10:49:24
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 24 January 2003 :  11:06:02  Show Profile
That's the kind of answer I was hoping for Rui
Thanks again.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 January 2003 :  11:12:01  Show Profile  Send ruirib a Yahoo! Message
You're welcome .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 02 February 2003 :  15:47:14  Show Profile
I have a new question since we're planning on getting the network set up at home pretty soon: Which brand/model router w/switch would you recommend?
Belkin has a good name, and it just so happens that the company where we buy a lot of office supplies only has their router w/switch (http://catalog.belkin.com/IWCatProductPage.process?Merchant_Id=1&Section_Id=2094&pcount=&Product_Id=113464&Section.Section_Path=%2FRoot%2FNetworki%2E%2E%2EndCables%2FCableDSL%2E%2E%2EyRouters%2F [I hope the URL will work] -- approx. €110)
However, I can also go to a store for office supplies and get a Sitecom router w/switch (http://www.sitecom.com/products_info.php?product_id=152&grp_id=7 -- approx. €85).

With me not wanting to do a lot of shopping around, those two both sound like good options. Are they, or should I try to find a different one?
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 02 February 2003 :  18:00:22  Show Profile
I use Linksys and I'm quite happy with them for the price. I got a D-Link router recently however I'm not so impressed with it. I don't know about Belkin. Belkin is a long-established cable company, but pretty new in electronic devices I think.

I got a Linksys cable/dsl w/ 4port switch for $49.00 US recently.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 02 February 2003 :  18:12:11  Show Profile
Unfortunately, regardless of the value of the dollar vs. that of the euro, hardware (and software) is usually quite a bit more expencive here than it is in the US. All prices I have found for routers w/ 4-port switch start at around €85.
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 02 February 2003 :  18:51:51  Show Profile  Visit Nathan's Homepage
I got a D-Link on ebay for very little. Its not an extrodinary piece of hardware, but it does the job.

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 02 February 2003 :  18:59:32  Show Profile  Visit Gremlin's Homepage
There another option which is using an old 486/Pentium computer as a router. Personally I use a PII that I picked up for $50 NZ with an 800Mb or so HDD in it. Put 2 brand new Network cards in it (another $25 NZ) and then installed a GPL firewall/router/NAT package called Smoothwall (linux based) www.smoothwall.org. Smoothwall can support Modems, USB ADSL Modems, Direct Cable Connection etc to the net.

I then just have the "Smoothwall" box plugged into my cable modem, and the other NIC in it plugs into a 10/100 Switch I picked up for another $50 NZ Second hand.

Total cost, around $60 US :)

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 03 February 2003 :  04:23:37  Show Profile
Sounds like I might just as well buy a router (I'll probably get the Sitecom one) and save a lot of space and time
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 04 February 2003 :  23:17:19  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
I have a linksys 5 port router and just recently bought a D-link Wireless Router with 4 rj-45 ports so you can mix and match your network. I really like the wireless features of the router, it works really well and it was a little over half the price of the linksys that does the same thing. I aksed why the D-Link was so much chieper, if it had chiep parts, etc... and i got the reply that D-Link makes a lot of thier own parts.




Erick
Snowmobile Fanatics

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 05 February 2003 :  03:47:34  Show Profile
I got the Sitecom router on Monday and will hook it up Friday evening (I don't have time before that, and it'll be the first evening this week that my brother won't be home, and I've been told to keep it a surprise for him ). Because there are some firmware upgrades available for download at sitecom.com, I sent a support email to them Monday evening, asking whether or not I should install one of those upgrades, and which one (they number them, but don't show release dates, nor do they say whether or not the latest one contains the fixes/changes of the older upgrades). I got a friendly and very clear reply yesterday saying that installing a firmware upgrade isn't necessary unless the router doesn't function properly but can be done immediately anyway, and which upgrade I should install. Friday I'll find out if the router is as good as their support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07