[关闭]
@leaveye 2016-02-28T03:59:59.000000Z 字数 252 阅读 733

设备端修改网络参数

config network macaddr


MAC Address

in /etc/network/interfaces

  1. auto lo
  2. iface lo inet loopback
  3. auto eth0
  4. iface eth0 inet static
  5. hwaddress ether 01:02:03:04:05:06
  6. address 123.234.345.456
  7. netmask 255.255.255.0
  8. gateway 123.234.345.1

in Shell

  1. ifconfig eth0 hw ether 01:02:03:04:05:06
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注