CentOS 6.3 VMware ESXi 5 network interface problem

简介:

I’ve been running CentOS on VMware ESXi 5 hosts for quite some time without any problems. However, after updating CentOS 6.2 to CentOS 6.3 (using the trusty-old ‘yum update’) I found myself presented with the following problem after guest OS reboot:

Bringing up interface eth0: eth0: vmxnet_init_ring alloc_page failed.
RTNETLINK answers: cannot allocate memory

This error is typical for driver issues, so I quickly knew where to look.

 

Fixing the “vmxnet_init_ring alloc_page failed” error

The problem has to do with the driver for the virtual networking card, provider by VMware ESXi. By default, the networking card is configured with ‘Adapter Type’: Flexible. This setting worked fine up to CentOS 6.2, but due to some changes in CentOS 6.3 the networking driver is no longer compatible with this setting. To fix this problem, simply follow the following steps:

  1. Edit the virtual machine settings
  2. Remove the old network card
  3. Add a new network card and instead of ‘Flexible’ choose ‘VMXNET3′ for the ‘Adapter Type’-option.
  4. Reboot the virtual machine (CentOS guest OS)
Configuring the network adapter type in VMware ESXi 5

Renumber the ethernet interfaces in CentOS

After the virtual machine is rebooted you will find that your networking card has been named ‘eth1′. This is because you have ‘inserted’ a new networking card, according to CentOS. To fix this, simply follow the steps described in the Renumber ethernet interface on CentOS Linux to eth0 post.

Related posts:

  1. Renumber ethernet interface on CentOS Linux to eth0









本文转自 h2appy  51CTO博客,原文链接:http://blog.51cto.com/h2appy/978667,如需转载请自行联系原作者
目录
相关文章
|
1月前
|
存储 虚拟化 iOS开发
VMware ESXi 8.0U3c macOS Unlocker & OEM BIOS 2.7 标准版和厂商定制版
VMware ESXi 8.0U3c macOS Unlocker & OEM BIOS 2.7 标准版和厂商定制版
58 6
VMware ESXi 8.0U3c macOS Unlocker & OEM BIOS 2.7 标准版和厂商定制版
|
1月前
|
移动开发 安全 虚拟化
VMware ESXi 8.0U3c - 领先的裸机 Hypervisor
VMware ESXi 8.0U3c - 领先的裸机 Hypervisor
64 0
VMware ESXi 8.0U3c - 领先的裸机 Hypervisor
|
19天前
|
固态存储 虚拟化 iOS开发
VMware ESXi 6.7U3v macOS Unlocker & OEM BIOS 2.7 集成 Realtek 网卡驱动和 NVMe 驱动 (集成驱动版)
VMware ESXi 6.7U3v macOS Unlocker & OEM BIOS 2.7 集成 Realtek 网卡驱动和 NVMe 驱动 (集成驱动版)
122 58
VMware ESXi 6.7U3v macOS Unlocker & OEM BIOS 2.7 集成 Realtek 网卡驱动和 NVMe 驱动 (集成驱动版)
|
19天前
|
安全 虚拟化 iOS开发
VMware ESXi 6.7U3v macOS Unlocker & OEM BIOS 2.7 标准版和厂商定制版
VMware ESXi 6.7U3v macOS Unlocker & OEM BIOS 2.7 标准版和厂商定制版
81 42
VMware ESXi 6.7U3v macOS Unlocker & OEM BIOS 2.7 标准版和厂商定制版
|
19天前
|
移动开发 安全 虚拟化
VMware ESXi 6.7 U3v (ESXi670-202503001.zip) 下载
VMware ESXi 6.7 U3v 是一款专为服务器虚拟化设计的裸机 Hypervisor,提供高效、可靠的硬件资源管理。它支持更高的硬件利用率、增强的安全性和简化的 IT 管理,帮助企业降低运营成本并提升性能。2025年3月4日发布的更新版本进一步提升了稳定性和兼容性。下载地址:<https://sysin.cn/blog/vmware-esxi-6/>,更多定制镜像和相关产品请访问 [sysin.org](https://sysin.org)。
489 41
VMware ESXi 6.7 U3v (ESXi670-202503001.zip) 下载
|
19天前
|
虚拟化 iOS开发 MacOS
VMware ESXi 8.0U3d macOS Unlocker & OEM BIOS 2.7 集成网卡驱动和 NVMe 驱动 (集成驱动版)
VMware ESXi 8.0U3d macOS Unlocker & OEM BIOS 2.7 集成网卡驱动和 NVMe 驱动 (集成驱动版)
89 33
VMware ESXi 8.0U3d macOS Unlocker & OEM BIOS 2.7 集成网卡驱动和 NVMe 驱动 (集成驱动版)
|
5天前
|
移动开发 安全 虚拟化
VMware ESXi 8.0e 发布 - 领先的裸机 Hypervisor
VMware ESXi 8.0e 发布 - 领先的裸机 Hypervisor
49 4
VMware ESXi 8.0e 发布 - 领先的裸机 Hypervisor
|
9天前
|
存储 虚拟化 数据中心
VMware ESXi 8.0U3d macOS Unlocker & OEM BIOS 标准版和厂商定制版,已适配主流品牌服务器
VMware ESXi 8.0U3d macOS Unlocker & OEM BIOS 标准版和厂商定制版,已适配主流品牌服务器
40 5
VMware ESXi 8.0U3d macOS Unlocker & OEM BIOS 标准版和厂商定制版,已适配主流品牌服务器
|
19天前
|
Linux 虚拟化 数据安全/隐私保护
系统崩溃不用慌!VMware这个逆天功能竟能让CentOS一键回档?后悔药真实存在!
备份的重要性在于它能在系统出现异常或错误时,帮助我们快速恢复到正常状态,避免重新安装系统和配置环境。VMware 提供了两种备份方式:快照和克隆。 **快照**是保存虚拟机某一时刻的完整状态(包括内存、CPU、磁盘数据),便于快速回滚,适合临时保存状态。操作简单,可在系统运行时创建。 **克隆**则是复制整个虚拟机系统,侧重长期备份,需在系统关闭时进行。分为完整克隆和链接克隆,前者独立于源系统,占用更多空间,但更安全可靠。
52 17
系统崩溃不用慌!VMware这个逆天功能竟能让CentOS一键回档?后悔药真实存在!
|
19天前
|
Linux 虚拟化 Windows
VMware隐藏黑科技!CentOS安装这个神器效率翻倍 文件互传竟比U盘还快?
### 安装VMtools的作用及步骤 安装VMtools可以实现Windows与CentOS之间的字符串和命令粘贴、文件夹共享等操作。在CentOS中,通过VMware菜单栏选择“VMware Tools”,将下载的压缩包拷贝到`/opt`目录并解压。接着进入终端,使用`./vmware-install.pl`命令完成安装。安装后重启系统,即可实现Windows与CentOS之间的字符和文件共享。具体步骤包括解压文件、启动命令行终端、安装VMtools以及配置文件共享。
65 16
VMware隐藏黑科技!CentOS安装这个神器效率翻倍 文件互传竟比U盘还快?

热门文章

最新文章