Ip address the problem occurs after a reboot of the newly installed linux system prone.
I used the system for the ubuntun14.04 and Red Hat Linux release 9 (Shrike), different directory systems may vary, please note.
1、ubuntun14.04
Directory is / etc / network / interfaces.
Modify the contents of the file
2、Red Hat Linux release 9 (Shrike)
Directory / etc / sysconfig / network-scripts / ifcfg-eth0
Modify the contents of the file