How to set up the IP manually with the newly installed Linux system. Enter the terminal according to the following steps can be simple and convenient configuration of IP
1th Step: Setup---Network configuration--->device configuration-->eth0 (1th block card)
Name eth0________________│
│device eth0________________│
│use DHCP []│
Static Configuration │static IP 10.0.2.253__________│
Subnet Mask │netmask 255.255.0.0_________│
Default gateway │default Gateway IP 10.0.2.253 _________│
Primary DNS servers │primary DNS server 8.8.8.8_____________│
Secondary DNS servers │secondary DNS server ____________________│
====
2nd Step:
[Root@teacher ~]# chkconfig networkmanager off setting NetworkManager service does not boot, this service is used to manage network connections
[Root@teacher ~]# service NetworkManager Stop NetworkManager Services
=====
3rd Step:
[Root@teacher ~]# Service Network Restart Refresh Network services to enable the new configured IP address to take effect
Or
Ifdown eth0 Disable Network interface
Ifup eth0 enable Eth0 network interface
Some newly installed Linux systems may not have setup this command, and we can edit a profile to achieve the purpose of manually configuring IP:
First step:
Vi/etc/sysconfig/network-script/ifcfg-eth0
Edit this file's ipaddr (IP address), NETMASK (subnet mask) and gateway (gateway), DNS, and so on. Change DHCP (dynamic fetch IP) to none (statically get IP).
Step Two: Ditto
Step three: Ditto