Internet Connection Sharing Internet Full Introduction _ Internet Surfing

Source: Internet
Author: User
Tags get ip

Set up ADSL "Internet Connection Sharing" under Windows 98

Install network hardware.

To build a LAN, of course, the network card is indispensable, I use the realtek8139c 10base-t network card. Each machine installed after a pair of twisted wire and the hub connected to the boot on the hub after the corresponding indicator light on the network Unicom.

Set up your network Neighborhood.

Starting Windows 98, after installing the NIC driver, click the Control Panel's network, and then set the network components. Each computer will add the TCP/IP protocol, select "Client →microsoft network user", and log in as "Windows Login" (as shown in Figure 1).

Install Internet Connection Sharing

Install dual NIC and drive on the computer used to connect the ADSL modem, and then perform the installation of Internet Connection Sharing: Turn on my computer → control Panel → add/Remove Programs →windows Installer →internet tool, click Details and select Internet Connection Sharing, as determined. Click the Next button in the Pop-up Internet Connection Sharing wizard (Figure 2) dialog box to appear with a Select Network adapter interface (Figure 3).

At this time must choose to connect the ADSL modem of that piece of network card, my computer is connected to the ADSL is the second network card, so I chose the "#2适配器", and then click Next, the creation of User Configuration disk click the "Cancel" button to skip (Figure 4), the last click to complete the button, restart the computer.

Modify your Network Places again

1. Modify the ADSL host Network properties

Open the Network Neighborhood attribute, turn on the TCP/IP settings for the network card that connects the hub (My computer is a down adapter) and assign it an IP address (for example, 192.168.0.1).

2. Modify Client Network Properties

Open the TCP/IP settings for each client computer, select automatically get IP address, open the Gateway tab, and add a gateway 192.168.0.1 for it (Figure 5).

After you restart your computer, the entire installation process is complete. Confirm that the host has been networked, and then open the client's IE browser, the rapid hurricane feeling really cool!

Note: The network adapter specified when Internet Connection Sharing is installed on the host is the NIC used to connect the ADSL, and the local IP address is the network card connected to the LAN; The client gateway address must be set to the same IP address as the LAN network card on the host, and the client NIC cannot specify an IP address.

"Internet Connection Sharing" under WINDOWS XP

Internet Connection Sharing, which has been featured in Windows (SE)/me/2000, is now perfected and enhanced in Windows XP, allowing multiple PCs within a LAN to connect to the Internet through one of the PCs that have been connected to the Internet, So that more than one PC to share an Internet connection line for the purpose of Internet access, and provide firewall protection.

Since there are many different kinds of network architectures for sharing the Internet, one can not enumerate them, so two typical network architectures are selected to introduce Windows XP Internet Connection Sharing.

One, LAN more than two pc,internet access mode for broadband access

1. The network structure diagram is as follows

Description: The gateway host has two network cards, in which the network card A1 through ADSL, Cable Modem or Ethernet port (more out of now broadband residential district, intelligent commercial building and campus network), such as broadband access to the Internet, network card A2 with hubs or switches connected, In the same LAN as PC1 and PC2. PC1 and PC2 each have a network card with a hub or switch connected to the LAN, through the shared Gateway host Internet connection to the Internet. If you add a PC to your local area network, you can access it by simply connecting the new PC to the hub or switch.

2. Settings for Gateway hosts

The operating system is Windows XP, the Start-> Control Panel-> Network and Internet connection-> network connection, you will see the connection icon for two network adapters.

"Local area Connection 1" is the network card A1, connected to the Internet, and "LAN Connection 2" is the network card A2. The TCP/IP settings for local area Connection 1 should vary according to different broadband access modes, either by automatically obtaining IP addresses and DNS or with fixed IP addresses and DNS (provided to you by your ISP), and users should be configured with instructions provided by the ISP, No details are given here.

We're going to share this Internet connection, right click "Local area Connection 1"-> "Properties"-> "advanced", and hook up three items of "Internet Connection Firewall" and "Internet Connection Sharing"

When you press OK, a dialog box prompts you to change the TCP/IP settings for the other network card and press Yes.

This allows sharing to be enabled, and the NIC icon becomes this way.

Now we look at the TCP/IP settings for local area Connection 2, right-click the local area Connection 2-> Property-> Internet Protocol (TCP/IP) "->" property ", see that the IP address is set to 192.168.0.1 by the system.

This IP address is modifiable and is subject to the specific requirements of the user of this local area network, but in this case we do not make any changes and press Cancel to exit this dialog box. The gateway host is set up and has shared Internet connectivity and firewall capabilities to protect all machines within the entire LAN from unauthorized access.

3. Configuration of PC1 in LAN

The operating system can be any network operating system, in addition to the Windows family, can also be Linux or UNIX. Simply set the IP address, subnet mask, default gateway, and DNS of the network card. IP address set to the Gateway host network card A2 on the same subnet address, but can not be repeated, the subnet mask and the Gateway host network card A2, the default gateway and DNS set as the Gateway host network card A2 IP address. If you are a Windows XP system, you can set the following figure.

