Networking with QEMU 0.9.1? (Emulation)
> 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?
---
Forum admin
Complete thread:
- Networking with QEMU 0.9.1? - rr, 11.02.2008, 18:49 (Emulation)
- Networking with QEMU 0.9.1? - sol, 11.02.2008, 23:00
- Networking with QEMU 0.9.1? - rr, 12.02.2008, 15:30
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 00:26
- Networking with QEMU 0.9.1? - rr, 15.02.2008, 17:32
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 19:38
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 19:41
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 19:43
- QEMU 0.9.1 / Win32 available - Rugxulo, 16.02.2008, 23:53
- QEMU 0.9.1 / Win32 available - rr, 17.02.2008, 14:29
- QEMU 0.9.1 / Win32 available - Rugxulo, 16.02.2008, 23:53
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 19:43
- Networking with QEMU 0.9.1? - rr, 17.02.2008, 22:13
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 19:41
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 19:38
- Networking with QEMU 0.9.1? - rr, 15.02.2008, 17:32
- Networking with QEMU 0.9.1? - sol, 15.02.2008, 00:26
- Networking with QEMU 0.9.1? - rr, 12.02.2008, 15:30
- Networking with QEMU 0.9.1? - Wengier, 12.02.2008, 19:43
- Networking with QEMU 0.9.1? - sol, 11.02.2008, 23:00