ubuntu设置固定IPv4
Ubuntu16.04设置固定ipv4
打开系统设置----->网络
选项
IPv4设置----->手动
IP=192.168.1.66
子网掩码=255.255.255.0
网关=192.168.1.1
终端执行
sudo ifconfig ens33 down
然后ifconfig
sudo ifconfig ens33 up
然后ifconfig
Ubuntu16.04设置固定ipv4
打开系统设置----->网络
选项
IPv4设置----->手动
IP=192.168.1.66
子网掩码=255.255.255.0
网关=192.168.1.1
终端执行
sudo ifconfig ens33 down
然后ifconfig
sudo ifconfig ens33 up
然后ifconfig