How Huawei ensp emulator uses VMware virtual machine to bridge virtual network card to achieve Internet access (nanny level tutorial)

I really love and hate the small cloud of ensp. I love it because it can bridge the virtual network card, and the verification of the experiment has been further sublimated. I hate it because it can't be set.

Now there are many wonderful teachers in many schools who ask nat to ping Baidu, and then tell students that it can be achieved by using the cloud, but how many teachers tell them how to set it up?

I have been looking for information before meeting, but I can’t find what I want. Today I will share all of them with you.

Early preparation

1. You need to have successfully installed the VM virtual machine on the computer, and installed the Win system in the virtual machine. I installed Win7. Taking WIN7 as an example, you must ensure that your virtual machine can log in to the external network

  Generally speaking, the virtual machines that can access the Internet have selected the VM8 network card. By default, this network card can access the external network.

 2. ensp bridge network card

 The experimental scenario is very simple. Both the NAT of the firewall and the NAT of the router can be bridged to the VM8 network card of the virtual machine through the cloud.

1, 2, 3, and 4 are to add a group of UDP and a group of VM8 respectively, the fifth step is to select 1 and select 2, and the sixth step is to click on the two-way channel to complete

Then link the router or firewall to e0/0/1 of the cloud, as shown in the figure below

 

 3. Configure the firewall

The G1/0/1 connected to the pc is the internal network port, and the ip can be configured casually. Note that the dns assigned to the internal network pc must be configured with 8.8.8.8

G1/0/0 is the external network port, and the IP address needs to be bridged with VM8 in the same network segment

The last thing you want is the default route

At this point, you must check the gateway where the ip is located in the vm virtual machine

 

 The firewall default route is the default gateway in the vm machine

Then configure the security zone, security policy and nat policy on the firewall. If it is a router, configure acl

 

 3. PC verifies the address and tests

Guess you like

Origin blog.csdn.net/weixin_45650628/article/details/129826611