OSDev.org
https://forum.osdev.org/

Using QEMU to connect to network, PLEASE help
https://forum.osdev.org/viewtopic.php?f=1&t=32625
Page 1 of 1

Author:  tyrannicrex [ Wed Dec 06, 2017 10:21 pm ]
Post subject:  Using QEMU to connect to network, PLEASE help

Hello guys, i just finish writing driver for e1000 on my kernel ,
After finding information on the Forum , i use TAP to bridge between my TAP network and the physical internet ( i m using Windows qemu)
When i successfully found my package in TAP , nothing shows up at Real physical internet network! i don't understand why.
What could be the possible problem?
i will like to offer 200$ for somebody to help me with this, thanks
if you know how to help me leave your skype email , thanks!

Author:  tyrannicrex [ Thu Dec 07, 2017 9:21 pm ]
Post subject:  Re: Using QEMU to connect to network, PLEASE help

UP to 400$, thanks,

Author:  digo_rp [ Sat Dec 23, 2017 10:59 am ]
Post subject:  Re: Using QEMU to connect to network, PLEASE help

Sorry, but, what TAP to bridge and TAP network means? I just finished network at my os, and I must tell you, it is not so hard to do...

may I can help you

Author:  OSwhatever [ Sat Dec 23, 2017 2:17 pm ]
Post subject:  Re: Using QEMU to connect to network, PLEASE help

There are two common ways of getting network to work in qemu in Windows. Either use a TAP device or use the qemu "user network stack" networking.

With TAP you basically get a bridged networking. You probably need to set a fixed IP address with a TAP device as in Windows network adapters don't get a DHCP server automatically. Network interfaces are treated as DHCP clients. You perhaps can setup a DHCP server for that adapter but that would require extra setup.

The we have the "user" networking which is a network stack in user mode by Qemu. In this case Qemu has a built in DHCP server and offers an address for you. In this case qemu handles the network traffic for you.

I recommend using the user network stack options as it the easiest to use and works like you system is the client of a network.

Author:  Korona [ Sat Dec 23, 2017 4:38 pm ]
Post subject:  Re: Using QEMU to connect to network, PLEASE help

I cannot comment on Windows hosts but for TAP networking, the same DHCP server that allocates an IP for the host should also allocate the IP for the guest if you have a DHCP client in your OS (which is one of the things you should write for your OS if you want to support networking).

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/