In which File is Static IP address given so that it becomes
Permanent ?

Answer Posted / shyam nandan

Edit the file /etc/sysconfig/network-scripts/ifcfg-ethX
Where, X (0,1,2 etc.) number of your ethernet to configure.
eg.
vi /etc/sysconfig/network-scripts/ifcfg-eth0
after editing save the file and exit from vi,then type
system config network restart
to make changing in action.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a makefile in c?

586


What command should you use to check your file system?

539


Is cmake a compiler?

614


What is difference between comm and CMP command?

531


What is FC command?

501






What does mkdir do in linux?

535


What is clang linux?

583


How do I check my system performance?

581


How do I stop a linux job?

561


Explain about lprm job number?

651


Which command reduces the size of a file?

594


What are commands in grammar?

531


What the command used for search file or files for specific text?

507


Brief about the command nn?

615


What is file and example?

622