Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Networking with QEMU 0.9.1? (Emulation)

posted by rr(R) Homepage E-mail, Berlin, Germany, 12.02.2008, 15:30

> I find the DOS NIC drivers (or perhaps QEMU's emulation of the NICs...) to
> be a bit buggy.

What problems did you have?

> qemu -net nic,model=ne2k_isa

That ne2k_isa was a big step forward. :-) Before, packet driver loaded "successfully", but showed all FF for the MAC address. ;-)

Did anybody try model "rtl8319"? I tried, but packet driver version 3.44 hung.

> The NE2000 packet driver should then work.

I use the one from "pktd11.zip".

> Note that with this setup, the network is sort of emulated as well. DHCP
> will give you an IP of 10.0.2.15, and your host PC will be 10.0.2.2. Keep
> in mind that the host can't contact the emulated PC directly.

I use -net nic,model=ne2k_isa -net tap,ifname=tap0 now, but I'm still not satisfied, because there are too many things hard-coded now. I had to turn off DHCP for my real NIC (192.168.0.176), because I had to tell my real router (192.168.0.20) how to find QEMU's subnet (route traffice for 192.168.200.1/255.255.255.0 over 192.168.0.176). That would be OK for one network, but I'm connected to two networks at least (one at work, the other at home).

Here's my current configuration:

Host OS

Broadcom NetXtreme Gigabit Ethernet:
IP address     : 192.168.0.176
Subnet mask    : 255.255.255.0
Default gateway: 192.168.0.20
DNS server     : 192.168.0.20


TAP-Win32 Adapter V8:
IP address     : 192.168.200.1
Subnet mask    : 255.255.255.0
Default gateway: 192.168.0.20
DNS server     : 192.168.0.20


Guest OS

NE2000:
IP address     : 192.168.200.2
Subnet mask    : 255.255.255.0
Default gateway: 192.168.200.1
DNS server     : 192.168.0.20


I would like to remove this permanent route from my real router to get DHCP back for my real NIC. Any idea?

 

Complete thread:

Back to the forum
Board view  Mix view
15113 Postings in 1359 Threads, 249 registered users, 15 users online (0 registered, 15 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum