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
How use more command in linux?
What is difference between egrep and grep?
What is df command in unix?
What is history command in linux?
How remove all files in a directory linux?
What is DISM command?
What is $$ in shell script?
What does kill in linux?
What is Data Command?
How to write the output of a command to a file?
What is the use of man command in linux?
How do I clear bash history in linux?
What is the use of finger command in linux?
What is clang format?
If the programmer wishes to execute an instruction at the specified time. Which command is used?