IP
地址等信息cd /etc/network
vi interfaces
i
address
为固定ip
,gateway
为子网掩码,netmask
为网关地址
address 10.0.130.187
gateway 10.0.191.254
netmask 255.255.192.0
生效
source interfaces
DNS
地址cd /etc
vi resolv.conf
i
nameserver 223.5.5.5
nameserver
为DNS
地址
生效
source resolv.conf