ESXI设置DNS并在线安装Realtek网卡驱动

由于实在受不了Intel 82574L网卡配合e1000e驱动的断流问题,准备miniPCIe一分二,分一个出来插一个瑞昱的网卡,不过ESXI支持的网卡都是服务器的,默认不支持消费级的瑞昱网卡驱动。网上大部分是在制作ESXI的iso的时候导入驱动,其实针对已安装的ESXI,也可以额外安装驱动。

The time and date of  this login have been sent to the system logs.
WARNING:
All commands run on the ESXi shell are logged and may be included in
support bundles. Do not provide passwords directly on the command line.
Most tools can prompt for secrets or accept them from standard input.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.

[root@localhost:~] esxcli software acceptance set --level=CommunitySupported
[root@localhost:~] esxcli network firewall ruleset set -e true -r httpClient
[root@localhost:~] esxcli network firewall ruleset set -e true -r dns
[root@localhost:~] esxcli software vib install -d https://vibsdepot.v-front.de -n net55-r8168
[MetadataDownloadError]
Could not download from depot at https://vibsdepot.v-front.de/index.xml, skipping (('https://vibsdepot.v-front.de/index.xml', '', '<urlopen error [Errno -2] Name or service not known>'))
url = https://vibsdepot.v-front.de/index.xml
Please refer to the log file for more details.

发现是域名解析失败,此时ping一个公网ip,发现是可以ping通的,而ping百度失败,说明确实是DNS问题,于是设置DNS

[root@localhost:~] nc -z vibsdepot.v-front.de  80
nc: getaddrinfo: Name or service not known
[root@localhost:~] ping www.baidu.com
getaddrinfo()  for  "www.baidu.com"  failed  (-2: Name or service not known)
[root@localhost:~] esxcli network ip dns server list
DNSServers:
[root@localhost:~] esxcli network ip dns server add --server=114.114.114.114
[root@localhost:~] esxcli network ip dns server list
DNSServers: 114.114.114.114

继续尝试

[root@localhost:~] esxcli software vib install -d https://vibsdepot.v-front.de -n net55-r8168
Installation Result
Message: Host is not changed.
Reboot Required: false
VIBs Installed:
VIBs Removed:
VIBs Skipped: Realtek_bootbank_net55-r8168_8.045a-napi

竟然安装失败,被跳过了,怀疑当时装的这个ESXI镜像是倒入过这个驱动的,于是查看已安装软件

[root@localhost:~] esxcli software vib list
Name Version Vendor Acceptance Level Install Date

----------------------------- ------------------------------------ -------- ------------------ ------------

net-atlantic v2.2.3.0-esxi1.6 Aquantia CommunitySupported 2021-02-01

intel-nvme-vmd 1.7.0.1000-1OEM.670.0.0.8169922 INT VMwareCertified 2021-02-01

net-igb 5.3.2-99 Intel CommunitySupported 2021-02-01

net55-r8168 8.045a-napi Realtek CommunitySupported 2021-02-01

esxcli-shell 1.1.0-15 VFrontDe CommunitySupported 2021-02-01

fw-ntpd 1.2.0-1 VFrontDe CommunitySupported 2021-02-01

net-forcedeth-1  1.0.0-1 VFrontDe CommunitySupported 2021-02-01

sata-xahci 1.42-1 VFrontDe CommunitySupported 2021-02-01

ata-libata-92  3.00.9.2-16vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-amd 0.3.10-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-atiixp 0.4.6-4vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-cmd64x 0.2.5-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-hpt3x2n 0.3.4-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-pdc2027x 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-serverworks 0.4.3-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-sil680 0.4.8-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ata-pata-via 0.3.3-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

block-cciss 3.6.14-10vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

bnxtnet 20.6.101.7-24vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

bnxtroce 20.6.101.0-20vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

brcmfcoe 11.4.1078.25-14vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

char-random 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ehci-ehci-hcd 1.0-4vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

elxiscsi 11.4.1174.0-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

elxnet 11.4.1097.0-5vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

hid-hid 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

i40en 1.8.1.9-2vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

igbn 0.1.1.0-5vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

ima-qla4xxx 2.02.18-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

ipmi-ipmi-devintf 39.1-5vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

ipmi-ipmi-msghandler 39.1-5vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

