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 are the 7 types of sentences?

555


How do you run a command for a limited time?

584


What command is used to check the number of files, disk space, and each user’s defined quota?

515


What is the makefile in c?

544


Why ms dos is used?

601






How commands work in linux?

514


How to root mirror in linux?

564


How do I find hostname in linux?

570


How does grep work in linux?

519


What are the basic command in linux?

533


How do you execute more than one command or program from a single command line entry?

556


How do I run a command in linux?

550


What does the ps command do in linux?

529


Explain about refer?

536


Which command is used to see the online manual?

608