1、eth0 可以设置成和外网链接
2、新增eth1 用于与本地主机通信 /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# Host-only interface
auto eth1
iface eth1 inet static
address 192.168.1.141
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255