Linux network configuration under VMware Virtual machines-Bridging mode

Source: Internet
Author: User

Basic Configuration Description

Host system: WINDOW10

Virtual machine: WMware 12

Linux version Image: centos-7-x86_64-dvd-1511

External connection mode: Bridging mode

Bridge mode, in Baidu know inside is this explanation, I think very good copy come over

In bridged mode, VMware's virtual operating system is like a standalone host on a LAN that can access any machine in the network. In bridged mode, the virtual system needs to be manually configured with an IP address, subnet mask, and also in the same network segment as the host machine, so that the virtual system can communicate with the host machine. At the same time, because this virtual system is a separate host system in the LAN, it is possible to manually configure its TCP/IP configuration information to enable access to the Internet through a LAN gateway or router. The relationship between a virtual system and a host machine using bridged mode is like two computers connected to the same hub. To make them communicate with each other, you need to configure the IP address and subnet mask for the virtual system, or you will not be able to communicate. If you want to use VMware to create a new virtual server within the LAN, to provide network services for LAN users, you should choose bridged mode

It's easy to use this method, if you can get more than 1 addresses

Yes, you only need an IP address that is not in use, so you first identify a

First look at the host computer in which IP network segment, and then Ping, it is not used

OK, confirm the IP address 10.0.5.88, subnet mask 255.255.255.0, Gateway 10.0.5.1

View IP, found no

Then use the VI command to modify the NIC configuration file

Vi/etc/sysconfig/network-scripts/ifcfg-ens33

And then restart

Service Network restart

Configuration complete

Ping to check if the network is out of order

Check the native network protocol PING-C 4 127.0.0.1

Check the native NIC link ping-c 4 10.0.5.88

Check Gateway Ping-c 4 10.0.5.1

Check out the extranet ping-c 4 baidu.com

What is the difference between bridging mode and NAT mode

Https://zhidao.baidu.com/question/27106227.html

Linux network configuration under VMware Virtual machines-Bridging mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.