ipmi-ipmi-si-drv 39.1-5vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

iser 1.0.0.0-1vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

ixgben 1.7.1.16-1vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

lpfc 11.4.33.25-14vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

lpnic 11.4.59.0-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

lsi-mr3 7.708.07.00-3vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

lsi-msgpt2 20.00.06.00-2vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

lsi-msgpt35 09.00.00.00-5vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

lsi-msgpt3 17.00.02.00-1vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

misc-cnic-register 1.78.75.v60.7-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

misc-drivers 6.7.0-2.48.13006603 VMW VMwareCertified 2021-02-01

mtip32xx-native 3.9.8-1vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

ne1000 0.8.4-2vmw.670.2.48.13006603 VMW VMwareCertified 2021-02-01

nenic 1.0.29.0-1vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

net-bnx2 2.2.4f.v60.10-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-bnx2x 1.78.80.v60.12-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-cdc-ether 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-cnic 1.78.76.v60.13-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-e1000 8.0.3.1-5vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-e1000e 3.2.2.1-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-enic 2.1.2.38-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-fcoe 1.0.29.9.3-7vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-forcedeth 0.61-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-ixgbe 3.7.13.7.14iov-20vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-libfcoe-92  1.0.24.9.4-8vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-mlx4-core 1.9.7.0-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-mlx4-en 1.9.7.0-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-nx-nic 5.0.621-5vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-tg3 3.131d.v60.4-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-usbnet 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

net-vmxnet3 1.1.3.0-3vmw.670.3.89.15160138 VMW VMwareCertified 2021-02-01

nfnic 4.0.0.29-0vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

nhpsa 2.0.22-3vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

nmlx4-core 3.17.13.1-1vmw.670.2.48.13006603 VMW VMwareCertified 2021-02-01

nmlx4-en 3.17.13.1-1vmw.670.2.48.13006603 VMW VMwareCertified 2021-02-01

nmlx4-rdma 3.17.13.1-1vmw.670.2.48.13006603 VMW VMwareCertified 2021-02-01

nmlx5-core 4.17.13.1-1vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

nmlx5-rdma 4.17.13.1-1vmw.670.2.48.13006603 VMW VMwareCertified 2021-02-01

ntg3 4.1.3.2-1vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

nvme 1.2.1.34-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

nvmxnet3-ens 2.0.0.21-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

nvmxnet3 2.0.0.29-1vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

ohci-usb-ohci 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

pvscsi 0.1-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

qcnic 1.0.2.0.4-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

qedentv 2.0.6.4-10vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

qfle3 1.0.50.11-9vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

qfle3f 1.0.25.0.2-14vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

qfle3i 1.0.2.3.9-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

qflge 1.1.0.11-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sata-ahci 3.0-26vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sata-ata-piix 2.12-10vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sata-sata-nv 3.5-4vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sata-sata-promise 2.12-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sata-sata-sil24 1.1-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sata-sata-sil 2.3-4vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sata-sata-svw 2.3-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-aacraid 1.1.5.1-9vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-adp94xx 1.0.8.12-6vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-aic79xx 3.1-6vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-bnx2fc 1.78.78.v60.8-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-bnx2i 2.78.76.v60.8-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-fnic 1.5.0.45-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-hpsa 6.0.0.84-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-ips 7.12.05-4vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-iscsi-linux-92  1.0.0.2-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-libfc-92  1.0.40.9.3-5vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-megaraid-mbox 2.20.5.1-6vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-megaraid-sas 6.603.55.00-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-megaraid2 2.00.4-9vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-mpt2sas 19.00.00.00-2vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-mptsas 4.23.01.00-10vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-mptspi 4.23.01.00-10vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

scsi-qla4xxx 5.01.03.2-7vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

sfvmk 1.0.0.1003-6vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

shim-iscsi-linux-9-2-1-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-iscsi-linux-9-2-2-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-libata-9-2-1-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-libata-9-2-2-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-libfc-9-2-1-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-libfc-9-2-2-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-libfcoe-9-2-1-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-libfcoe-9-2-2-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-vmklinux-9-2-1-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-vmklinux-9-2-2-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

shim-vmklinux-9-2-3-0  6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

smartpqi 1.0.1.553-28vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

uhci-usb-uhci 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

usb-storage-usb-storage 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

usbcore-usb 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

