Hi These are interesting problems. :) If the real lan happen to be 10.0.2.x, then dosemu wont be able to access it indeed. There is no simple solution for this at the application level, unless massively performing arp proxyfication, thus acting like a bridge for local lan accesses... Or dynamically changing the virtual net to avoid collisions (like you did). But i do not regard this as a problem, in most situations the user wants to access internet, and cares little about local lan access (or at least I do).
About dns: it is a service provided by slirt, and i do not know exactly how it detects dns settings, but it claims to be smart enough to work in most real life situations. :) Taprouter's role only provides the slirt dns via dhcp. Cheers Mateusz bo...@geodb.org wrote: >Hello Mateusz > >Your tool sounds good. Some years ago, I wrote a shell script to >automatically configure my DOS application with the bridge/tap and >DOSEMU. It required root privileges and was a little pita... >Unfortunately, this DOS app has it's own TCP stack and does not support > >DHCP. > >I the wild, I got two problems with this script: > >The first problem was if the LAN had the same IP addresses as the >virtual net (in your case 10.0.2/24). I've done a detection in the >script and used an alternate net in this case. > >The second problem is the DNS I used. Newer Linuxes tend to use DNS >masquerading and configure the host to use the local DNS server running > >on the local net (127.0.0.1). My script uses the DNS from the >"resolv.conf", which in this case can not function, due the host local >net is not reachable from the virtual net. To work around this, one >either has to find the real DNS servers, use a public DNS server (like >Google, but the you can't access local resources) or implement its own >DNS server... > >Don't know if this is related to your implementation. But I had to >write >this. > >Cheers >Andreas > >------------------------------------------------------------------------------ >This SF.net email is sponsored by Windows: > >Build for Windows Store. > >http://p.sf.net/sfu/windows-dev2dev >_______________________________________________ >Dosemu-devel mailing list >Dosemu-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/dosemu-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Dosemu-devel mailing list Dosemu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dosemu-devel