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@lists.xensource.com
http://lists.xensource.com/xen-users
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@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Yongjun Jeon
Gesendet: Monday, July 30, 2007 6:31 PM
An: xen-users@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
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@lists.xensource.com
> [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Yongjun Jeon
> Gesendet: Monday, July 30, 2007 6:31 PM
> An: xen-users@lists.xensource.com
> 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@lists.xensource.com
> http://lists.xensource.com/xen-users
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
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 >> >> >> -----Ursprngliche Nachricht----- >> Von: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Yongjun Jeon >> Gesendet: Monday, July 30, 2007 6:31 PM >> An: xen-users@lists.xensource.com >> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I remember that the driver I downloaded from broadcom created a bnx2.ko
module that I then copied into the /lib/modules/2.6.18.xx/somewhere folder.
Are you sure the vorrect Broadcom driver (not the kernel driver) is loaded?
Hinrich
-----Ursprüngliche Nachricht-----
Von: Yongjun Jeon [mailto:yongjunj@andrew.cmu.edu]
Gesendet: Monday, July 30, 2007 8:08 PM
An: Hinrich Aue
Cc: xen-users@lists.xensource.com; Yongjun Jeon
Betreff: Re: AW: [SPAM] [Xen-users] Xen networking problem
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@lists.xensource.com
> [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Yongjun Jeon
> Gesendet: Monday, July 30, 2007 6:31 PM
> An: xen-users@lists.xensource.com
> 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@lists.xensource.com
> http://lists.xensource.com/xen-users
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Yes, I am using the BroadCom driver and not the kernel driver, and the
driver is called ''tg3'', as it states in the README file:
Installation Notes
Broadcom tg3 Linux Driver
Version 3.71b
12/15/2006 ...
I downloaded this from the BroadCom website
http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php.
I believe the link you previously gave me (bnx2) is for
BCM5706/BCM5708/5709, whereas I have BCM5754 (tg3).
Any clues? I''m still very lost.
Thx,
Jun
On Tue, 31 Jul 2007, Hinrich Aue wrote:
> I remember that the driver I downloaded from broadcom created a bnx2.ko
> module that I then copied into the /lib/modules/2.6.18.xx/somewhere folder.
>
> Are you sure the vorrect Broadcom driver (not the kernel driver) is loaded?
>
> Hinrich
>
> -----Ursprüngliche Nachricht-----
> Von: Yongjun Jeon [mailto:yongjunj@andrew.cmu.edu]
> Gesendet: Monday, July 30, 2007 8:08 PM
> An: Hinrich Aue
> Cc: xen-users@lists.xensource.com; Yongjun Jeon
> Betreff: Re: AW: [SPAM] [Xen-users] Xen networking problem
>
> 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@lists.xensource.com
>> [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Yongjun
Jeon
>> Gesendet: Monday, July 30, 2007 6:31 PM
>> An: xen-users@lists.xensource.com
>> 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@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>>
>>
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Yongjun Jeon
2007-Jul-31 18:08 UTC
[Xen-users] Xen networking problem - OK on 3.0.2, broken on 3.0.4
I just confirmed that my methods work with Xen 3.0.2, and I''m not exactly sure why the same methods wouldn''t work with Xen 3.0.4, which is the version I need to be looking at. By "working", I mean that the "RUNNING" flag appears on the guest domain''s vif when I run ifconfig and that the private networking between the host and the guests works. I''ll be investigating more into this issue; meanwhile, any input would be appreciated. Thx, Jun On Tue, 31 Jul 2007, Yongjun Jeon wrote:> Yes, I am using the BroadCom driver and not the kernel driver, and the driver > is called ''tg3'', as it states in the README file: > > Installation Notes > Broadcom tg3 Linux Driver > Version 3.71b > 12/15/2006 ... > > I downloaded this from the BroadCom website > http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php. > I believe the link you previously gave me (bnx2) is for BCM5706/BCM5708/5709, > whereas I have BCM5754 (tg3). > > Any clues? I''m still very lost. > > Thx, > Jun > > On Tue, 31 Jul 2007, Hinrich Aue wrote: > >> I remember that the driver I downloaded from broadcom created a bnx2.ko >> module that I then copied into the /lib/modules/2.6.18.xx/somewhere folder. >> >> Are you sure the vorrect Broadcom driver (not the kernel driver) is loaded? >> >> Hinrich >> >> -----Ursprngliche Nachricht----- >> Von: Yongjun Jeon [mailto:yongjunj@andrew.cmu.edu] >> Gesendet: Monday, July 30, 2007 8:08 PM >> An: Hinrich Aue >> Cc: xen-users@lists.xensource.com; Yongjun Jeon >> Betreff: Re: AW: [SPAM] [Xen-users] Xen networking problem >> >> 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 >>> >>> >>> -----Ursprngliche Nachricht----- >>> Von: xen-users-bounces@lists.xensource.com >>> [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Yongjun Jeon >>> Gesendet: Monday, July 30, 2007 6:31 PM >>> An: xen-users@lists.xensource.com >>> 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@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >>> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hinrich Aue
2007-Aug-02 07:40 UTC
AW: [Xen-users] Xen networking problem - OK on 3.0.2, broken on 3.0.4
I''m sorry, the only hint I could give you is to update to 3.1 I''m having a less problems with 3.1 than I''m having with 3.0.x On a Dell Poweredge 1950 I simply installed etch and xen 3.1. The only thing I had to do was to install Broadcom nic driver. No problems occurred whatsoever. Try 3.1! Hinrich -----Ursprüngliche Nachricht----- Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Yongjun Jeon Gesendet: Tuesday, July 31, 2007 8:08 PM An: Hinrich Aue Cc: xen-users@lists.xensource.com Betreff: [Xen-users] Xen networking problem - OK on 3.0.2, broken on 3.0.4 I just confirmed that my methods work with Xen 3.0.2, and I''m not exactly sure why the same methods wouldn''t work with Xen 3.0.4, which is the version I need to be looking at. By "working", I mean that the "RUNNING" flag appears on the guest domain''s vif when I run ifconfig and that the private networking between the host and the guests works. I''ll be investigating more into this issue; meanwhile, any input would be appreciated. Thx, Jun On Tue, 31 Jul 2007, Yongjun Jeon wrote:> Yes, I am using the BroadCom driver and not the kernel driver, and thedriver> is called ''tg3'', as it states in the README file: > > Installation Notes > Broadcom tg3 Linux Driver > Version 3.71b > 12/15/2006 ... > > I downloaded this from the BroadCom website > http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php. > I believe the link you previously gave me (bnx2) is forBCM5706/BCM5708/5709,> whereas I have BCM5754 (tg3). > > Any clues? I''m still very lost. > > Thx, > Jun > > On Tue, 31 Jul 2007, Hinrich Aue wrote: > >> I remember that the driver I downloaded from broadcom created a bnx2.ko >> module that I then copied into the /lib/modules/2.6.18.xx/somewherefolder.>> >> Are you sure the vorrect Broadcom driver (not the kernel driver) isloaded?>> >> Hinrich >> >> -----Urspr|ngliche Nachricht----- >> Von: Yongjun Jeon [mailto:yongjunj@andrew.cmu.edu] >> Gesendet: Monday, July 30, 2007 8:08 PM >> An: Hinrich Aue >> Cc: xen-users@lists.xensource.com; Yongjun Jeon >> Betreff: Re: AW: [SPAM] [Xen-users] Xen networking problem >> >> 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 BroadComdriver)>> 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@lists.xensource.com >>> [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von YongjunJeon>>> Gesendet: Monday, July 30, 2007 6:31 PM >>> An: xen-users@lists.xensource.com >>> 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, letalone>>> 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@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >>> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users