[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [SPAM] [Xen-users] Xen networking problem



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'

Thanks.

On Mon, 30 Jul 2007, Yongjun Jeon wrote:

Hi Hinrich,

Thanks for your response.
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.

Thx,
Jun

On Mon, 30 Jul 2007, Hinrich Aue wrote:

When you use broadcom network cards, try the Broadcom drivers instead of the
linux kernel driver.

http://www.broadcom.com/docs/driver_download/NXII/linux-1.5.10c.zip

When you have other network cards, look at this:

http://lists.xensource.com/archives/html/xen-users/2006-05/msg00817.html

or so. You have to make ethtool -K nicX tx off
while nicX is your network adapter or bridge.

Google for that a little more. You can adjust you scripts to do that
automatically on startup.

Hinrich


-----Ursprüngliche Nachricht-----
Von: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Im Auftrag von Yongjun Jeon
Gesendet: Monday, July 30, 2007 6:31 PM
An: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: Yongjun Jeon
Betreff: [SPAM] [Xen-users] Xen networking problem

Hi,

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.

If it helps, I'm running Ubuntu 7.04, and I'm experimenting with an HVM
guest (Windows XP).

Thx,
Jun


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


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.