Analysis on the communication between the host Nic and the Virtual Machine

Source: Internet
Author: User

Host Nic network-less connection and Virtual Machine Communication Environment: Host host windows xp Virtual Machine centos4.5 method: 1. add a loopback Nic www.2cto.com. add Microsoft Loopback Adapter nic "Control Panel select" add "new hardware"-enable it to search automatically-select "yes, I have connected to this hardware "-add new hardware device-install hardware I manually selected from the list-network adapter-select Microsoft on the left, then, you can see Microsoft Loopback Adapter B in the right window. enable the VM. Right-click the NIC icon in the lower-right corner of the Main Window of the vmware software and select bridge Mode c. configure the loopback Nic ip address and Virtual Machine ip address in the same network segment. VMWAARE can use host-only mode. enable the VM. Right-click the 'Network adapter icon 'in the lower-right corner of the Main Window of the vmware software, and select host-only mode B. modify the linux or windows Virtual Machine IP Address allocation mode for dhcp linux: # vi/etc/sysconfig/network-script/ifcfg-eth0 to change BOOTPROTO = static: dhcp restarts the network service # service network restart www.2cto.com c. access the smb resources of the Virtual Machine-linux, and enter the Virtual Machine ip address in windows. # view the Virtual Machine ip address in ifconfig * Change dhcp in windows *. if you do a loop Rj45 head, you can also solve * the installation of the direct line on one side of the crystal head, and the other side does not need the crystal head, directly following the line sequence of the cross Line (for the straight line sequence ), the intersection can be screwed together by zhaohaolin.

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.