How to connect a Qemu box to my network
Hello guys
I've got one virtual box(windows) managed with Qemu in my slack(12.1). My problem is regarding network connection of the virtual box. In my case i have one secondary ip on my eth0 192.168.1.1/24 and my virtual box 192.168.1.2/24. Somehow i need to bridge them :) If someone already tried or have a nice how to regarding this issue please give me a tip. thank you! |
I could add network to Qemu, but it creates an alternative net area, something like 10.0.0.0/8 with:
User Mode VLAN = 1 It creates the network and adds some kind of DHCP server on this virtual network, so your emulated W$ should find it out easily. |
Try ans see if these pages help you get your QEMU guest networked:
http://alien.slackbook.org/dokuwiki/...slackware:qemu http://alien.slackbook.org/dokuwiki/...=slackware:vde It works - I use this on a daily basis because QEMU virtual machines are where I build and test all my packages. Eric |
G'day, I haven't checked out Alien Bob's approach yet (quick look and it looks good), but you might also want to check out Wikibooks which just uses bridged networking.
|
i did it. it's working and to be very onest is.... nothing to do.... just to enable dhcp on that virtual box and qemu will assign some ip. Connection is already bridged with my lan.
thanks for help guys. |
Aha, so you had specified an IP address on your guest OS's NIC, and have now changed it to DHCP so that it functions using QEMU's user mode networking. Just note that it isn't full networking (ping won't work, for example, and incoming connections are blocked unless you redirect them through another port) but for most purposes that's just fine.
|
yeah... UDP , icmp packets are droped. But this could be fixed easy. :)
thanks a lot for help guys. P.S. I love this forum :) |
All times are GMT -5. The time now is 11:46 PM. |