One: Run "vi / etc / sysconfig / network-scripts / ifcfg-eth0" command to open the configuration file
i enter edit
esc to enter: wq to save and exit
q! forced to exit without saving
Restart Network
service network restart
ifconfig
One: Run "vi / etc / sysconfig / network-scripts / ifcfg-eth0" command to open the configuration file
i enter edit
esc to enter: wq to save and exit
q! forced to exit without saving
Restart Network
service network restart
ifconfig