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 df command in unix?
What is mask and umask in linux?
How use more command in linux?
What is cd in cmd?
How do I remove a soft link in linux?
What command would you use to create an empty file without opening it to edit it?
How do I know my linux shell version?
What is the use of cp p command?
Which command is used to compare the files?
What are the ms dos commands?
What does mkdir do in linux?
You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?
What are vim commands?
How do I run a shell script?
Why bash is used in linux?