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

2 Comments










本文转自 h2appy  51CTO博客,原文链接:http://blog.51cto.com/h2appy/978667,如需转载请自行联系原作者
目录
相关文章
|
4月前
|
存储 网络协议 虚拟化
如何操作VMware ESXi虚拟机的迁移?
如何操作VMware ESXi虚拟机的迁移?
|
4月前
|
存储 虚拟化 数据中心
如何操作VMware ESXi虚拟机的克隆?
如何操作VMware ESXi虚拟机的克隆?
|
7月前
|
存储 安全 Linux
如何安装VMware Esxi 6.7.0(7.x版本同样适用)
如何安装VMware Esxi 6.7.0(7.x版本同样适用)
212 0
|
16天前
|
网络协议
centos8 网卡 Nmcli(是network的简写 Nmcli)配置网络
centos8 网卡 Nmcli(是network的简写 Nmcli)配置网络
16 0
|
19天前
|
网络协议 Linux 开发工具
Centos7 /etc/sysconfig/network-scripts/ifcfg-<interface>网络配置
自动化网络配置:NetworkManager 可以自动检测网络连接,并根据网络环境自动配置网络。这使得用户可以无需手动配置即可连接到网络。 支持多种网络连接:NetworkManager 支持多种网络连接,包括有线、无线、VPN、Wi-Fi 热点等。这使得用户可以根据需要选择合适的网络连接。 提供图形化和命令行工具:NetworkManager 提供了图形化工具和命令行工具,用户可以根据自己的喜好选择使用。
|
4月前
|
Ubuntu 网络协议 安全
79.55 Gbps!已经初步测得VMWare ESXi 6.7的vSwitch转发性能
79.55 Gbps!已经初步测得VMWare ESXi 6.7的vSwitch转发性能
|
4月前
|
存储 网络安全 虚拟化
VMWare ESXi 7.0的磁盘空间莫名少了120 GB?看这里!
VMWare ESXi 7.0的磁盘空间莫名少了120 GB?看这里!
|
4月前
|
测试技术 网络性能优化 虚拟化
VMWare ESXi中,不同的虚拟网卡性能竟然能相差三倍!
VMWare ESXi中,不同的虚拟网卡性能竟然能相差三倍!
|
4月前
|
网络安全 文件存储 虚拟化
macOS unlocker 4.0.5 for VMware ESXi 7.0
macOS unlocker 4.0.5 for VMware ESXi 7.0
|
4月前
|
虚拟化
VMWare ESXi接口
VMWare ESXi接口