不是原创,忘记什么地方用过的了,这里记录下
装好虚拟机,宿主机无法访问虚拟机,硬件又检测不到第二块网卡,那么生绑定:
/etc/network/interfaces
auto eth1
iface eth1 inet static
address 192.168.56.208
netmask 255.255.255.0
network 192.168.56.0
不是原创,忘记什么地方用过的了,这里记录下
装好虚拟机,宿主机无法访问虚拟机,硬件又检测不到第二块网卡,那么生绑定:
/etc/network/interfaces
auto eth1
iface eth1 inet static
address 192.168.56.208
netmask 255.255.255.0
network 192.168.56.0