云服务器

   linux下修改网卡的一些命令:
   
   查看属性:  /sbin/ifconfig eth0(网卡号)
   禁用网卡:  /sbin/ifconfig eth0 down
   启用网卡   /sbin/ifconfig eth0 up
   修改网卡地址为00-E0-4C-B5-33-BE,命令为:/sbin/ifconfig eth0 hw ether 00:E0:4C:B5:33:BE
   

附:

ubnutu网卡配置

auto eth0
iface eth0  inet static
address 192.168.1.249
netmask 255.255.255.0
gateway 192.168.1.1
nameserver 192.168.1.1

/etc/network/interfaces

提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: