Vmwarevm network settings + window7 virtual wifi and win7 telnet

Source: Internet
Author: User
Tags get ip


Vmwarevm network settings + window7 virtual wifi and win7 telnet is the vmwarevm network settings in this article: www.2cto.com vmwarevm network settings 1. bridge: by default, vmnet0 is used to set the ip address of the VM to 10.70.54.31, And the ip address of the VM to 10.70.54.22. Netmask, broadcast, gateway, and dns
If the hosts are the same, the VM <---> VM <----> can communicate over the Internet. 2.nat for network settings of www.2cto.com vmwarevm: by default, vmnet8 is used to set the VM to use dhcp to access the Internet. In windows, select "automatically get ip". In linux, you can also manually set the dhcp service: the IP address is set to the same network segment as vmnet8, And the gateway is set to the gateway (/etc/vmware/vmnet8/nat) of vmnet8. conf) to check the vmnet8 gateway, which is usually xxx. xxx. xxx.2. The netmask and broadcast settings are the same as those of vmnet8, And the dns settings are the same as those of the host. For example, vmnet8 ip: 172.16.249.1 gw: 172.16.249.2 VM settings: ip: 172.16.249.100 gw: 172.16.249.2 vmwarevm network settings 3. host-only: by default, vmnet1 is used to set the Virtual Machine ip address to the same network segment as vmnet1. gateway is set to the ip address of vmnet1. other settings are the same as vmnet1. dns settings
Similar to a host, for example, vmnet1 ip: 172.16.245.1 vmwarevm network settings: ip: 172.16.245.100 gateway: 172.16.245.1, Vm <---> host communication is achieved, but the Virtual Machine <---> the Internet still cannot communicate with www.2cto.com, and the virtual machine communicates with the Internet: 1. enable Host Routing 2. set iptables to make the host a nat server 1. echo 1>/proc/sys/net/ipv4/ip_forward so that the host has the routing function 2. iptables-t nat-a postrouting-o eth0-s 172.16.245.0/24-j MASQUERADE the vmwarevm Network Setting Rule indicates that the source ip address from 172.16.245.0/24 packets is disguised as the ip address of eth0, implementation
Virtual Machine and Internet communication if the network interface is ppp + or pppoe, you need to change it to-o pppoe. Of course,-s 172.16.245.0/24 must also be modified based on the actual situation. The above three methods are specific to vmwarevirtual machine network settings., hope to help readers. Enable virtual Wifi netsh wlan set hostednetwork mode = allow ssid = mywifi key = 12345678 netsh wlan start hostednetwork Window7 enable Telnet1 at www.2cto.com Window7. If you directly go to the service items in the control panel management tool to find telnet, that is futile, because this service is not available by default. Of course, you can do it as follows. "Control Panel" 1> "program" 1> "enable or disable windows", in which you can see many service items, select "telnet Server" and "telnet client. In this way, you can return the "service item" or services. you can see telnet in msc. 2. Choose "Control Panel"> "Administrative Tools"> "service" or "services. after entering the service item list, find telnet and you can see that it is disabled, in this case, you need to right-click "Disable" and select "attribute", change "Disable" to "Manual", and then right-click the status bar and choose "start ". In this way, your machine's telnet service will start.

Related Article

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.