Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Da_kai / etc to / network is the / for interface
it to auto so search all of
iface search all of the inet loopback
auto ens33
iface ens33 inet static
address 192.168.75.131
netmask 255.255.255.0
gateway 192.168.75.2
auto ens34u1i4
iface ens34u1i4 inet dhcp
After the restart
sudo /etc/init.d/networking restart
if a problem occurs restart
sudo ip addr flush dev ens34u1i4, ens33
In the restart, after restart the problem goes away