配置静态IP地址的方法

auto eth0
iface eth0 inet static
address 192.168.1.x
gateway 192.168.1.1
netmask 255.255.255.0

dns-nameservers  x.x.x.x


你可能感兴趣的:(IP,配置,静态地址)