LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-28-2010, 09:24 AM   #1
ccc123
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
QEMU: tap networking issue Host: windows 2003 server, guest: Ubuntu 9.04


host is windows 2003 server 64-bit
guest is ubuntu 9.04 server 64bit

Qemu : 0.11.1
Qemu manager: 7.0

from Qemu manager, if network card is using User Networking, it's a NAT and I can see that Guest Ubuntu has an ip address 10.0.2.15 and is able to access the internet.

However, as Guest ubuntu is running server so I want to do use Tap networking and I assue with Tap, the Guest ubuntu will get an ip address which is in the same subnet as host machine by dhcp.

so from Qemu Manager 7.0, I changed Network card to be:

NE2000PCI
Vlan Number =0
VLAN Type: Tap Networking
Mac address: tap0's mac address from host
TAP Network Adpator: Tap0

Note that tap0 was created by openvpn.

and then fired Ubuntu guest, ifconfig shows
no ip address on eth0 (which has the same mac address as Tap0)

so the guest Ubuntu has no ip address and can't access public.

my question is: How to make it working?
 
Old 10-28-2010, 09:26 AM   #2
ccc123
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
any guide for Host=Windows and Guest =Linux?

from the qemu manager, the command is:

"C:\Program Files (x86)\QemuManager\qemu\qemu-system-x86_64.exe" -L "C:\Program Files (x86)\QemuManager\qemu" -M "pc" -m 512 -cpu "qemu64" -vga cirrus -serial vc -parallel vc -name "Ubuntu64" -drive "file=E:\share\QemuImage\Ubuntu64.qcow2,index=0,media=disk" -drive "file=E:\share\sw\ubuntu-9.04-server-amd64.iso,index=2,media=cdrom" -boot order=cd,menu=off -enable-kqemu -net nic,vlan=0,macaddr=52-54-00-93-02-11,model=ne2k_pci -net "tap,vlan=0,ifname=tap0" -localtime

Last edited by ccc123; 10-28-2010 at 09:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware: XP Host; Ubuntu Guest; Bridge Networking. VMnet0 problem masque7 Linux - Networking 1 10-14-2010 10:44 AM
Running Windows Server 2003 under qemu in a secure Linux sandbox neilcpp Linux - Software 1 02-16-2009 12:10 AM
windows server 2003 as a host system for LINUX guest system VPS h@foorsa.biz Linux - General 2 09-22-2008 06:17 AM
Windows XP Host with Ubuntu 7.10 Guest - USB device issue Irene Chan Linux - Newbie 3 02-25-2008 10:29 AM
Ubuntu Host Virtualbox guest Networking weirdness ddales Linux - Networking 0 01-20-2008 02:24 PM


All times are GMT -5. The time now is 01:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration