Linux how to modify the fixed IP

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


Published 12 original articles · won praise 4 · views 20000 +

Guess you like

Origin blog.csdn.net/wuzhidefeng/article/details/77980815