赞
踩
文件路径:/etc/network/interfaces
只配置静态ip
- auto eth0
- iface eth0 inet static
- address 192.168.66.8
- netmask 255.255.255.0
- network 192.168.66.0
- gateway 192.168.66.1
重启后
配置静态ip,同时设置mac地址
- auto eth0
- iface eth0 inet static
- address 192.168.66.8
- netmask 255.255.255.0
- network 192.168.66.0
- gateway 192.168.66.1
- hwaddress ether 02:01:02:03:04:08
重启后
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。