Linux网卡启动

  1. 先去VM虚拟机上查看自己桥接模式是否与本机网络共享
  2. vim /etc/sysconfig/network-scripts/ifcfg-eth0
  3. 修改ONBOOTS = yes
  4. service network restart
  5. ifconfig 查看ip

你可能感兴趣的:(linux)