Home > Articles > Home & Office Computing > Microsoft Windows Vista & Home Server

Networking Windows

This chapter is from the book

Providing Shared Internet Access

Although you could give each computer its own dial-up modem or broadband modem, one of the principal advantages of installing a network is gaining Internet access for all your computers through a single connection. There are two simple ways to provide shared Internet access for a home or small office network:

  • If you have cable or DSL broadband Internet service, get a hardware Internet connection-sharing router. It’s easy to set up, costs little or nothing, provides a certain amount of added security to your network, lets you add on additional computers with no setup effort, and can let you use both wired and wireless connections at the same time.
  • If you use standard dial-up Internet service (not AOL dial-up service), use the Windows Internet Connection Sharing service to share the connection with others through your network. This is an acceptable solution although the “sharing” computer must be turned on to use the Internet from your other computers.

Shared network connections provided by hardware routers and Windows Internet Connection Sharing (ICS) use a mechanism called Network Address Translation (NAT) to mediate between the computers on your network and the Internet via a single connection and single public IP address. The router or ICS computer has two connections, one to the Internet via a dial-up, cable, or DSL modem, and one to your LAN, as illustrated in the top part of Figure 6.16.

Figure 6.16

Figure 6.16 A connection-sharing router acts as an intermediary between your LAN and the Internet.

When one of your computers attempts to contact a website, it sends a data packet to the router or computer running ICS to be forwarded to the Internet, as illustrated in the bottom part of Figure 6.16. As it passes the outgoing network data packet to the Internet, the router replaces the packet’s “from” address—the private IP address assigned to your computer—with the router’s public address, so that the reply from the remote server will be returned through the Internet to the router. The router remembers from whom the request came, replaces the response’s “to” network address with your computer’s private address, and transmits it on its LAN connection.

This mechanism works quite well for communication initiated by computers on your network. When outside computers attempt to contact you, however, it’s another story. If you have a web or email server on your network, for instance, the connection-sharing router or computer can be configured to send packets for particular network services to the correct computer; this is called port forwarding. Otherwise, incoming connection attempts are simply discarded. In this way NAT protects you against random probing by hackers, and it’s very helpful to have this as a second level of protection in addition to Windows Firewall.

Adding a Connection-Sharing Router

Connection-sharing routers almost always have one 10Mbps Ethernet port that is used to connect to a cable or DSL modem, and have a second connection for your LAN. This LAN connection can take several forms:

  • There may be a single 10/100Mbps Ethernet port.
  • There may be four or more 10/100Mbps Ethernet ports, giving you a built-in switching hub.
  • There may be a built-in wireless networking access point.
  • There may be a combination of the preceding.

Because wireless devices and laptops are becoming so common, and because it’s very nice to be able to offer wireless connectivity to friends and visitors even if you don’t use it yourself, I recommend purchasing an 802.11g or 802.11n wireless router with a built-in four port switch. Routers without wireless can sometimes be found for $0 after rebate, but usually fall in the U.S. in the $10 to $40 range. If you shop carefully and look for a sale or rebate offer, wireless routers with four-port switches can also frequently be purchased for $10 to $40, so you’re getting a lot of connectivity for no additional cost.

You will need to ensure that your ISP provides you with a cable or DSL modem with an Ethernet port; USB or internal PCI adapters do not work with a router. Use a standard Ethernet patch cable to connect the modem to the Internet or WAN port on the router.

Then connect one of your computer’s LAN adapters to one of the ports on the router, using another standard Ethernet patch cable.

When you connect your computer’s Ethernet port to the router, Windows automatically requests an IP address and configures the port’s TCP/IP settings from default values provided by the router. You should then be able to open your web browser and view the router’s setup web page, using the URL //192.168.0.1 or //192.168.1.1, as instructed by your router’s installation manual.

Your router establishes the connection to your ISP on your behalf, so you need the same information that you’d need to establish the connection directly through Windows. For a DSL connection, this often involves a username and password. For a cable connection, this often requires that you set the router’s hostname to a specific name, or you may have to provide the router’s MAC address (its Ethernet hardware address code) to your ISP; this number is usually printed in tiny letters on a label on the bottom of the router. Alternatively, if you’ve already used your cable Internet service by directly connecting your computer, you might be able to have the router clone your computer’s MAC address—that is, copy your computer’s address and use it on its Internet port so that your ISP doesn’t have to make any changes.

After installing the router, run the Network Setup Wizard on all your Windows XP computers. The wizard is described earlier in this chapter, under “Configuring a Workgroup Network.” When asked to select a connection method, select This Computer Connects to the Internet Through Another Computer on My Network or Through a Residential Gateway.

On Windows Vista, you should not need to run any setup wizards—Vista automatically detects that you have an Internet connection on the network. However, if you’ve added a connection-sharing router to an existing network, you may need to adjust any fixed IP addresses you’ve manually assigned to computers on your network.

After Setting Up a Shared Connection

