I would take one of those switches back and get a router. Larry
There are few ways to share a broadband connection…. One is to purchase another IP address from your service provider. Most service providers charge a monthly fee for additional IPs. The best way is to purchase a broadband router such as the SMC Barricade (http://duxcw.com/digest/Reviews/Network/smc/smc7004br/smc7004br.htm). That is what I use. They cost about $100.
The Barricade has serial port for an external dial-up MODEM and a printer port and printer server. A printer can be connected to the Barricade and shared by computers on the local network. Not all printers will work with it. Many routers do not accommodate an Internet connection via an external dial-up MODEM and do not have printer port and server.
The Barricade can be connected to an Ethernet hub or switch hub can to expand the network and Internet sharing to more than the four PCs directly supported by the router.
There are also single port routers on the market, routers that do not include an Ethernet switch or hub (http://duxcw.com/faq/network/hubsw.htm). I will review one shortly.
Another way to do it is with a software solution. There are two flavors: a proxy server and a NAT (Network Address Translator). I have found that a NAT works best for a small network. Windows 98 Second Edition (SE) and Millennium (Me) include ICS (Internet Connection Sharing; http://duxcw.com/digest/Howto/network/win98se/intro.htm and http://duxcw.com/digest/Howto/network/win98se_cab/intro.htm). It works OK for basic browsing and E-Mail functions, but has problems with some network games and conferencing programs, etc. It requires two network adapters in the PC connected to the Internet, one to the MODEM and the other to another PC via a crossover cable (http://duxcw.com/digest/Howto/network/cable/cable1.htm) or to a hub with a straight-thru cable as you have now. You would have to buy another adapter and cable.
Of the software I have tested, I have found that SyGate (http://duxcw.com/digest/Reviews/Network/sygate/sygate.htm) is the best NAT (it can also function as a proxy). The version of SyGate I reviewed requires two network adapters like Win 98 SE/Me ICS. The newest version is advertised to work with one network adapter in the host computer (the one running the NAT).
With a software solution you must have the host computer on for the other computer(s) (clients) to use the Internet. Most routers are small boxes running a specialized server that performs both NAT and firewall functions. With a router, only the router has to be on. The router is also easier to install, is generally faster, and has fewer problems.
For an introduction to Ethernet hubs and switches and their differences, see “What is the difference between an Ethernet hub and switch?” at http://duxcw.com/faq/network/hubsw.htm.
Most broadband routers (“routers” for short) are a combination Ethernet switch (or hub) and Network Address Translator (NAT; see below). They usually include a Dynamic Host Configuration Protocol (DHCP) server (http://www.intel.com/support/landesk/configmgr/23099.htm#1), Domain Name Service (DNS) proxy server (see below), and a hardware firewall to protect the Local Area Network (LAN) from malicious intrusion from the Internet.
All routers have a Wide Area Network (WAN) Port. This port connects to the to a DSL or cable MODEM for broadband service (e.g., the Internet) and is usually a 10 MHz 10BASET Ethernet port. A 10 MHz WAN port is sufficient for cable and DSL MODEMs as these devices transfer data at rate that is a fraction of 10 MHz. I have seen no broadband routers with a USB WAN port to connect to a USB cable or DSL MODEM.
Many recent broadband routers are combination routers/Ethernet switch (or hub) that have multiple Ethernet ports to connect more than one PC to form a LAN. These ports allow the PCs to share the WAN port/broadband Internet connection and perform LAN functions, such as Windows file and printer sharing. The LAN ports are usually 100 MHz 100 BASE-TX Ethernet.
Some routers have a single WAN port and a single LAN port and are designed to connect to an existing LAN hub or switch to a WAN.
Ethernet switches and hubs can be connected to router with multiple PC ports to expand a LAN. Depending on the capabilities (kinds of available ports) of the router and the switches or hubs, the connection between the router and switches/hubs may require straight-thru or crossover cables (http://duxcw.com/digest/Howto/network/cable/cable1.htm). See “What is an uplink port and what are the ways to connect two hubs/switches together?” at http://duxcw.com/faq/network/uplink.htm for details.
Some routers have ports for USB connections to computers on a LAN. Some have wireless LAN capabilities.
In addition to a WAN port, broadband routers, such as the SMC Barricade routers (http://duxcw.com/digest/Reviews/Network/smc/smc7004br/smc7004br.htm), may have a serial port that can be connected to an external dial-up MODEM (useful as a backup for the cable of DSL service) and a built in LAN printer server and printer port.
A router DHCP server provides local Internet Protocol (IP) Addresses (http://support.microsoft.com/support/kb/articles/Q164/0/15.asp; e.g., 192.168.02, 192.168,.0.2,…) to PC’s, etc. on the LAN set to obtain their IP addresses automatically. These DHCP servers can usually be configured to allow assignment of static IP addresses to PCs and other devices on the LAN. A router-borne DNS proxy handles Internet name resolution requests form PCs on the LAN to the ISPs DNS servers to translate names of computers on the Internet to IP addresses (e.g., duxcw.com to 126.96.36.199). The NAT function in the broadband router allows sharing a single IP address provided by the Internet Service Provider with PCs connected directly to the router/switch or to hub or switch connected to the router by mapping local LAN IP addresses (assigned by the DHCP server or static IPs on the same TCP/IP subnet) to Internet IP addresses and vice versa and translating the address information in the TCP/IP protocol packets.
Besides the inherent protection features provided by the NAT, many routers have a built-in, configurable, hardware-based firewall. Firewall capabilities can range from the very basic to quite sophisticated. Among the capabilities found on leading routers are those that permit configuring TCP/UDP ports (http://www.iana.org/assignments/port-numbers) for games, chat services, and the like, and installing web servers, etc. on the LAN behind the firewall.
In short, a hub glues together an Ethernet network segment, a switch can connect multiple Ethernet segments, and a router can do those functions plus route TCP/IP packets between multiple PCs on LAN and a WAN, and much more.