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 |
How do you list all the files in a directory, including hidden files?
Which commands are used to set a processor-intensive job to use less cpu time?
1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how to restrict su & ssh services for some users? 3. how can we configure a default gateway for 10 n/w cards in a server?
Hi All of Unix/Linux professional Q.Why soft link file not open by cat command. Ihave make following symbolic link but when i open with #cat linkfilename it does not oped please see the following code and try to answer. # ln -s file1 ~/mydir/filea [root@dhcppc0 ~]# cd mydir [root@dhcppc0 mydir]# ls -l total 4 lrwxrwxrwx 1 root root 5 2010-04-04 09:04 filea -> file1 [root@dhcppc0 mydir]# cat filea cat: filea: No such file or directory
What is 9 in kill?
1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk have 5gb disk utilization even though files unable to create, why? 3.what are the internal and external command in linux? 4.sar command o/p? 5.how list the open files? 6.what is kernel compiling? 7.How do u See complete configuration in ur system? 8.how will u make a daily updates with cron daily? 9.which port is associated with ttys0? 10.specific some problems linux admin(if u are linux admin)faced and how did u overcome it?
10 Answers IBM, TCS,
What does df command do in linux?
How do I set permission to run in linux?
How do I clear terminal command history?
In order to display the last five commands you have entered using the fc command, you would type?
when i create SAMBA server it is ok but while i try for access from windows pc he ask me only first time smb password then i close samba login next time he can`t ask for passwd why.?
How do I find the console in linux?