The configuration of VMware network under the campus network

Source: Internet
Author: User
Tags get ip iptables

1. Reference: https://jingyan.baidu.com/article/8275fc8675c22646a03cf6b8.html

2, because the campus network every connection is automatically get IP address, so virtual confidential do special configuration.

3, the network connection uses the NAT way, chooses the VMnet8. The IP address used by the operating system in the virtual machine requires one of the starting IP and ending IP in DHCP, and the gateway uses the gateway in the NAT settings.

4, run the command vim/etc/sysconfig/network-scripts/ifcfg-eth0 into the network configuration, press I for editing.

5.

6. After editing press ESC, use: Wq command to save and exit.

7. Use the service iptables Stop command to turn off the firewall and use the Service iptables status command to see if the firewall is turned off.

8. Restart the network with the Service Network Restart command and use the Ifconfig command to see if the network configuration is active.

9. Open the browser or use the ping command to see if the network is through.

The configuration of VMware network under the campus network

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.