Fixed eth0 to solve the Virtual Machine bridging problem. eth0 Virtual Machine

Source: Internet
Author: User

Fixed eth0 to solve the Virtual Machine bridging problem. eth0 Virtual Machine

Solution to the absence of ifcfg-eth0 profiles in centos
1. In other words, centos6 uses the NetworkManager method to manage the network. You can run the following command to confirm:
Chkconfig -- list | grep-I netw
2. Disable the NetworkManager service.
Service NetworkManager stop
3. Disable NetworkManager startup
Chkconfig NetworkManager off
4. Add the/etc/sysconfig/network-scriipts/ifcfg-eth0 File
DEVICE = eth0
BOOTPROTO = static
IPADDR = 146.175.139.13
NETMASK = 255.255.255.0
GATEWAY = 146.175.139.255
HWADDR = 00: 25: 90: 81: 5e: 64
NM_COnTROLLED = no
ONBOOT = yes
TYPE = Ethernet
IPV6INIT = no
5. Start the network
Chkconfig network on
6. enable the network service
Service network start

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.