After the confirmation, open IE will be able to access the Internet, of course, if the gateway host has been connected to the Internet.

4. Configuration of PC2 in LAN

PC2 settings and PC1 basically the same, but the IP address is different, such as the example PC1 IP address is 192.168.0.2, then the PC2 IP address can be set to 192.168.0.3, as long as the net is not used in the notebook IP address on the line.

5. Firewall settings within the gateway host

If the gateway host turns on Remote Desktop (as described in the Windows XP remote experience) and firewalls are turned on, other online users on the Internet cannot remotely log on to your system. But if you want an expert to remotely log on to any PC in the local area network (including the gateway host, this PC to have the function of Remote Desktop, to help themselves solve the problem, then do the following: (with just the gateway host to illustrate the example) right click "Local area Connection 1"- > "Properties"-> "Advanced"-> "" "" Remote Desktop ", enter the IP address or computer name of the machine to be logged in by the expert, click" OK "three times to complete, the expert can login to any PC in this local area network through the firewall.

The same way, you can control the local area Network Web services or FTP services can be opened to the outside, as long as the same as just as the hook and choose a different service.

Second, the LAN only two pc,internet access mode for ordinary telephone dialing

1. The network structure diagram is as follows

Description: Gateway host with a common telephone line connected to the modem, but also equipped with a network card. PC1 also has a network card, two network cards are connected with a crossover line (there are many articles on cross line practices on the Internet), forming the simplest LAN, PC1 the Internet connection of the shared gateway host. This network structure is not suitable for expansion.

2. Settings for Gateway hosts

The operating system is Windows XP. The vast majority of modems will be automatically identified and installed by the system driver, we will build a new dial-up connection: "Start"-> "Control Panel"-> "Network and Internet Connection"-> "network Connection"-> "Create a new Connection"-> "next "->" Connect to the Internet "->" Next "->" Manually Set my Connection "->" Next "->" Connect with a dial-up modem "->" Next "-> Enter your ISP name: China Telecom 96169->" Next "-> Enter the dial-up phone number, such as 96169->" Next "-> enter the username and password->" Next "->" Finish ". There is one more dial-up icon in the network connection.

To share this Internet connection just right-click the dialing icon-> "Properties"-> "Advanced", the following settings will be the same as in the case, including the LAN connected with the network card settings.

3. PC Configuration in LAN

The same as the PC1 setting in case one. Firewall settings as described above. As long as the gateway host dial-up access to the Internet, this small LAN sharing mode of the Internet can be operational.

With the popularity of broadband networks, there will be more and more patterns of building small local area networks and sharing Internet connectivity resources in the home, which Windows XP offers for inexpensive, secure, concise, and maintainable solutions.

"Internet Connection Sharing" under WINDOWS 2000

This method uses the premise that the user has two or more computers, Windows 2000 Server must have modem (what is this?) , "Client" is best to install Windows 98, and of course Windows 2000 is OK. OK, so much nonsense, then we will officially start!

First, we're going to move on a Windows 2000 server, and to configure Internet Connection Sharing, you must be logged on as a member of the Administrators group.

With network and dial-up connections → New connection, the Welcome to the Network Connection Wizard is started. Click "Next", select "Dial to private Network", click "Next", enter 163 in the "Phone number bar" (or the special service number for your dial-up connection), and select "All users use this link" (This and " It's just that I use this link myself. "The difference is that other landing users do not see the connection, click" Next ", enter the connection name, the successful establishment of a dial-up connection. Then you can enter your account number and password!

Then the key is to click on "Properties", find the "Share" tab, "√" before "Use this connection for Internet Connection Sharing", the following "Demand dial" is a new feature of Windows 2000, which allows the computer on the local area network to have a dial-up request The server automatically dials this connection automatically, if you have chosen to "Save the password", but the security is a bit ...

If you do not set an IP address, it will automatically set you to 192.168.0.1, and automatically add a subnet mask for you 255.255.255.0 (how much smarter than Win98). OK, Windows 2000 is done, it's your turn to "Client"!

On client Windows 2000, add the correct protocol: TCP/IP, NetBEUI protocol. By the way, many friends on the machine are using the Ipx/spx protocol to communicate with other computers in the local area network, in fact, IPX (Internet Packet Exchange) is the local NetWare protocol used on the earlier Novell network; and NetBEUI ( NetBIOS Extended User interface) for small workgroups or LANs, much more efficient than the former, recommending friends to use when making a network. Then, specify the IP address in TCP/IP as 192.168.0.2 ... The subnet mask is 255.255.255.0, and both the gateway and DNS are set to the IP of the server, that is, the 192.168.0.1, reboot is OK.

Or use the old way ping to check the local area network well, through the words between server and client no problem. So let's try again, with the server dialing, open your client, start your IE, enter a URL, how, successful?

After all this has been done, when your server dial-up Internet success, the client will be able to travel with the server on the Internet, is not more than what you use Wingate, Sygate and so much more convenient. But also note that, due to the relationship between the modem, it is impossible to drive a lot of machines, enough! Don't be so greedy! If you tell me you use ISDN, ADSL and other things, then when I did not say anything, hehe ...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.