Liunx Bridging Internet IP configuration

Source: Internet
Author: User
Tags nameserver

First, set up VMware

In VMware Edit--Virtual network Editor settings: Set VMnet0 to "Bridge" and bridge to the network card of the host machine (either wired or wireless).

Second, set up the virtual machine system (take CentOS as an example) set the network adapter to bridge three, configure IP (all in the command interface, the same as the graphical interface) 1, edit/etc/sysconfig/network-scripts/ifcfg-eth0 Add IP Information, my configuration information (Red Department)

Description: Bootproto:staic (static IP), DHCP (dynamic Assignment) NETMASK (subnet mask) and gateway (gateway) and host machine, IPADDR (IP address) and host machine are different.

2, edit/etc/resolv.conf, set up DNS (same as host machine)

NameServer 62.139.23.69
NameServer 204.98.94.68

Iv. Start the network

Start editing, fill in the IP address, subnet mask, gateway, DNS, and so on. Where "the information inside the red box" is necessary.


Liunx Bridging Internet IP configuration

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.