vmkata 0.1-1vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

vmkfcoe 1.0.0.1-1vmw.670.1.28.10302608 VMW VMwareCertified 2021-02-01

vmkplexer-vmkplexer 6.7.0-0.0.8169922 VMW VMwareCertified 2021-02-01

vmkusb-nic-fling 2.1-4vmw.670.2.48.33242987 VMW VMwareAccepted 2021-02-01

vmkusb 0.1-1vmw.670.3.89.15160138 VMW VMwareCertified 2021-02-01

vmw-ahci 1.2.8-1vmw.670.3.73.14320388 VMW VMwareCertified 2021-02-01

xhci-xhci 1.0-3vmw.670.0.0.8169922 VMW VMwareCertified 2021-02-01

cpu-microcode 6.7.0-3.77.15018017 VMware VMwareCertified 2021-02-01

elx-esx-libelxima.so  11.4.1184.2-3.89.15160138 VMware VMwareCertified 2021-02-01

esx-base 6.7.0-3.89.15160138 VMware VMwareCertified 2021-02-01

esx-dvfilter-generic-fastpath 6.7.0-0.0.8169922 VMware VMwareCertified 2021-02-01

esx-ui 1.33.4-14093553 VMware VMwareCertified 2021-02-01

esx-update 6.7.0-3.89.15160138 VMware VMwareCertified 2021-02-01

esx-xserver 6.7.0-3.73.14320388 VMware VMwareCertified 2021-02-01

lsu-hp-hpsa-plugin 2.0.0-16vmw.670.1.28.10302608 VMware VMwareCertified 2021-02-01

lsu-intel-vmd-plugin 1.0.0-2vmw.670.1.28.10302608 VMware VMwareCertified 2021-02-01

lsu-lsi-drivers-plugin 1.0.0-1vmw.670.2.48.13006603 VMware VMwareCertified 2021-02-01

lsu-lsi-lsi-mr3-plugin 1.0.0-13vmw.670.1.28.10302608 VMware VMwareCertified 2021-02-01

lsu-lsi-lsi-msgpt3-plugin 1.0.0-9vmw.670.2.48.13006603 VMware VMwareCertified 2021-02-01

lsu-lsi-megaraid-sas-plugin 1.0.0-9vmw.670.0.0.8169922 VMware VMwareCertified 2021-02-01

lsu-lsi-mpt2sas-plugin 2.0.0-7vmw.670.0.0.8169922 VMware VMwareCertified 2021-02-01

lsu-smartpqi-plugin 1.0.0-3vmw.670.1.28.10302608 VMware VMwareCertified 2021-02-01

native-misc-drivers 6.7.0-3.89.15160138 VMware VMwareCertified 2021-02-01

qlnativefc 3.1.8.0-5vmw.670.3.73.14320388 VMware VMwareCertified 2021-02-01

rste 2.0.2.0088-7vmw.670.0.0.8169922 VMware VMwareCertified 2021-02-01

vmware-esx-esxcli-nvme-plugin 1.2.0.32-0.0.8169922 VMware VMwareCertified 2021-02-01

vsan 6.7.0-3.89.14840357 VMware VMwareCertified 2021-02-01

vsanhealth 6.7.0-3.89.14840358 VMware VMwareCertified 2021-02-01

tools-light 11.0.1.14773994-15160134 VMware VMwareCertified 2021-02-01

果然是已安装过,所以被跳过了。如果未安装该驱动,此时的结果应该是

Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: Realtek_bootbank_net55-r8168_8.045a-napi
VIBs Removed:

还有一种方法是使用vib文件离线安装驱动,而不是在线安装:http://t.zoukankan.com/airoot-p-13452335.html

参考文献:

https://networkguy.de/installing-realtek-driver-on-esxi-6-7

https://www.cnblogs.com/milton/p/5182103.html

https://vibsdepot.v-front.de/wiki/index.php/Welcome

http://t.zoukankan.com/airoot-p-13452335.html

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 204,590评论 6 478
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 86,808评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 151,151评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,779评论 1 277
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,773评论 5 367
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,656评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,022评论 3 398
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,678评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 41,038评论 1 299
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,659评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,756评论 1 330
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,411评论 4 321
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,005评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,973评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,203评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 45,053评论 2 350
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,495评论 2 343

推荐阅读更多精彩内容