Centos 6.5 network configuration, centos6.5

Source: Internet
Author: User

Centos 6.5 network configuration, centos6.5

Install and configure the network bridging mode for centos 6.5 in the Virtual Machine

1. Install centos


2. Enter the command setup to set the network



3. The following page is displayed when you press the Enter key.


Authentication configuration: ID card configuration

Firewall configuration: firewall configuration

Network configuration: network configuration

System services: System services

Select network configuration and press ENTER

 

4. Select Device Configuration


Device configuration: ip configuration

Dns configuration: dns configuration

Select ip configuration and press ENTER


Select the first carriage return


Use dhcp: automatic acquisition requires a dhcp server. If not, enter * as a space.

Static ip: ip Address

Netmask: Subnet Mask

Default gateway id: default gateway

Primary dns server: dns server address [preferred]

Secondary dns server: Address of the backup dns server


After setting: press the table key: OK --> Save --> save & quit --> quit


6. restart the network and enter the Command service network restart and press Enter.


 

7. view the IP address ifconfig



8. If the ip still cannot be modified: vi/etc/sysconfig/network-scripts/ifcfg-eth0 will ONBOOT = yes


After the configuration is complete, restart the system to complete the network service ..............

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.