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] Please help - Xen networking problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Please help - Xen networking problem
From: Yongjun Jeon <yongjunj@xxxxxxxxxxxxxx>
Date: Tue, 31 Jul 2007 10:06:22 -0400 (EDT)
Cc: Yongjun Jeon <yongjunj@xxxxxxxxxxxxxx>
Delivery-date: Tue, 31 Jul 2007 10:06:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi list,

I've been googling around for several days now, but with no luck. I'm hoping someone here might be able to help me out...

I've installed and run Xen 3.0.4 (I need this specific version) with no problem, and the guests run smoothly; the only problem is that I have never been able to get the guests to ping the host (Dom0), or vice versa. I cannot access the internet from the guests, but it works fine on Dom0.

I have only one NIC on Dom0 (eth0) that connects to the internet. Right now I'm just trying to get the guests and Dom0 to recognize each other, let alone guests'
internet access.

I've tried network-bridge, network-nat, network-route, and even some custom scripts such as network-private (http://lists.xensource.com/archives/html/xen-users/2006-09/msg00925.html) and network-virtual (http://en.opensuse.org/Xen3_and_a_Virtual_Network), with no success. I've tried all I could, but here's one thing I believe is the problem. When I run ifconfig on Dom0, I see this on the guest's vif:

vif2.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

As you can see, I don't see a "RUNNING" flag on guests' vifs.
Can anyone please help me out? I'm completely lost here.

I'm running Ubuntu 7.04, and I'm experimenting with an HVM guest (Windows XP). I am using a BroadCom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02), and I am currently using the BroadCom driver. I've also tried the ethtool command you gave me, but it didn't work either.

Rather, here's what I saw when I did ethtool on vif's:

root@perodua:~# ethtool vif0.0
Settings for vif0.0:
        Link detected: yes
root@perodua:~# ethtool vif2.0
Settings for vif2.0:
        Link detected: no
root@perodua:~#

So it seems that my HVM Windows XP guest is not "plugged in", hence no "RUNNING" flag on ifconfig; how should I go about fixing this?

I'm even more confused now because the following post (http://lists.xensource.com/archives/html/xen-devel/2005-12/msg00017.html) suggests that a tg3 based machine (tg3 is the name of the BroadCom driver) works out of the box with no hassle.

Any ideas? Any help is appreciated.

Also, if it helps, the following is my guest domain config file:

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 196
name = 'vm1'
vif = [ 'type=ioemu, mac=00:16:3E:00:00:01, bridge=xenbr0' ]
ip="192.168.0.2"
netmask="255.255.255.0"
gateway="192.168.0.1"
disk = [ 'file:/xen-images/hvm_winxp/winxp-qcow.img,ioemu:hda,w', 'file:/xen-images/iso/winxppro.iso,hdc:cdrom,r' ]
device_model = '/usr/lib/xen/bin/qemu-dm'
boot="c"
on_poweroff = 'destroy'
on_crash="preserve"
on_reboot="preserve"
sdl=0
vnc=1
vncviewer=1
localtime=1
usb=1
usbdevice='tablet'

Thx,
Jun


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Please help - Xen networking problem, Yongjun Jeon <=