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

RE: [Xen-users] ethtool to view and set network parameters


  • To: "Fong Vang" <sudoyang@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 11 May 2007 17:40:38 +0200
  • Delivery-date: Fri, 11 May 2007 08:39:37 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AceT4oPWIrKt57RmRUOM2hH8N0V2bQAACRbA
  • Thread-topic: [Xen-users] ethtool to view and set network parameters

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fong Vang
> Sent: 11 May 2007 16:39
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] ethtool to view and set network parameters
> 
> in dom0, how does one get and set the link information for a 
> NIC?  In a non-xen kernel, we could get this info by simply running:
> 
> # ethtool eth0
> Settings for eth0:
>         Supported ports: [ TP MII ]
>         Supported link modes:   10baseT/Half 10baseT/Full 
>                                 100baseT/Half 100baseT/Full 
>         Supports auto-negotiation: Yes
>         Advertised link modes:  10baseT/Half 10baseT/Full 
>                                 100baseT/Half 100baseT/Full 
>         Advertised auto-negotiation: Yes
>         Speed: 100Mb/s
>         Duplex: Full
>         Port: Twisted Pair
>         PHYAD: 1
>         Transceiver: internal
>         Auto-negotiation: on
>         Supports Wake-on: d 
>         Wake-on: d
>         Link detected: yes
> 
> But in a xen kernel (in dom0), a lot of the information is 
> not available.
> 
> # ethtool eth0

Try "ethtool peth0" if you want the REAL (physical) ethernet connection.


--
Mats
> Settings for eth0:
>         Link detected: yes
> 
> 
> How does one get (and set) this info on dom0? 
> 
> Thanks for your help.
> 
> 
> 



_______________________________________________
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®.