Subject :Re:wanting to use hsmm-mesh along with wireless network access to internet on same laptop
Well, this is basically a routing issue. If you obtain DHCP from both networks you most certainly get default gateway also, from both networks.
This information make up the routingtable in your computer and the tricky part is to route correct traffic to the correct network.
In this situation DHCP is not the best solution and since you only have one computer that needs access to the internet I would propose that you assign it static IP on the nic facing the mesh and obtain DHCP from your network facing Internet.
This way you have a default route towards Internet to start with.
Then you need to assign a static route on the computer pointing out the mesh network(s) via your closest mesh node. Also make sure that you´re assigned, from the DHCP server, DNS settings such as your mesh node is primary and f.ex. google is secondary.
If you want, you could also let the DHCP server deliver the mesh routes, but you´ll have to configure the DHCP to obtain this result.
This might sound a bit clumsy, but it is the way to go if you run Windows on your computer. If you´d run Linux on your computer you could, theoretically, implement a vector routing protocol, found in the quagga package, to collect the routing information from your closest mesh node. You might, however, as I just thought of, have some luck with the OLSR implementation for Windows, but I have not tried that myself. |