1、vim /etc/network/interfaces
auto lo
iface lo inet loopback
iface ens3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.100.4.250/24
gateway 192.100.4.254
bridge_ports ens3
bridge_stp off
bridge_fd 0
auto ens18 #开机自启
iface ens18 inet static
address 192.100.3.200/24
gateway 192.100.3.254
2、重启
service networking restart