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