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,如需转载请自行联系原作者
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值