Bridged Wifi/Lan Breaks When Connected to Different Wifi

mpriestm

Honorable
Jul 31, 2013
3
0
10,510
I successfully bridged the Wifi and LAN networks on my laptop to allow me to receive internet via laptop wifi and provide that connection to a desktop via LAN. The bridge on the laptop is setup to receive IP via DHCP from the wifi network. The desktop has a fixed IP set based on the subnet/gateway/DNS of the specific wifi network I am connected to. Because of this, when I connect to a wifi network with a different subnet/gateway/DNS, I have no internet. Can anyone think of a way to make this work, ie. make the bridge independent of the wifi network? Perhaps there is an application that would allow me to create a buffer between the wifi network and the bridge that allows me to set a fixed internal IP and dynamic external IP; kind of like a router...

Thanks.
 
Solution
Now if you have a true bridge then your laptop should just pass the dchp request from the desktop up to whatever is giving out addresses on the wireless. Sounds like something is blocking DHCP in the laptop.

You can make you laptop act as a router by sharing the wireless port to the lan port using ICS instead of bridging it. Microsoft has very good instructions on their site to set it up. It mostly works but tend to get random strange outages that I suspect are related to other software running on the "router". If you can avoid using the laptop for anything when you are using it as a router it works ok. Still unless it is a junk laptop you are much better off buying yourself a real bridge device

SolianHelix

Honorable
Aug 1, 2013
21
0
10,540
How are you connecting your laptop to your desktop? If you think just plugging an ethernet cable from one to the other without the use of a router is going to work, you are mistaken. If your connection is bridged properly through your laptop, you just need to get your laptop to talk to the desktop. Give your desktop a static IP (you've already done this) but don't base it off what wifi you are connected to.
 
Now if you have a true bridge then your laptop should just pass the dchp request from the desktop up to whatever is giving out addresses on the wireless. Sounds like something is blocking DHCP in the laptop.

You can make you laptop act as a router by sharing the wireless port to the lan port using ICS instead of bridging it. Microsoft has very good instructions on their site to set it up. It mostly works but tend to get random strange outages that I suspect are related to other software running on the "router". If you can avoid using the laptop for anything when you are using it as a router it works ok. Still unless it is a junk laptop you are much better off buying yourself a real bridge device
 
Solution

mpriestm

Honorable
Jul 31, 2013
3
0
10,510


The laptop and desktop are connected via their respective ethernet ports. The LAN and Wireless connections are bridged on the laptop. The internet is accessed via the wireless on the laptop and is provided to the desktop via the bridge. The IPV4 of the bridge is set to obtain an IP automatically and IPV4 of the desktop has fixed IP with subnet, gateway and DNS matching that of the bridge. This all works perfectly. The problem arises when I attempt to connect to a different wireless network that does not have the same subnet, gateway and/or DNS of the first.


 

mpriestm

Honorable
Jul 31, 2013
3
0
10,510


I tried the ICS setup and was able to set it up successfully; however, I am not able to set the desktop to automatically obtain an IP, as requested by windows, because it is hooked up to a piece of industrial equipment that requires this desktop maintain a static IP. When setting up the ICS, windows informed my LAN connection would be using 192.168.137.1, so I attempted to set the desktop IP to 192.168.137.16 and simplly used 192.168.137.1 for Gateway and DNS addresss and it worked perfectly! Thanks for the help!