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

Reply via email to