Operating System - Linux
1827465 Members
4912 Online
109965 Solutions
New Discussion

Re: how to configure ip-adress in linux

 
yogesh kumar_2
Frequent Advisor

how to configure ip-adress in linux

hi,

Can anyone help me how to configure ip adress in linux.
12 REPLIES 12
Ivan Krastev
Honored Contributor

Re: how to configure ip-adress in linux

Use redhat-config-network or ifconfig.

regards,
ivan
Court Campbell
Honored Contributor

Re: how to configure ip-adress in linux

It depends. You never stated which distribution you are running.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
yogesh kumar_2
Frequent Advisor

Re: how to configure ip-adress in linux

Hi

Please give the steps to configure ip-addr.I am new to linux
Ollie Rowland
Frequent Advisor

Re: how to configure ip-adress in linux

Hi,

I guess anyone can give you the steps to temporarily configure your IP address using the command line, but to set it permanently you will need to answer the question asked by Court - what distro of Linux are you using?
yogesh kumar_2
Frequent Advisor

Re: how to configure ip-adress in linux

hi,

Please tell me clearly distribution in the sense.what does it mean?
Ollie Rowland
Frequent Advisor

Re: how to configure ip-adress in linux

Hi,

Red Hat, SuSE, Mandrake, ...
yogesh kumar_2
Frequent Advisor

Re: how to configure ip-adress in linux

hi

Its Red Hat.
Ivan Krastev
Honored Contributor

Re: how to configure ip-adress in linux

Login as root and start redhat-config-network .

regards,
ivan
Sandeep_Chaudhary
Trusted Contributor

Re: how to configure ip-adress in linux

redhat-config-network will work

or use "setup" command
setup > networking
Court Campbell
Honored Contributor

Re: how to configure ip-adress in linux

well I would love to say that redhat-config-network will work, but depending on the red hat release it may be system-config-network. It's all about the details yogesh.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Bill McNAMARA_1
Honored Contributor

Re: how to configure ip-adress in linux

For a start.....
make the correct adjustments to:

/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/hosts
/etc/resolv.conf

It works for me (tm)
Mark Partain
Occasional Advisor

Re: how to configure ip-adress in linux

at the command prompt

linux/> neat

This will start the network configuration tool up for you. You must be in a X gui to use this method, otherwise use the above method on going to the named dirctories and makd the needed files.
If it ain't broke, I'm not done yet!