Tag Archives: network

Windows 7 as Mobile Broadband router/gateway

Setting up Windows 7 as a gateway/router for a mobile broadband connection is simple, if you just understand what is going to happen. At the moment of writing this I’m currently using this solution for internet access as my ADSL land line is down and I wanted a solution that ment minimal impact on my home setup.

 

What we are going to do in 3 simple steps

  1. Setup a computer with Window 7 to share a mobile broadband connection through a Huawei modem. (This will be the gateway/router)
  2. Reconfigure all affected devices to access internet
  3. Surf surf surf!!!

Here we go!

  1.  Connect the dongle to the “gateway/router” computer.
  2. Verify internet access
  3. Open Network Settings and select the dongle adapter
  4. Right click and select properties
  5. Select “Share this connection” (THIS ONLY WORKS IF YOU HAVE 2 OR MORE ADAPTERS!!)
  6. Select the network that is on the “home/safe” side of the connection (you private LAN or WIFI)
  7. Done! Now Internet Connection Shring is enabled (ICS for short)
  8. Now the “home/safe” adapter has been DHCP Server enabled (beware if you have a DHCP server already!) and the adapter has been assigned the IP 192.168.137.1. The DHCP scope is 192.168.137.0/24.
  9. Now its time to set up the clients, manually!
  10. On the clients goto Network Settings and select the adapter you are currently using to access you network (LAN or WIFI)
  11. Manually set the following:
    1. IP: 192.168.137.xxx (select a number between 100-199 per client)
    2. Mask: 255.255.255.0
    3. Gateway: 192.168.137.1
    4. DNS: 192.168.137.1
  12. Now Surf!

To reset every thing to normal once you are done, just change all client adapters to DHCP and remove the “Share this connection” on the mobil broadband adapter.

Why set up IP manually u ask? Well, I want minimal interference with my current setup and this allows me to selectively assign internet access to clients based on how good a connection to 3G/4G i have.

 

Good Links

ICS on Windows 7

 

Changing network type Win8/Server2012

Changing the network type on Win8/Server2012 has change since Win7. Now you have to switch this in local group policy intead. Here is a step-by-step how to change it:

  1. Type WinKey+R
  2. Type gpedit.msc, hit enter
  3. Browse down to Computer Configuration > Windows Settings > Security Setting > Network List Manager Policies
  4. Dubbelclick on you desired network
  5. Click on tab “Network Location”
  6. Under “Location Type” set the value that you want.
  7. Close gpedit.msc

Now your all done

1-Local Group Policy Editor 2- Properties