Open your registry and find the key below.
Change the values from the table below according to your requirements:
System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SharedAccess\Parameters]
Parameters container is selected from the left pane, in the right pane, double-click the ScopeAddress and StandaloneDHCPAddress individually
On the opened Edit String box, modify the IP address range of your choice in the Value data field.
Once done, click OK to close the box.
Value Name: Enabled, IntranetInfo, EnableDHCP, EnableDNS
- Enabled (DWORD) – “1” = enable ICS, “0” = disable
- EnabledDHCP (DWORD) – “1” = enable DHCP server, “0” = disable
- EnabledDNS (DWORD) – “1” = enable DNS server, “0” = disable
- IntranetInfo (String) – comma-separated IP address of ICS host and the subnet mask (e.g. “192.168.0.1,255.255.255.0”).
Close the Registry Editor window and Restart Windows for the changes to take effect.
How to configure a Wi-Fi router to share your computer’s 3G data stick connection to everyone
- Connect to the Internet on your 3G data stick.
- Plug your laptop to one of the router’s LAN ports. Wait until the router connects correctly.
- Click Start > Control Panel > View Network status and tasks > Change adapter settings
- Right click the modem (or the connection where you get Internet from) > Status > Details. Write down the “IPv4 DNS Servers” on a piece of paper. Click Close once.
- Right click the Local Area Network > Status > Details. Write down the “IPv4 Default Gateway”. Click Close > Close.
- Open the browser and type the IPv4 Default Gateway on the addressbar. Routers are all different so you need to figure out where to find and configure the following:
- Review your wireless security settings. What is your SSID? What is your security key? Write this down.
- Under WAN, choose “Static IP” instead of “PPPoE” or “Automatic – DHCP”.
- Under WAN, set the WAN IP to 192.168.137.2
- Under WAN, set the Netmask to 255.255.255.0
- Under WAN, set the Gateway to 192.168.137.1
- Under WAN, set the DNS Server(s) to the “IPv4 DNS Servers” you got from step 4.
- Click Save.
- Unplug your laptop from the router’s LAN port and plug it to the WAN port. Wait until the router connects correctly.
- Go back to the “Network connection” screen on Step 4 > Properties > Sharing >
- Check “Allow other network users to connect through this computer’s Internet connection.”
- Under Home networking connection choose “Local Area Connection”
- Click OK then OK.
- Right click the Local Area Network > Status > Details. Is the IPv4 address “192.168.137.1”? If yes, then you’re done! Tell everyone to connect to the wireless router and they will be online.
NOTE: There’s a router-less method using “ad-hoc networks”, but using a router provides more range and can handle more connected computers or wifi phones.
To put things back to before.
- Uncheck the “Allow other network users to connect through this computer’s Internet connection.” on Step 7. Click OK.
- Unplug the laptop from the router’s WAN port and plug it into one of its LAN ports.
- Open a browser and visit the “IPv4 Default Gateway” address you got from Step 5.
- Switch the WAN setting from “Fixed IP” back to “Automatic – DHCP”. Save changes.
- You’re done!
Only one more thing: Sometimes, after the configuration, it is necessary to restart your modem, computer and router. In one situation, I connected them in this way. Modem → My Computer → Router → all other devices (like laptop, network printer, other computer).
Windows 2000 supports both Network Address Translation (NAT) and Internet Confection Shading (ICS) al1ow workgroup users to access to the Internet.. Windows 2000/XP Professional support only ICS. Internet Connection Sharing (ICS) enables a Windows (Win98SE, Win2K and XP) computer to share its Internet connection with computers on local area networks. The computer connecting directly to the Internet and shares its connection with the rest of the computers on the network called the ICS host. In addition, the ICS host provides DHCP to ICS clients. Client computers are protected because they cannot be seen from outside the network. Only the computer running ICS is seen from the public side.
We assume you have all computers physically connected, and the ICS host have two network connections: one (for example Internet in our case) for the Internet such as a dial-up (PPP or ISDN), cable modem, DSL, or other broadband Ethernet connection, and another one (LAN) , for the local area network.
Things you should know about ICS
- When you enable Internet Connection Sharing, IP address of the Interne NIC in the ICS server is always 192.168.0.1. All clients will be assigned other IP addresses in the 192.168.0.x range.
2. You should not enable ICS on the computer as a domain controller, DHCP server, or DNS server.
3. To enable ICS, you must be logged on as a member of the Administrators
4. You may experience some problems if you use NetMeeting and VPN in your ICS network.
5. You should have two NICs.
Enabling Host ICS – WinXP
To configure a WinXP ICS host, go to Start>Control Panel>Network Connation. Highline the Internet which connecting to a cable modem in our case. Under Network Tasks, click Change settings of this connection.On the Advanced tab, select the Allow other network users to connect through this computer’s Internet connection check box.
Configuring ICS Client
To setup a win9x (in our case) as ICS client to access the internet, you need to do two things.network settings and internet option settings.
- Network settings must be set Obtain IP Address Automatically – to do this, go to Network>Properties of TCP/IP.
2. The Internet browser should se set never dial a connection and no proxy server – go to Internet Options>Connection and LAN settings.
Client with Static IP can’t access the Internet
Many people have a difficulty to make static IP client to work with ICS. The client and host can ping each other but not Internet. Since the client is assigned static IP so that it also need to be assigned the DNS manually. To do that, go to properties of TCP/IP>Advanced>DNS to add your ISP DNS.
ICS Does Not Allow Other Users to Connect After You Log Off
Symptom: you setup ICS for other LAN clients to access the Internet. As long as you logon, it works. After the you logs off, the LAN clients can’t establish a connection any more
Resolution: This behavior can occur if the user saves the password before establishing the shared connection. That password and the ICS password are saved in different registry locations. When a LAN client tries to log on, the system looks in the ICS password key, finds no password, and denies access. To fix this problem, delete and then recreate the connection, without setting the username or password from the LAN clients. After you establish the connection, click to select the Save Password check box when you log on.