When VMware is installed, there will be two more virtual NICs VMnet1 and VMNet8 on the system host. Today we will focus on the setting of the virtual system using the NET method and the shared Internet access on the host. The VMNet8 Nic used in NAT mode mainly needs to know two important IP addresses: Gateway and DNS. The first address (192.168.83.1) is a static address allocated to the VMwareNetworkAdapterVMnet8 adapter of the host Xp. Second address (192
When VMware is installed, there will be two more virtual NICs VMnet1 and VMNet8 on the system host. Today we will focus on the setting of the virtual system using the NET method and the shared Internet access on the host.
The VMNet8 Nic used in NAT mode mainly needs to know two important IP addresses: Gateway and DNS.
The first address (192.168.83.1) is a static address allocated to the VMware Network Adapter VMnet8 Adapter of the host computer Xp.
The second address (192.168.83.2) is a static address allocated to the NAT device.
(192.168.83.3 to 192.168.83.127) static address, retained.
(192.168.83.128 to 192.168.83.254): IP address range of DHCP scope, allocated to virtual machines.
Modify the network configuration of Ubuntu:
1) set the IP address, gateway, and mask. Vi/etc/network/interfaces, add the following content:
Iface eth0 inet static
Address 192.168.83.200
Netmask 255.255.255.0
Gateway 192.168.83.2
Auto eth0
2) Add DNS, vi/etc/resolv. conf, and add the following content:
Nameserver 192.168.83.2
3) effective:/etc/init. d/networking restart