1. turn off vmware dhcp service running on host os.
2. configure network to use static mode. say ubuntu, then edit /etc/network/interfaces to say like and restart networking service.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.76.100
netmask 255.255.255.0
gateway 192.168.76.2
3. edit /etc/resolve.conf to add:
nameserver 192.168.76.2
Tips:
=========================================
IP address of host os is 192.168.76.1/24, but DONOT refer either nameserver of default gateway to 192.168.76.1, using 192.168.76.2 instead.
阅读(1073) | 评论(0) | 转发(0) |