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

How will you suspend a running process and put it in the background?

1018


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

511


How do I check my system performance?

565


Why makefile is used in linux?

539


How do I run whois command?

501






What is DISM command?

511


What is the command to see on which port which service is running?

528


What is the pwd command?

567


What is clang linux?

558


What are vim commands?

523


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1159


What is know about grep commands?

547


What is filter command in unix?

541


Which command is used to clear the screen?

541


Explain the ‘ls’ command in linux

552