vcenter新加了網卡,在系統中看不到

需求描述:vcenter是用來管理esxi的工具。這裏我需要配置一個公網地址。由於我已經把第一個網卡配置了內網地址,所以需要再添加一個網卡


原因分析:這是因爲沒有網卡的配置,需要自己手動配置

localhost:/etc/sysconfig/networking/devices # ifup eth1
    eth1      device: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
              No configuration found for eth1

解決:

1.cd /etc/sysconfig/networking/devices
cp ifcfg-eth0 ifcfg-eth1
vim ifcfg-eth1  手動配置ip
cd  /etc/sysconfig/network
ln -s /etc/sysconfig/networking/devices/ifcfg-eth1 .
2.cd /dev/.sysconfig/network
cp ifup-eth0 ifup-eth1
cp config-eth0 config-eth1
3.ifup eth1


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章