Windows XP operating system shared Internet completely Raiders

  
"Internet Connection Sharing", has appeared in Windows 98 (SE) /Me /2000 features, is now improved and enhanced in Windows XP, it allows multiple PCs in the LAN, through One of the PCs connected to the Internet connects to the Internet, thereby achieving the purpose of multiple PCs sharing an Internet connection line and providing protection for the firewall. Since there are many network structures for implementing shared Internet access, it cannot be enumerated one by one. Therefore, two typical network structures are selected here to introduce "Internet Connection Sharing" of Windows XP. 1. More than two PCs in the LAN, Internet access is broadband access
1. The network structure diagram is as follows
Description: The gateway host is equipped with two network cards, of which network card A1 accesses the Internet through broadband such as ADSL, Cable Modem or Ethernet port (multiple appearance in broadband residential quarters, intelligent commercial buildings and campus networks). The network card A2 is connected to the hub or the switch, and is in the same local area network as the PC1 and the PC2. PC1 and PC2 are each equipped with a network card connected to a hub or switch. In the local area network, the Internet is connected through the Internet connection of the shared gateway host. If a PC is added to the LAN, simply connect the new PC to a hub or switch and go online. 2. Gateway Host Settings
The operating system is Windows XP, "Start" -> "Control Panel" -> "Network and Internet Connection" -> "Network Connection", you will see the connection icons of the two network cards . "Local Area Connection 1" is the network card A1, which is connected to the Internet; "Local Area Connection 2" is the network card A2, which is connected to the local area network. The TCP/IP settings of "Local Area Connection 1" should be different depending on the broadband access method. You can obtain the IP address and DNS automatically, or you can configure a fixed IP address and DNS (provided to you by the ISP). According to the instructions provided by the ISP, it will not be detailed here. Now we have to share this Internet connection, right click on "Local Area Connection 1" -> "Properties" -> "Advanced", select "Internet Connection Firewall" and "Internet Connection Sharing". Press "OK", a dialog box will appear prompting to change the TCP/IP settings of another network card, press "Yes". This sharing is enabled and the NIC icon becomes like this. 3. Configuration of PC1 in the LAN
The operating system can be any network operating system, besides the Windows series, it can be Linux or Unix. Just set the NIC's IP address, subnet mask, default gateway, and DNS. The IP address is set to the same subnet address as the gateway host network card A2, but it cannot be duplicated. The subnet mask is the same as that of the gateway host network card A2. The default gateway and DNS are set to the IP address of the gateway host's network card A2. If it is a Windows XP system, it can be set as shown below. After confirming, open IE to access the Internet, of course, the prerequisite is that the gateway host is connected to the Internet. 4. Configuration of PC2 in LAN
The setting of PC2 is basically the same as that of PC1, except that the IP address is different. As the IP address of PC1 is 192.168.0.2, the IP address of PC2 can be set to 192.168.0.3, as long as it is in this subnet. The unused IP address will do. 5. Firewall settings in the gateway host
If the gateway host has enabled the remote desktop (described in Windows XP Remote Experience) and has the firewall enabled, other online users on the Internet cannot remotely log in to your system. But if you want an expert to remotely log in to any PC in the LAN (including the gateway host, this PC needs to have the function of remote desktop), to solve the problem for yourself, then do the following: Just the gateway host is an example. Right click on "Local Area Connection 1" -> "Properties" -> "Advanced" -> "Settings", check "Remote Desktop" and enter the machine to be logged in by the expert. The IP address or computer name is completed by pressing "OK" three times, and the expert can log in to any PC in the LAN through the firewall. The same method can control whether the Web service or FTP service of the LAN can be opened to the outside world, as long as the different services are selected as before. Second, there are only two PCs in the LAN, and the Internet access mode is ordinary telephone dialing
1. The network structure diagram is as follows
Description: The gateway host is connected to a normal modem connected to the telephone line, and is also equipped with a network card. PC1 is also equipped with a network card, and the two network cards are connected by crossover lines (there are many articles on the Internet that introduce cross-line practices) to form the simplest LAN. PC1 shares the Internet connection of the gateway host to access the Internet. This network structure is not suitable for expansion. 2. Gateway Host Settings
The operating system is Windows XP. Most modems will be automatically recognized and installed by the system. Let's 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 up my connection"->"Next" -> "Connect with a dial-up modem" -> "Next"-> Enter the ISP name: China Telecom 96169 -> "Next" -> Enter the dialed phone number, eg 96169->" Next "->Enter username and password->"Next"->"Complete". There is one more dialing icon in the network connection. To share this Internet connection, just right click on the dial icon -> "Properties" -> "Advanced". The settings in the future are the same as those in Case 1, including the settings of the network card connected to the LAN. 3. The configuration of the PC in the LAN
is the same as the setting of PC1 in Case 1. The settings for the firewall are as described above. As long as the gateway host dials up to the Internet, the mode of sharing the Internet with this small LAN can be operated. With the popularity of broadband networks, there will be more and more modes for building small LANs and sharing Internet connection resources in the home. Windows XP provides a cheap, secure, compact and easy-to-maintain solution for this model.
Copyright © Windows knowledge All Rights Reserved