VMware network card setup mode

xiaoxiao2021-03-06  75

? Many friends use VMware to test different systems, I combined with my own experience, talk about the understanding of network settings, please correct it.? Bridge: This way is the simplest, directly connect the virtual Net Bridge to a physical network card. And the next NIC bind two different addresses in Linux is similar. It is actually set to a mixed mode to achieve the ability to listen to multiple IPs.? In this mode, the network card inside the virtual machine (such as Linux ETH0) On the network where the physical network card is located, it is impossible to imagine that the virtual machine and the HOST machine are in the right position. It is equally on the network relationship. No one is behind the problem.? Using this way is very simple The premise is that you can get more than 1 address. For friends who want to make various network experiments, it is not suitable because you can't control the web network, it goes out directly.? NAT mode: In this way Host internal A virtual network card VMNET8 appears (by default), if you have experience in the NAT server, the VMNet8 here is equivalent to the network card connected to the intranet, and the virtual machine itself is equivalent to the machine running online, The network card (eth0) in the virtual machine is independent of VMNet8. • You will find that VMware comes with the DHCP to load to the VMNet8 interface by default, so that virtual machines can use DHCP services. More important Yes, VMware comes with the NAT service, providing address translation from the VMNet8 to the external network, so this is a real NAT server running, but it is only for virtual machine.? Obviously if you There is only one external network address, this way is very suitable. Hostonly: This should be the most flexible way. If you are interested, you can make a variety of network experiments. The only difference in NAT is that in this way, there is no address conversion service Therefore, by default, virtual machines can only go to host access, which is also the meaning of Hostonly's name. • By default, there will be a DHCP service to be loaded on VMNet1. This is connected to VMNET8. Virtual machine can still set It is DHCP to facilitate the configuration of the system. Is there any way to connect to the external network? Of course not, in fact, this way is more flexible, you can use your own way, thus achieving the ideal configuration, For example: a. Use your own DHCP service: First stop VMware's own DHCP service, making DHCP services more uniform. B. Use your own NAT, easy to join the firewall. Windows Host can do NAT method, simple, such as Windows XP's Internet shares, complex, such as the NAT service in Windows Server. c. Use your own firewall Because you can fully control VMNet1, you can join (or experiment) The firewall is between the VMNet1 and the network network. It can be seen from the Hostonly mode and the normal NAT Server strip of the Internet. Similarly, Therefore, you can easily carry out the experiment related to the experiment, such as the fire and strong settings, etc. 1, Bridge mode (like Host, only IP can not be the same with Host) IP 192.168.39.222Netmask: 25555.252.0gateway: 192.168.39.254 Primary Nameserve: 192.168.39.252 2, NAT mode first views VMNET8 IP (EG 192.168.255.1). Start VMware, point EDIT Virtual Network Setting ..., pop up the Virtual Network Editor dialog;

转载请注明原文地址:https://www.9cbs.com/read-120555.html

New Post(0)