The local machine is win7, And the IP address is manually configured for the ubuntu system on the Virtual Machine

Source: Internet
Author: User

The local machine is win7, the IP address is manually configured for the ubuntu system on the Virtual Machine. The local machine is ubuntu through wireless network, and the virtual machine connection mode is bridged (bridging mode ). 1. Run the command ipconfig/all in cmd on the local machine. The following figure shows the part of the command: Wireless LAN adapter wireless network connection: connection to a specific DNS suffix .......: domain description ...............: Intel (R) Centrino (R) Wireless-N 1000 physical address .............: E0-94-67-1C-69-DC DHCP enabled ...........: automatic configuration is enabled ..........: The IPv6 address of the local link ........: fe80: c74: 6bb9: 8c76: 4d6f % 15 (preferred) IPv4 address ............: 192.168.0.110 (preferred) subnet mask ..... .......: The time when lease was obtained for 255.255.255.0 .........: The expiration time of the lease at 7:56:13, January 1, May 24, 2013 .........: Default Gateway at 20:57:38, January 1, May 24, 2013 .............: 192.168.0.1 DHCP server ...........: 192.168.0.1 DHCPv6 IAID ...........: 299930727 DHCPv6 client DUID .......: 00-01-00-01-18-C5-03-71-20-89-84-3B-7B-33 DNS server ...........: 192.168.1.1 on 192.168.0.1 TCPIP NetBIOS .......: enabled 2. On the ubuntu server of the VM, choose System-> Preferences-> Network Connections. Select the Wired option, Add, and select "IPv4 Settings", Address: 192.168.0.111 Netmask: 255.255.255.0 Gateway: 192.168.0.1 DNS servers: 192.168.1.1 Apply. The two IP addresses can be pinged to each other and can be connected to the Internet. A bridge network is a bridge between a local physical network card and a virtual network card through a VMnet0 virtual switch, the physical and virtual NICs are in the same position on the topology (the virtual Nic is neither Adepter VMnet1 nor Adepter VMnet8 ). The physical and virtual NICs are equivalent to the same network segment, and the virtual switch is equivalent to the switch in a real network. Therefore, the IP addresses of the two NICs must be set to the same network segment.

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.