After the shared connection is set up, all your computers can use it automatically, through the network. The only problem you might run into is with Internet Explorer. If you previously used dial-up Internet, or if you previously had your broadband modem connected directly to your computer, and now Internet Explorer tries to establish a connection whenever you open it, perform the following steps:

  1. Open Internet Explorer.
  2. If the menu bar is not visible, press and release the Alt key. Select Tools, Internet Options.
  3. Select the Connections tab. In the middle of the dialog, select Never Dial a Connection, and click OK.

This keeps Internet Explorer from attempting to make a direct Internet connection.

Using Windows Internet Connection Sharing

All Windows versions since Windows 98 Second Edition have a software version of NAT called Internet Connection Sharing (ICS). It does in software what a connection-sharing router does in hardware. If you have cable or DSL Internet service, I strongly recommend that you use a hardware router.

But, if you really want to, you can use the Windows ICS service to share a broadband connection. You may also want to use ICS if you have standard dial-up Internet service. Internet Connection Sharing can let you use dial-up Internet from two or more computers at once, without tying up additional phone lines—a neat trick. It does, however, require you to leave the computer that is set up to share its connection turned on all the time; at least, it must be on anytime anyone wants to use the Internet.

To set up ICS, select one of your computers to be the one that is to share its Internet connection. Set up and test its Internet connection first, before creating a LAN. For dial-up Internet, get the “sharing computer’s” dial-up connection working first, before you connect your network. For broadband Internet, connect the “sharing computer’s” network adapter to your cable or DSL modem, and get the Internet connection working first. Only then install a second network adapter that you’ll use to hook up to your other computers.

Finally, configure the shared connection. The procedure depends on whether you’re using XP or Vista.

Setting Up ICS on Windows XP

On XP, log on as a Computer Administrator. Run the Network Setup Wizard, covered earlier in the chapter, under “Configuring a Workgroup Network.” The important points are as follows:

  • When you’re asked to selection a connection method, select the first choice, This Computer Connects Directly to the Internet. The Other Computers...Connect...Through This Computer.
  • When asked to choose a connection, select the entry for the dial-up connection to your ISP.

Complete the rest of the Network Setup Wizard as described earlier in the chapter. If you had set up your LAN previously, be sure to enter the same workgroup name you used originally because the wizard wants to change the setting to MSHOME every time you run it.

When the wizard completes, go to the Network Connections window and locate the icon that represents your Internet connection. It should now say “Firewalled, Shared” and possibly “Disconnected.” Right-click it and select Properties. View the Networking tab. In the list of components used by the connection, be sure that only Internet Protocol (TCP/IP) and QoS Packet Scheduler are checked. This prevents file sharing from being exposed to the Internet. The firewall does that, too, but it doesn’t hurt to be extra safe.

Then restart your computer. Log on again, and try to view a web page (such as www.google.com). Your computer should automatically connect to your ISP, dialing or signing on if necessary. If the web page doesn’t appear, you have to resolve the problem before continuing.

When the sharing computer can connect properly, run the Network Setup Wizard on your other Windows XP computers, except for one detail: When you run the wizard, select This Computer Connects to the Internet Through Another Computer on My Network or Through a Residential Gateway.

Setting Up ICS on Windows Vista

To set up ICS on Vista, set up and test your Internet connection first. Be sure that it’s working before you proceed. Then follow these steps on the “sharing” computer:

  1. Click Start, Control Panel, Network and Internet, Network and Sharing Center. Under Tasks, select Manage Network Connections.
  2. If you are using broadband Internet with a cable or DSL modem connected to your computer through its Ethernet adapter, locate the Local Area Connection icon for this connection, right-click it, and select Rename. Change the name from Local Area Connection to DSL Modem Connection or Cable Modem Connection or some other appropriate name. Confirm the User Account Control Prompt.

    Then right-click this icon and select Properties. Under This Connection Uses the Following Items, uncheck every item except QoS Packet Scheduler, Internet Protocol Version 4 (TCP/IPv4), and the two Link-Layer Topology Discovery items.

    You use a second network adapter to connect to the other computers on your network. If you haven’t installed it yet, shut Windows down, unplug the computer, and install the adapter now. Power the computer back up, log on, and return to the Network Connections window.

  3. If your Internet service is connection-based (standard dial-up, or DSL using a login name and password), right-click your Dial-up or Broadband Connection icon and select Connect so that your Internet connection will be up during the remaining steps. Then right-click it, select Properties, and confirm the User Account Control prompt.

    Otherwise, if you have always-on Internet service, such as that provided by most cable providers, right-click the Cable Modem Connection icon that you renamed earlier, right-click it, select Properties, and confirm the User Account Control prompt.

  4. Select the Sharing tab, and check Allow Other Network Users to Connect Through This Computer’s Internet Connection. If a drop-down list labeled Home Network Connection is visible, select the network connection that corresponds to the LAN adapter that connects to your other computers, not the connection that goes to your DSL or cable modem. Click OK.
  5. When the process finishes, you may close the Properties dialog.

Now other users should be able to connect to the Internet through the shared connection. If your Internet service is connection-based, on their Network Connections windows they should see an icon representing the shared connection. They can right-click this icon to establish or disconnect the Internet connection if necessary.

For one last setup step, see “After Setting Up a Shared Connection” at the end of the previous section.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020