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
What is the gcc command?
How many types of commands are there in linux?
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
What is mask and umask in linux?
What does c mean in linux?
Which command is used to clear the screen?
How do you create a file in linux?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?
Does cp overwrite?
Which of the following tasks cannot be accomplished with the touch command?
What does mkdir do in linux?
List the three main parts of an operating system command?
How commands work in linux?
How do I check command history?
What is the difference between find and locate command in linux?