VMware configures CENTOS7 network in bridged mode

Source: Internet
Author: User

The first step is to set the Vmware10.0.3 to bridge mode.

CentOS 7.0 is installed by default and does not automatically open the network connection!

cd/etc/sysconfig/network-scripts/#进入网络配置文件目录

VI ifcfg-eno16777736 #编辑配置文件, add modify the following content

Hwaddr=00:0c:29:8d:24:73type=ethernetbootproto=static #启用静态IP地址DEFROUTE =yespeerdns=yespeerroutes=yesipv4_ Failure_fatal=noipv6init=yesipv6_autoconf=yesipv6_defroute=yesipv6_peerdns=yesipv6_peerroutes=yesipv6_failure_ Fatal=noname=eno16777736uuid=ae0965e7-22b9-45aa-8ec9-3f0a20a85d11onboot=yes #开启自动启用网络连接IPADDR0 =192.168.21.128 #  Set IP address prefixo0=24 #设置子网掩码GATEWAY0 =192.168.21.2 #设置网关DNS1 =8.8.8.8 #设置主DNSDNS2 =8.8.4.4 #设置备DNS: wq! #保存退出 use systemctl restart Network.service to restart the network to complete the bridge networking configuration.

VMware configures CENTOS7 network in bridged mode

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.