Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS7 virtual machine settings, and bridging problems     - ORA-12154 TNS could not resolve the specified identifier (Database)

- Linux Tutorial Share: How to sudo command to define the PATH environment variable (Linux)

- Awk include binding capacity larger than the specified size of all files directory (Linux)

- How to generate Linux, random password encryption or decryption (Linux)

- ntop monitoring software configuration and installation (Linux)

- Linux host dual LAN transceiver package ARP problem (Linux)

- How to Install Node.js in CentOS 7 (Linux)

- High-performance JavaScript loops and flow control (Programming)

- Detailed installation OpenCV2.3.1 under CentOS 6.5 (Linux)

- JQuery implements the same content merge cells (Programming)

- To compile and install Clang 3.5.0 in Linux CentOS (Linux)

- Shell Scripting Basics (Linux)

- jQuery plugin dynamic label generation (Linux)

- Android memory optimization of the memory cache (Linux)

- Oracle 11g RMAN cross-platform transfer table space (Database)

- Analysis of MySQL Dockerfile 5.6 (Database)

- Linux character device - automatically creates the device nodes and devices (Linux)

- Python closure and function objects (Programming)

- Three kinds of binary tree traversal recursive and iterative solution (Programming)

- SQLite3 simple operation (Database)

 
         
  CentOS7 virtual machine settings, and bridging problems
     
  Add Date : 2018-11-21      
         
         
         
  Today VMWare WorkStation9 installed CentOS7 virtual machine. The virtual machine and the host network connection in three ways: bridging mode, NAT mode, and Host Only mode.

Explain specific three models can be found to many on the network.

1, bridge mode settings:

I used here is bridging mode, the virtual machine Edit-> Virtual Network Editor configuration can be seen in bridge mode default Vmnet0 virtual card, here we choose bridge card. (Automatic fact, I tried it also possible)

Then install CentOS7 virtual machine, the installation process is not much to say, to configure the network card is installed, to enable it!

After installation is complete, the virtual machine right settings-> network Adapter is set to bridge mode, start the virtual machine, open the network can see the default settings "Wired" mode is enabled, DHCP mode automatically.

Then you can between the host and ping each other!

Note: If the second bridge mode is activated and needs to close, this one does not work, the virtual machine off the bottom right of the screen can be seen, "bridge" will not be turned off and the "wired" will disconnect.

For example, I can not communicate with each set as follows, according to the virtual machine and the host

Back to the "wired" connection, which modify the DHCP connection is manually set up and host a network segment, the same can communicate!

2, a copy of the virtual machine network problems CentOS7

I have to set up Hadoop, spark similar clusters, so the above virtual machine installed a copy, when activated by selecting the "I moved it". Copy over a copy of the start of the IP also changed.

But we found that: the original copy of the virtual machine and the virtual machine can not start, when both started to communicate with each other only to start the virtual machine and the host! ! !

The first start that off, then after the start and then restart the virtual machine network card, start the host can communicate with each other and the.

One does not know, I looked at the network configuration file, in addition to the two other are the same IP


Through ifconfig -a also looked at, but also in addition to other IP are the same.

You can see the configuration file a UUID, I began to wonder whether this is not the same, then delete the copy of the virtual machine priority connection, a re-created, it is not the same UUID, or not found.

I do not know why, what principles can only lead to a host network and communicate with each other when the original copy of the virtual machine and the virtual machine at the same time online? ? ?
     
         
         
         
  More:      
 
- MySQL high availability cluster fragmentation of deployment uses Fabric (Database)
- Python basis: os module on the file / directory using methods commonly used functions (Programming)
- Ten correct use Redis skills (Database)
- 10 Nginx safety tips (Linux)
- ORA-30926 and MERGE tables empty the temporary occupation problem (Database)
- vnStatSVG: traffic monitoring software vnStat (Linux)
- Linux command Detailed chpasswd bulk edit user password (Linux)
- Linux file system (inode and block) (Linux)
- GitLab Installation Guide -Ubuntu 14.04 LTS (Server)
- Linux foundation tutorial: how to modify the host name on CentOS or RHEL 7 (Linux)
- Ubuntu 14.04 / 12.04 subscribe users to install software Liferea 1.10.10 (Linux)
- Ubuntu GCC, G ++ and fortran Version Switch (Linux)
- GRUB how to load Linux kernel (Linux)
- Java, boolean operators & =, | = ^ = use (Programming)
- C ++ why we chose to use the smart pointer (Programming)
- Repair fatal error in Linux: lame / lame.h: No such file or dir Error (Linux)
- How to Start a Linux application running in the background using the terminal mode (Linux)
- RT-11SJ run at ambient PDP-11 MACRO-11 assembly (Programming)
- Oracle PLS-00231 error analysis (Database)
- Teach you how to protect the security of Linux desktop (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.