Redhat6.5 Virtual machine configuration nic
1. Turn on the virtual machine
Right-click and select "Open in Terminal"
The following interface appears
There are no C-drives, D-drives, e-disks in the Linux system. He was made up of documents,
To connect an IP address that requires a virtual machine, you need to configure the virtual machine's IP address. First find out where you can configure IP. In a Linux system, the/etc directory is used to store the configuration files in the system, so you need to go to this interface with commands.
Our goal is to add IP address, is to change a parameter so in the etc file to find the system parameters to modify.
After entering LS, you can look at all the file names contained in the file, locate the Network-scripts (network card script), indicate that the file you are looking for is correct, and then enter the script.
Go to Script
The ifcfg-eth0 needs to be compiled and changed. Enter
The following interface appears, in order for the virtual machine to link with the host, you need to change "onboot=no" to "Onboot=yes", and "Bootproto=dhcp" to "bootproyo=static" because the external network is not connected, Just connect the virtual machine to the host and use a static IP.
To modify it, you press the "I" Key and an "insert" appears below
Next, the IP address is added, which makes the virtual machine and the host's IP in the same network segment.
Host IP:
When adding a virtual machine also requires the same network segment, while adding a subnet mask, Gateway:
End Edit Press ESC, insert two characters disappear.
Then press ":" the cursor will automatically move to the last line.
Then "Wq" ends the edit.
Ends the edit. Finally, you can restart the NIC.
You can ping the host console.
The test was successful.
Redhat6.5 version Linux virtual network card configuration