本文介绍Ubuntu16.04环境下,静态IP的配置流程。
(1)获取网卡名字
ip route show
(2)配置静态IP
vim /etc/network/interfaces
加入如下内容
(3)重启网络服务
/etc/init.d/networking restart
本文介绍Ubuntu16.04环境下,静态IP的配置流程。
(1)获取网卡名字
ip route show
(2)配置静态IP
vim /etc/network/interfaces
加入如下内容
(3)重启网络服务