What are the methods for bridging the Internet in a Linux virtual machine?

Learning, Xiaobian is here today to introduce the method of configuring Linux virtual machine to bridge the Internet in vmware. The following figure shows several default network modes in vmware, bridge, host only, and NAT.

  The method of configuring Linux virtual machine to bridge the Internet in vmware

  Open the Network and Sharing Center here

  Change adapter configuration

  Disable vmnet1 and vmnet8

  Virtual machine software interface--settings--network adapters--select as bridge automatic

  Virtual machine software interface -- network adapter -- automatic bridge

  Open a terminal terminal in the Linux virtual machine -- enter the following command to restart the network card

  In a Linux virtual machine, network conncetion

  Select the network card and select Edit

  According to the order in the figure, here must be selected as DHCP

  Open the browser to verify that you can access the Internet

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327062090&siteId=291194637