VMware Network

Three network mode

Virtual Switch: vmnet0 (bridging), vmnet1 (host only), vmnet8 (NAT mode)

Virtual LAN:
VMware Network Adapter VMnet1
VMware Network Adapter VMnet8
Bridge Mode
Bridge Mode
1. Can the external network

2. Virtual machine with a real machine segments

Here Insert Picture Description

NAT mode

1. virtual machine and real machine IP address is not a network segment, because the IP address is automatically assigned

2. By default, the virtual machine can be on the external network through NAT routing switches

3. Virtual machines can ping the real machine, a real machine can not ping the virtual machine

Here Insert Picture Description
Host Only Mode: In order to construct an object of the closed network environment, when an IP address is not enough, this mode may be selected after an IP address assigned

1. The virtual machine can not be on the external network

2. physical machine can communicate true, can ping the assigned IP address leases, for example, the machine is 192.168.220.1


How to configure a static IP address

Method 1: Setup

Method 2: Modify Profile

/etc/sysconfig/network-scripts/ifcfg-eth0

/etc/udev/rules.d/70-persistent-net.rules

Guess you like

Origin www.cnblogs.com/liuwei-xd/p/11020195.html