xen网卡识别百兆_Xen 虚拟机网卡信息查询

想查看 XenServer6.2 下边的虚拟机 Ubuntu14.04 的网卡速率等信息,使用 ethtool ,mii-tool 等工具都不能返回与普通物理网卡相同的信息。有什么其他的办法么?

例如使用 ethtool:

➜ sudo ethtool eth0

Settings for eth0:

Link detected: yes

➜ sudo ethtool -i eth0

driver: vif

version:

firmware-version:

bus-info: vif-0

supports-statistics: yes

supports-test: no

supports-eeprom-access: no

supports-register-dump: no

driver "vif" means it's a Xen Virtual Interface paravirtualized driver.

普通物理网卡返回

[[email protected] ~]$ sudo ethtool em1

Settings for em1:

Supported ports: [ FIBRE ]

Supported link modes: 1000baseT/Full

10000baseT/Full

Supports auto-negotiation: No

Advertised link modes: 10000baseT/Full

Advertised pause frame use: No

Advertised auto-negotiation: No

Speed: 10000Mb/s

Duplex: Full

Port: Direct Attach Copper

PHYAD: 1

Transceiver: internal

Auto-negotiation: off

Supports Wake-on: g

Wake-on: d

Current message level: 0x00000000 (0)

Link detected: yes

使用 mii-tool

➜ sudo mii-tool eth0

SIOCGMIIPHY on 'eth0' failed: Operation not supported

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值