bt5设置静态ip

vim /etc/network/interfaces

找到对应的网卡加入相关的信息,比如:

auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
ET碎碎念,每周一,晚六点一刻更新,欢迎订阅