PacificRack 的Centos模板问题

今天趁着有时间,把闲置的一台512M的PacificRack年付小鸡改成TCP中转服务,连接到我的backend 小鸡webnx上

在控制面板上选择reinstall为centos7以后,发现经过很长一段时间以后,小鸡也无法ping通,也无法连接.

通过VNC登录以后,发现系统早就安装完毕,但是通过ip add命令发现ens3网卡没有公网IP. 

等等,为什么是ens3网卡而不是eth0网卡?cd到/etc/sysconfig/network-scripts中,发现配置的网卡名字就是eth0, 但是系统确使用的是ens3找个名字,看来问题在这里.

看了一下SolusVM 控制面板里面的network card,发现network  card被改成了intel pro, 如下图所示

 

Intel Pro常用于windows vm当中,linux 系统中应该用virtio才对

于是把network card改回virtio,并且重新安装了centos 7,然后发现centos 7 也能够正确的配置网卡了,SSH也能正常连接了

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.