In which File is Static IP address given so that it becomes
Permanent ?

Answers were Sorted based on User's Feedback



In which File is Static IP address given so that it becomes Permanent ?..

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

In which File is Static IP address given so that it becomes Permanent ?..

Answer / mcmarc

/etc/sysconfig/network-scripts/ifcfg-eth0

Is This Answer Correct ?    34 Yes 2 No

In which File is Static IP address given so that it becomes Permanent ?..

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

In which File is Static IP address given so that it becomes Permanent ?..

Answer / jagadeesh

/etc/sysconfig/network-scripts/ifcfg-eth0

Is This Answer Correct ?    7 Yes 1 No

In which File is Static IP address given so that it becomes Permanent ?..

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

In which File is Static IP address given so that it becomes Permanent ?..

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

In which File is Static IP address given so that it becomes Permanent ?..

Answer / kirans

root#system-config-network-tui

(Or)

root#vim /etc/sysconfig/network-scripts/ifcfg-eth0

Is This Answer Correct ?    1 Yes 0 No

In which File is Static IP address given so that it becomes Permanent ?..

Answer / mohan

by using setup command.

Is This Answer Correct ?    2 Yes 1 No

In which File is Static IP address given so that it becomes Permanent ?..

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

In which File is Static IP address given so that it becomes Permanent ?..

Answer / raja

yes

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More Linux Commands Interview Questions

what is user mode & kernel mode?

7 Answers  


what is linux utilities and editor

4 Answers   Oracle, Wipro,


What is phony in makefile?

0 Answers  


Which command is used to terminate a process?

0 Answers  


Explain trap command; shift command, getopts command of linux?

0 Answers  






How do I list all processes in linux?

0 Answers  


What is difference between free and available memory in linux?

0 Answers  


I have Laptop. I want to assign DHCP ip address, but in my Laptop having Wireless and with wire NIC cards, it is possible to assign reserve ip address for both NIC card, but same host name?

4 Answers   AOL,


How to monitor ports in a linux machine, with single command?

7 Answers  


Explain about lpr filename?

0 Answers  


What is kill 9 in linux?

0 Answers  


how do you port scaning with netcat command?

1 Answers   Qseap Technologies, Wipro,


Categories