Linux virtual machine installation configuration Preparation---VMware (Bridge)

Source: Internet
Author: User

Objective:

Host network segment: 192.168.1.X Mask 255.255.255.0

Virtual Machine Network segment: 192.168.2.X Mask 255.255.255.0

Host: 192.168.1.45

Client: 192.168.1.102

Virtual machine: 192.168.2.16



Because the company 192.168.1.X this network segment IP will run out, so I am ready to assign 192.168.2.X to the virtual machine

The IP address of this network segment. But other colleagues in the company (including the host itself are in 192.168.1.X) this segment

Within. How to make it possible for a colleague to connect to a Linux virtual machine on (host: 192.168.1.45)

Is what I'm going to tell you here.


Bridging mode (BRIDGE):


---host settings

In fact, it is very simple, we know that a net card can be configured multiple IP address, so I in the host

The 2 addresses on (assigned 192.168.1.45,192.168.2.45). 192.168.1.45 this address is

office network address, 192.168.2.45 is the address of the network where the Linux virtual machine resides. In assigning 192.168.2.45

This address is not added when the gateway (usually the default gateway can only have one, otherwise prone to problems)

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/92/wKiom1g0F3OzbCE0AAA2QyLYwlM115.png-wh_500x0-wm_3 -wmp_4-s_4003084925.png "title=" Life Calendar 20161122180053.png "alt=" Wkiom1g0f3ozbce0aaa2qylywlm115.png-wh_50 "/>


---client settings

The setting for the client is simple, just add the address of a 192.168.2.X network segment above 192.168.2.102

The gateway address (192.168.2.45), the IP address on the host, is added here.


Linux virtual machine installation configuration Preparation---VMware (Bridge)

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.