Duplicate wifi connection but with different gateway

Page 1 of 3 123 LastLast

  1. Posts : 7
    Windows 7 SP1 Ultimate 64 bits
       #1

    Duplicate wifi connection but with different gateway


    Hello !

    My computer is connected using wifi to my access point. It connects fine, automatically at startup. But I would like to duplicate the network connection to be able to connect sometimes to the same access point with same parameters BUT the gateway.

    Is this possible to duplicate the connections in order to be able to connect automatically at startup with gateway 192.168.0.1 and sometimes to connect to my access point with gateway 192.168.0.10 ?

    Ideally, I would like to duplicate my wifi profile in Control Panel > Network and Internet > Manage Wireless Networks but here I cannot change the route settings of one profile without changing it for all profiles.Is there a solution ?

    Thank you very much for your help and advices !

    Trucmuche

    ps. oh, please forgive my poor english, I do my best ;-)
      My Computer


  2. aem
    Posts : 2,698
    Windows 7 Ultimate 64Bit
       #2

    You have one wireless adaptor right, if so you can only connect to one wifi at a time on that adapter. If you want to be able to connect to two different networks with different gateways, you need two different routers to first create the two networks (each router is basically a gateway), and second use wired connection to one and wireless connected to another. Uness you have a way to use your wifi adapter to connect to two different wireless networks you won't be able to do what you want to do.
      My Computer


  3. Posts : 7
    Windows 7 SP1 Ultimate 64 bits
    Thread Starter
       #3

    Thank you for your answer, aem !

    Yes, you're right : I have only one wireless card and I want to connect to ONE wifi at a time. I don't want to connect to two access points simultaneously. I would like to be able to connect to my own and unique wifi access point, sometimes with gateway 192.168.0.1 and sometimes with gateway 192.168.0.10.

    Of course I could go to the control panel and modify the TCP-IP v4 settings everytime I want to modify the gateway, but I would prefer a kind of shortcut... This is what I'm asking for...

    Many thanks again !
      My Computer


  4. aem
    Posts : 2,698
    Windows 7 Ultimate 64Bit
       #4

    Your default gateway is generally your router and is the first Ip on your network. I don't know how you can have two different IPs on the same device (ie your router).
      My Computer


  5. Posts : 7
    Windows 7 SP1 Ultimate 64 bits
    Thread Starter
       #5

    Well, so I have to explain why I ask the question... The reason is simple :

    Most of the time, I do NOT want Windows to be connected to the internet (and my technique is to configure voluntarily a "BAD" gateway). I only want him to connect to the WIFI AP and get an IP address because I use linux inside VMWare and allow linux to get himself an IP (different from the windows host) and correctly set the gateway to access the web inside Linux. This works perfectly.

    But SOMETIMES, at particular moments, I would like Windows to have access to the internet and in these cases, I have to connect to my wifi AP and allow him to set a correct gateway !

    So I would like to have two connection profiles for the same interface and the same access point, only different by the configuration of the gateway !

    This is why... Do you know how ?

    Many thanks !
      My Computer


  6. Posts : 120
    Win 7
       #6

    If I understand you correctly, you have two wireless routers. One has internet access. The other does not. Is that right?
      My Computer


  7. aem
    Posts : 2,698
    Windows 7 Ultimate 64Bit
       #7

    If you do not want Windows to connect to the internet, why do you need to connect to the router, or the network?

    If you want to connect to the wifi whenever YOU want to only, why not create the wifi network SSID which is not broadcasting. You can still connect to this non broadcasting wifi by selecting Other Network and put in the SSID and passphase manually. After you are don just disconnect and remove the SSID from the list.
      My Computer


  8. Posts : 7
    Windows 7 SP1 Ultimate 64 bits
    Thread Starter
       #8

    No... I have ONE wifi access point (vdsl modem+router). This vdsl modem is ALWAYS connected to the internet.
    I would like to connect to it and get an IP address, but I set myself an incorrect gateway address vonluntarily most of the time to connect my Windows to the Wifi access point WITHOUT allowing it to have internet access. And I would like to have another "connexion profile" to my wifi AP which allows Windows to set himself the correct gateway (192.168.0.1, which is the vdsl modem's IP).
      My Computer


  9. Posts : 7
    Windows 7 SP1 Ultimate 64 bits
    Thread Starter
       #9

    aem said:
    If you do not want Windows to connect to the internet, why do you need to connect to the router, or the network?
    I have it because I virtualize Linux and I want LINUX (but NOT the windows host) to access internet.

    I have to get my windows host connected to my wifi AP, letting him to get a local IP address but an incorrect gateway to stop traffic between windows and internet.
    My Linux virtualized machine then connects to my wifi AP, negociate himself an local IP address AND a correct gateway. This ALREADY WORKS.

    I would like to be able to set SOMETIMES the correct gateway in Windows to connect it to internet. I can do it manually in the TCP-IP properties of the control panel, but I only would like to create a SHORTCUT which allows me in one click to set and unset the correct gateway in Windows...

    Please, I have my own reasons to do that strange thing, I know this is strange... I only want to know HOW to do this... if this is possible...

    Thank you for your comprehension !
      My Computer


  10. aem
    Posts : 2,698
    Windows 7 Ultimate 64Bit
       #10

    You can create shortcuts to your wifi connection, but once you change the gateway details in ipv4, it changes for all the shortcuts. Try it and you'll see.

    The other way i think might be possible is if you create two hardware profiles for your machine, each with a different ipv4 setup. At startup you can choose which profile to use and that should give access to the nominated wifi settings.
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:26.
Find Us