Configure fixed IP in VMware under CENTOS7 bridging mode

Source: Internet
Author: User

1. After installing CENTOS7, modify the virtual machine network adapter configuration: Change to bridge mode

2. Setting up the Virtual network editor for VMware editing

3. Restart CentOs7 to view the network

# IP Addr

Interface is: ENS33

4. View the local real machine IP, then configure the virtual machine fixed IP

Windows enters command-line mode cmd:

# Ipconfig/all

The virtual machine IP configuration under Linux is:

# VIM/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENS33

The configuration is as follows:

Type=ethernet
Proxy_method=none
Browser_only=no
Bootproto=static
Defroute=yes
Ipv4_failure_fatal=no
Ipv6init=yes
Ipv6_autoconf=yes
Ipv6_defroute=yes
Ipv6_failure_fatal=no
Ipv6_addr_gen_mode=stable-privacy
Name=ens33
uuid=326fb08b-32b1-4596-9e68-10c6656bdf78
Device=ens33
Onboot=yes
hwaddr=00:0c:29:51:f5:5f
ipaddr=192.168.0.106
netmask=255.255.255.0
Nm_controlled=no
gateway=192.168.0.1
dns1=211.136.192.6

5. Restart the network

# Service Network Restart

Configure fixed IP in VMware under CENTOS7 bridging 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.