In which File is Static IP address given so that it becomes
Permanent ?
Answers were Sorted based on User's Feedback
Answer / matrix
just go to system-config-network
and type ip address
or
go
vi /etc/sysconfig/network-scripts/ifcfg-eth0
edit in this file it will become permanent.
| Is This Answer Correct ? | 78 Yes | 0 No |
Answer / amit kumar ghosh
The file is /etc/sysconfig/network-scripts/ifcfg-eth0 or the
other device name like eth1,eth2.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / naresh
just go to system-config-network
and type ip address
or
go
vi /etc/sysconfig/network-scripts/ifcfg-eth0
edit in this file
then run this command $ service network restart
it will become permanent.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Answer / kirans
root#system-config-network-tui
(Or)
root#vim /etc/sysconfig/network-scripts/ifcfg-eth0
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / tushar
If you want to configure IP Address permanently over the
network of 8-10 pc , then use DHCP . It will permanently
allow the IP to all the pc by wrinting configuration in
dhcpd.conf ....assign ip with the Mac address ..
otherwise
system-config-network is OK .
| Is This Answer Correct ? | 1 Yes | 2 No |
What is mkdir p linux?
Please send Security on linux related questions and answers.
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
What is c++ makefile?
How many interfaces(ethernet cards) are working using single command?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
My machine is running half duplex mode how to change half duplex to full duplex?
Send me some of the commands being used in linux
5 Answers Aurobindo, Dr Reddys, IBM, Reddy Labs,
What happens to hard link when file is deleted?
You wish to restore the file memo.ben which was backed up in the tarfile mybackup.tar. What command should you type?
In Linux how you set time a limit on quota?
Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of every 1st month of a quarter.