RHCE_RHEL6 _ learning Summary 2. Network Configuration

Source: Internet
Author: User
Enterprise requirements: network connectivity and availability are the foundation. In order to ensure the availability of relevant network services: Configure your host name, IP address, gateway, DNS host name: dktop. dn. ws. comIP: 172.28.10.5/24 Gateway: 172.28.10.1DNS: 172.28.10.1 purpose: to review and consolidate network management. See RHCE_124 teaching material P136-137 and RHCE_134 teaching material P274. Step: 1. Crack the root password and access the system smoothly

Enterprise requirements: network connectivity and availability are the foundation. In order to ensure the availability of related network services:

Configure your host name, IP address, gateway, and DNS

Host Name: dktop.dn.ws.com

IP: 172.28.10.5/24

Gateway: 172.28.10.1

DNS: 172.28.10.1

Objective: To review and consolidate network management. See RHCE_124 teaching material P136-137 and RHCE_134 teaching material P274.

Steps:

1. Crack the root password and enter the system smoothly. First, change the correct root password as required.

Change the host name in the network configuration file: vim/etc/sysconfig/nework

The other three files will be managed by NetworkManager.

2. NetworkManager is recommended in rhel6.

Check whether the NetworkManager package is installed. Install and start the package. The network service is also: Start the package.

3. Call NetworkManager to configure the network.

System ---> Preferences --> Network Connections

Note: Remember to check "Connect automatically" and "Available to all users"

Application. Save and exit! Restart the network service: # service network restart

4. View and verify the four configuration files

Net off: vim/etc/sysconfig/network

Host Name: vim/etc/hosts

DNS: vim/etc/resolv. conf

NIC: vim/etc/sysconfig/network-scripts/ifcfg-eth0

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.