Network Bridge connection on Windows 10

Page 1 of 2 12 LastLast

  1. Posts : 16
    10
       #1

    Network Bridge connection on Windows 10


    I have 2 internet connections. Sometimes one is gone down and I have to manually switch to another connection. Apparently, if I bridge the connections in the windows network connection setting it should automatically switch to the other internet connection when one is down. i have tried that, I have successfully established a bridge, but when the ethernet one goes down it does not continue to work on my wifi isp. is there a step I am missing?
    Thanks
      My Computer


  2. Posts : 4,192
    Windows 11 Pro, 22H2
       #2

    That is not what bridging does in Windows.

    Suppose your desktop has both an Ethernet adapter and a WiFi adapter. It uses the Ethernet connection for connection to the Internet. If you bridge the Ethernet and WiFi adapter, you can allow other systems using WiFi to connect to your Desktop via WiFi and then bridge them to the Ethernet network to get access to systems on the Ethernet segment and to the Internet.

    However, to accomplish what you want, do this:

    Open Control Panel > Network and Sharing Center > Change Adapter Settings > Select your Ethernet Adapter by right-clicking it and choosing properties.

    On the Networking tab select Internet Protocol Version 4 (TCP/IPv4) and then click on Properties. Goto the Alternate Configuration tab. Select User configured and configure your IP address settings.

    This article provides more info on Network Bridging:

    How to set up and manage a Network Bridge connection on Windows 10 | Windows Central

    Here is some info regarding the Alternate IP Address Configuration:

    How To - What Does the Alternate IP Address Configuration Do? | Tom's Hardware Forum
      My Computers


  3. Posts : 4,192
    Windows 11 Pro, 22H2
       #3

    Update: I thought about this a little bit more and there may be more that needs to be done to make this work.

    The problem is that if you follow the steps I described above, that solution would work and cause your system to use the alternate configuration ONLY if your system is not getting addressing information from DHCP on your primary network. In other words, just the Internet connection going down by itself may not be enough to make it use the alternate configuration. So long as your system is getting IP addressing info handed to it from the primary network, it will use that addressing info.

    So, I have a question now: When you switch to the other Internet connection, how do you do this? The issue here is that we need to make sure that you are not still getting address information from the first router or your computer will continue to use that primary addressing info.
      My Computers


  4. Posts : 16
    10
    Thread Starter
       #4

    hsehestedt said:
    Update: I thought about this a little bit more and there may be more that needs to be done to make this work.

    The problem is that if you follow the steps I described above, that solution would work and cause your system to use the alternate configuration ONLY if your system is not getting addressing information from DHCP on your primary network. In other words, just the Internet connection going down by itself may not be enough to make it use the alternate configuration. So long as your system is getting IP addressing info handed to it from the primary network, it will use that addressing info.

    So, I have a question now: When you switch to the other Internet connection, how do you do this? The issue here is that we need to make sure that you are not still getting address information from the first router or your computer will continue to use that primary addressing info.
    I got to most of the time disable the ethernet adapter. thanks
      My Computer


  5. Posts : 4,192
    Windows 11 Pro, 22H2
       #5

    Did some more thinking about this...

    Pretty much every setting for your network configuration can be set using the "netsh" command line. You could create two separate batch files. One would run all the commands needed to configure for access to ISP #1, the other to config for the alternate ISP.

    This timing is interesting: It just so happens that later today I have a second internet provider being hooked up to the house so I may actually experiment with this a bit over the next few days.

    When I have this all worked out, would you like me to provide some sample scripts to you?
      My Computers


  6. Posts : 16
    10
    Thread Starter
       #6

    hsehestedt said:
    Did some more thinking about this...

    Pretty much every setting for your network configuration can be set using the "netsh" command line. You could create two separate batch files. One would run all the commands needed to configure for access to ISP #1, the other to config for the alternate ISP.

    This timing is interesting: It just so happens that later today I have a second internet provider being hooked up to the house so I may actually experiment with this a bit over the next few days.

    When I have this all worked out, would you like me to provide some sample scripts to you?
    Yes that would be good, our main internet is provided wisp community wifi which connects to our ethernet, but because we are very rural and in the mountains, it disconnects frequently in bad weather, so then we got to use "mobile phone" 4g internet, thanks
      My Computer


  7. Posts : 4,201
    Windows 10 Pro x64 Latest RP
       #7

    There may be a way of achieving this using Powershell Scripting, which is beyond my knowledge, the issue we have is that Windows checks the physical connection so as long as the cable is connected to the router the system is working as far as windows is concerned whether there is an internet connection present or not

    in general this automatic failure protection (Fallover or Failover), is usually a function of the Router, this has to be one that supports Dual Lan/Wan which is rare on personal routers for home use - If the function is available you seperate the ethernet ports into two groups in software and set the system to switch to the other group if the connection fails to the group you are connected to
      My Computers


  8. Posts : 4,192
    Windows 11 Pro, 22H2
       #8

    @freeflow, my testing got delayed. My roommate was wrong - our second ISP is getting hooked up until NEXT Saturday, not this past Sat.

    Still, I looked at NETSH and it's possible to to script settings to switch from one Internet connection to another, but it looks like a royal pain in the neck.

    There are a lot of articles out there that say that you can backup a network configuration by using a command like this:

    netsh interface dump > NetworkConfig.txt

    This dumps a script which can then be used to restore those settings.
    Unfortunately, I simply can't get the script to restore settings properly. I always get errors. I get the impression that this may have worked in earlier version of Windows (like maybe Win 7) but that this functionality has been neglected and not updated by MS.
      My Computers


  9. Posts : 16
    10
    Thread Starter
       #9

    hsehestedt said:
    @freeflow, my testing got delayed. My roommate was wrong - our second ISP is getting hooked up until NEXT Saturday, not this past Sat.

    Still, I looked at NETSH and it's possible to to script settings to switch from one Internet connection to another, but it looks like a royal pain in the neck.

    There are a lot of articles out there that say that you can backup a network configuration by using a command like this:

    netsh interface dump > NetworkConfig.txt

    This dumps a script which can then be used to restore those settings.
    Unfortunately, I simply can't get the script to restore settings properly. I always get errors. I get the impression that this may have worked in earlier version of Windows (like maybe Win 7) but that this functionality has been neglected and not updated by MS.
    never mind thanks
      My Computer


  10. Posts : 4,201
    Windows 10 Pro x64 Latest RP
       #10

    I imagine that a lot of the network commands are reliant on code that never made it from the old server operating systems to the Workstation level operating systems, (or in some cases not even to modern Server operating systems)

    In the old days Servers were almost exclusively used to control networks, by people who were used to writing code snippets to do a task - these days we just use a Workstation level OS to do the same jobs, most of the time it works, but not always
      My Computers


 

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

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




Windows 10 Forums