Network tutorial-small networking

Source: Internet
Author: User
Recently, many people are still asking how to connect to a home network or a small network. What are the methods. Here I will provide you with various solutions based on my own understanding to see which one can be used. It indicates limited capabilities. I do not know if you can understand it.

1. access the Internet from one machine (direct connection)

2. connect multiple machines to the Internet and use a Broadband Router (express Connect)

3. access the Internet from multiple machines using vswitches. (Express Connect)

4. Use dual NIC (cross Line) to access the Internet from two machines)

5. One machine has a wireless network card, or both machines have a wireless network card to share the internet. (Wireless)

1. access the Internet from one machine (direct connection)
Connection Method: telephone line-ADSL modem-HOST 1:

This method is a single-host internet access, that is, direct dial-up Internet access. features: the PC directly has an Internet IP address, which is provided by the ISP provider. It is automatically obtained and can also be static, it depends on whether you have applied for a static IP address when reporting ADSL.
In this way, you can create a broadband connection on the PC or install the software provided by the ISP provider (such as the polar star) to perform the dial-up connection. If you want to run the script after installing it on the very fast star, enter the user name and password you applied. I will not talk much about it. If you create a broadband connection to dial up, let's see how to set it:
Desktop-network neighbors-right-click Properties. We can see our current local connection. This connection must be enabled (if it is not displayed, check your network cable and modem ), however, you can set up an IP address or an IP address for this connection. If you want to make it not displayed in the status bar, you can check the "display icon in notification area after connection" in the Local Connection Properties. Click "New Connection Wizard" under "Workshop"-"Next"-"2:

Select "connect to Internet"-Next Step 3:

Select "manually set my connections"-next step: 4:

Select "connect with a broadband connection that requires the user name and password"-next step: 5:

Enter the ISP provider name. Generally, enter "Broadband connection ". -- Next step: 6:

User name: the user name you applied for at the ISP provider (you can leave it empty here)
Password: the password you applied for at the ISP provider (you can leave it empty here)
Both hooks are hooked and are not explained. Next-complete the installation and create a shortcut on the desktop. Open 7:

Enter the user name and password, and click "Connect" to access the Internet. If you want to remember the password or something, you can choose.

2. connect multiple machines to the Internet and use a Broadband Router (express Connect)
Connection Method: telephone line-ADSL modem-broadband route-switch or host 8:

This method is the most common and the most common method, because we usually use this method when we have multiple computers or small companies at home, dormitories, etc. Let's take a look at how to set up:
This method is not used by the PC. You can use a broadband route to set the dial number. Remember:
1: The line from the modem to the router must be connected to the WAN port of the router.
2: If a vswitch exists, replace it with a crossover line if the switch has cascade ports.
3: Check the Router Web management IP address. If not, press the reset hole for more than 10 seconds.
Assume that the IP address of the router is 192.168.0.1.
First, connect the device, and then open a PC. Click "Network Neighbor"> "right-click" properties ">" Local Connection ">" right-click "properties"> "double-click" TCP/IP "to enter the Internet information:
IP Address: write any IP address in the same network segment as your Route IP address. For example, 192.168.0.10 can be used as long as the last IP address cannot exceed 255. Remember to use the same network segment. If the route address is 192.168.1.1, you need to write 192.168.1.2 ~ The number between 255.
Subnet Mask: 255.255.255.0 this is generally used for small LAN.
Default Gateway: Your Route IP address. Because our route IP address is 192.168.0.1, we enter 192.168.0.1.
DNS server: you can write the Internet DNS server address or use your Route IP address, but you need to set the DNS service for your route.
Backup DNS server: It is backup. You can leave it empty.
After entering the information, confirm-OK-Then open ie-enter the vro IP address, for example, http: // 192.168.0.1
The vro requires you to enter the user name and password 10:

This can be seen in the instruction manual, which is generally Admin. If the password is blank or the password is the same, you can search for it online. You can change the password after logging on. The broadband route settings are roughly the same. Let's take a look at the network parameters on the left. This is the parameter we want to set for accessing the Internet: 11:

Let's first look at "LAN port settings", for example, This Is The vro's intranet IP address and subnet mask. We can change the IP address, usually by default, you can change the security aspect. Let's take a look at the WAN port settings, that is, the Internet Settings, 12:

WAN Interface Type: select this option. If it is a static IP address, select a static IP address.
If you do not need to dial, that is, if you do not have a user name or password, please select Dynamic acquisition.
If you are dialing, you need the user name and password. Select pppoe

We generally use dial-up Internet access and require the user name and password. Therefore, select pppoe, for example.
User name: the user name you applied for at the ISP provider
Password: the password you applied for at the ISP provider
Next, select "On-Demand connection", that is, to connect when accessing data through the Internet. This is the default value and user-friendly. If you want to connect automatically, you can also select the following automatic connection option.
Click Save. -- Try again to get the Internet IP address and DNS.

Let's take a look at the DHCP server, 13:

This DHCP server is usually set by default. You can enable or disable it. If you manually set IP addresses for each PC, you can disable it. If you want the PC to automatically obtain the IP address, you need to set this.
Address pool start address: Write the start address to be allocated as the IP address
Address pool end address: Write the end address to be assigned as the IP address
You can select either of the following: If no route entry is specified, it will be automatically obtained.

At this point, our PC can basically access the internet. We can see our Internet IP address and the time when the connection was successful in the running status of the route. DNS and other information.

3. access the Internet from multiple machines using vswitches. (Express Connect)
Connection Method: telephone line-ADSL modem-switch-multiple PCs 14:

This method is suitable for users without broadband routers but with vswitches. Set it in Internet sharing mode. Let's take a look at the setting so that the PC can access the Internet at the same time. Select a host with better performance on the PC as the master PC. How can this host access the Internet through dial-up? Please refer to the first example for the Internet access method. After setting, connect to the Internet and the PC will be able to access the Internet. Let's set up sharing this broadband connection so that other PCs can access the internet. Click "Network neighbors"-"right-click Properties"-"Point broadband connection" (note: is a broadband connection, do not click Local Connection) -- Right-click Properties-advanced-15:

Hook "allow other network users to connect through the Internet of this computer ". The second check box is missing. Otherwise, a connection will be created when other PCs access the internet. If the ISP only allows one connection, the network cannot be connected. The third hook is hooked by default. Click "set", 16:

Hook up the network services you want to share. You can hook up all the services or choose to hook them up. Generally, You need to hook up Web Services, secure Web Services, and FTP services. When you hook up, you will need to set the IP address and port, 17:

Enter your computer name or IP address in the computer or IP address field. The IP address 192.168.0.1 remains the same, as long as the Internet is shared, it must be the IP address. After setting, press OK and click OK. This window will pop up, indicating that if you want to enable sharing, you must set the local connection IP address to 192.168.0.1. Click "yes", 18:

At this time. Once again, choose "Broadband connection"> "right-click Properties"> "advanced"> "Settings"> "19:

You will find that there are many more options than just now. By the way, we can enable DNS settings, DHCP, and other services, hook them up, and fill in the IP address 192.168.0.1, we can automatically obtain the IP address on another IP machine and access the Internet normally. If you do not want to enable automatic access to IP addresses. You can set it on other PCs as follows:
IP Address: 192.168.0.2 ~ 192.168.0.255
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
DNS: enter Internet DNS. You can run the config/all command on the master PC, Enable DNS on the host, and set it to 192.168.0.1. This is a shared Internet access method for vswitches.

4. Use dual NIC (cross Line) to access the Internet from two machines)
Method: telephone line-ADSL modem-PC1 (dual Nic)-PC2 (with cross Line) 20:

This method is suitable for users without routers and vswitches. You can use a crossover line and a dual-nic PC to share the internet. The method is the same as using a vswitch to share the Internet, that is, the above 3rd cases. Do not share the broadband connection multiple times. Do not set an error.

5. One machine has a wireless network card, or both machines have a wireless network card to share the internet. (Wireless)

Method 1: telephone line-ADSL modem-PC1 (with wireless network card)-PC2 (with wireless network card) 21:

Method 2: telephone line-ADSL modem-route -- pC1 (with wireless network adapter)-PC2 (with wireless network adapter) 22:

The two methods have the same principle, but they must be shared differently. The first method is to share the broadband connection, and the second method is to share the local connection of the connection route. Let's take a look at the sharing method.
The first problem to consider is that the two computers can be connected through a wireless network card. That is, how to make these two machines into a LAN. You can select a primary PC. First, check whether the Wireless Zero Configuration Service in the service is enabled. If not, enable it.
Click "Network Neighbor"-"right-click" properties "-" wireless network connection "-" right-click "properties"-"configure my wireless network settings in Windows"-click "advanced" (note: not the above advanced, but below) -- select "computer only to computer"-OK-then click Add under wireless network configuration -- Network Name (SSID) write a happy network name, for example, cfanhome. Hook "this is a computer to a computer (specific) network; do not use wireless access point (c)", you must HOOK: -- click OK

Next, choose "Network Neighbor"> "right-click" properties ">" wireless network connection ">" right-click "properties"> "general"> "double-click" TCP/IP protocol ">" fill in the IP address and other information. The server must share services, so our IP address must be 192.168.0.1.
IP Address: 192.168.0.1
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
DNS: Enter the Internet DNS. If there is a router connected, you can directly write the router IP address. Vro enables DNS

At this time, we set the IP address and other information on the other machine. The last IP address is not the same. The other IP address is the same as the last IP address. Then we can start the wireless network connection to find a cfanhome wireless network, you can set the wireless connection property manually if you do not find it. The connection is consistent with the above PC information.

After the connection, you can use a broadband connection or a local wired connection to share it with the wireless network. The sharing method is the same as the above 3rd methods. I will not talk about it here. I am tired of writing. I hope it will be helpful to you.

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.