WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: linux hvm network problem

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: linux hvm network problem
From: "Marco Strullato" <marco.strullato@xxxxxxxxx>
Date: Thu, 6 Dec 2007 17:30:33 +0100
Delivery-date: Thu, 06 Dec 2007 08:36:46 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=eOyBvpZeFX8dvxUtRhEBUDpNSgVr8YLDis98AiaZaLY=; b=Bg8ZQPS/vfzHypwvdASLLRUo/2nDlUgatbLIZO6cv7yrgA/7NzD0/56r4YKU11yXHUUBA2CBaU3f1Jwrtg2dfGbhcJ+nkcNy+Ik/vcFX0iVWWLNtSa6ulAMVsBitx/tAuHT5mTg674klnhBTAnek0zUYIIWknY2e4qGXg5sAvGQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NcqGVwQ/HrOll140+DynM1QOYggUCaICQjrBkNLw73MQ/jzVXQoKto8OtE2VE9UW3KgTHcL5g8/wwBCsgl++pqGujHhhG9k6JFH3QJ1oPTfCnAccqVyh4ZyMTYHNX1cK1D5FCGDJZoe4W0qvDhO/O9gIzblyCauP4rceJkf9yVw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b9f669850712060821k4d60796el4abeb8bbfc81ce3e@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b9f669850712060821k4d60796el4abeb8bbfc81ce3e@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I've noticed this into log files:

Dec  6 17:23:05 HYP02 kernel: device tap0 entered promiscuous mode
Dec  6 17:23:05 HYP02 kernel: audit(1196958185.809:38): dev=tap0 prom=256 old_prom=0 auid=4294967295
Dec  6 17:23:05 HYP02 kernel: xenbr0: port 3(tap0) entering learning state
Dec  6 17:23:05 HYP02 kernel: xenbr0: topology change detected, propagating
Dec  6 17:23:05 HYP02 kernel: xenbr0: port 3(tap0) entering forwarding state
Dec  6 17:23:06 HYP02 kernel: device vif18.0 entered promiscuous mode
Dec  6 17:23:06 HYP02 kernel: audit(1196958186.493:39): dev=vif18.0 prom=256 old_prom=0 auid=4294967295
Dec  6 17:23:06 HYP02 kernel: ADDRCONF(NETDEV_UP): vif18.0: link is not read

About DomU, network packets does'n pass through vif18.0 but only though tap0 and xenbr0...

into the qemu log, I have

domid: 18
qemu: the number of cpus is 2
shared page at pfn:5ffff, mfn: 24fca
buffered io page at pfn:5fffd, mfn: 24fcc
char device redirected to /dev/pts/1
False I/O request ... in-service already: 0, pvalid: 0, port: 0, data: 0, count: 0, size: 0
False I/O request ... in-service already: 0, pvalid: 0, port: 0, data: 0, count: 0, size: 0

Thanks,

Marco



2007/12/6, Marco Strullato <marco.strullato@xxxxxxxxx>:
Hi all,
I'm having network problems with hvm.
My conf is centos5 with xen 3.0.3. I'm booting a RedHat 9 with this conf file

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1536
shadow_memory = 8
name = "SERVER"
vcpus=2
pae=0
acpi=0
apic=0
disk = [ 'phy:/dev/HYP02VM/LUMINA,ioemu:hda,w',  ]
device_model = '/usr/lib/xen/bin/qemu-dm'
sdl=1
vnc=1
vnclisten="0.0.0.0"
vncdisplay=1
vncunused=1
vncconsole=1
vncpasswd='abc123'
nographic=0
stdvga=0
serial='pty'
vif = [ 'type=ioemu, bridge=xenbr0, model=ne2k_pci']

After the 1st boot, the guest recognize the new configuration and reconfigure the network correctly with kudzu: the guest can reach the dhcp server and get a valid ip address. After the first connection to the dhcp server the guest became "isolated". I mean I can not connet to the default gateway. I tried to assign manually the ip address but nothing changes.

I took a tcpdump on the dom0 listenting to the bridge and to the hvm domU. I have the same result:  only arp requests


10.0.1.29 is the ip address of the hvm guest... the other is the mine ip.


15:53:30.472523 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:31.492565 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:32.492586 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:33.492619 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:34.492697 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:35.492687 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:36.492717 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:37.492786 arp who-has 10.0.0.34 tell 10.0.1.29
15:53:38.492787 arp who-has 10.0.0.34 tell 10.0.1.29


Do you have some suggestions? Dom0's network is running  well, I have other linux paravirtualized vm running...


Regards,

Marco



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>