Two or more laptops share the Internet through wireless NICs

Source: Internet
Author: User

The principle of this method is::Use a local database as the host,Connect with a network cableInternet,The other is connected to the host through a wireless network adapter on two machines.,Through the hostInternetConnect to the Internet.

The procedure is as follows::

1. Set host ( Ben X) Wireless Network Properties : IP Arbitrary Address Settings ( However, the number of each segment cannot be greater 255, Everyone knows ...), Set the subnet mask 255.255.255.0, Point " OK " Return" Wireless Network Connection Properties " Window , Select " Wireless Network Configuration " Tab , Point " Advanced " Button , In " Network to be accessed " Select " Only computers to computers ( Specific )", Point " OK " Return " Wireless Network Connection Properties " Window , Point " Add " Button to create a wireless network , Any Input " Network Name (SSID )"," Data Encryption " Select " Disabled ", Always point " OK " Continue , This configuration is enough. .

2. follow the steps 1 to set the ( Local Y) , note that : the first three sections of the IP address must be the same as the ip address , the fourth segment must be different. . for example, in step 1 , set the host's wireless network adapter ip address address: : 172. 16.148.56, the ip address of the client's wireless network adapter must be set to : 172.16.148.xxx, where XXX can be 0 ~ 56 . This setting ensures that the addresses of wireless network adapters of the two machines are in the same network segment. , the two machines can be connected to the LAN. .

3.In the Start menu of the host,Run"Run",InputCMD,Enter,In the pop-up command line window,InputIpconfig/All,Enter,Find the following section:

Ethernet AdapterLocal Connection:

connection-specific DNS suffix.:
description ...........: Broadcom Netlink (TM) Gigabit Ethernet
physical address .........: 00-17-a4-dd-e2-b2
DHCP enabled ...........: Yes
autoconfiguration enabled ....: Yes
ip address ............: 192.168.1.100
subnet mask ...........: 255.255.255.0
Default Gateway .........: 192.168.1.1
DHCP server ...........: 192.168.1.1
DNS servers ......: 221.228.255.1
192.168.1.1
Lease obtained ..........: 2008 Year4Month28Day22:23:56
Lease expires ......: 2008Year4Month29Day0:23:56

find the red line , , go to ip , set " the default gateway " to ip address of the wireless network adapter , in this example, set , to 172.16.148.56, set " DNS server " the address is the ip address marked in red. , 221.228.255.1 .

4.Open the host"Network Connection",In"Local Connection"Right-click,Select"Attribute",Then select"Advanced"Tab,Then"InternetConnection Sharing"Select"Allow other network users to accessInternetConnect",Then keep running"OK".

5.Under normal circumstances,This setting is okay..If not,Try shutting down the firewalls of both machines..

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.