LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2005, 08:55 AM   #1
luisator
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Exclamation Change Ip address


Hi everybody! I am kind of new with linux. I installed Fedora 2 in my PC. I need to change my Ip address to add the PC into a Lan for an specific application. Can anybody help me telling me, step by step what I should do???? I really need to now how to do this very fast!!!! Hope is not too difficult!
 
Old 05-31-2005, 09:08 AM   #2
mariusak
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian 3.0
Posts: 23

Rep: Reputation: 15
ip address

dont have time to give you the step by step, but if you type ifconfig --help , you should understand the rest yourself..

-Marius
 
Old 06-02-2005, 01:03 AM   #3
srinathnitk
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Smile

Type setup at the command prompt and then select network from that then u can assign IP address..
 
Old 06-02-2005, 05:03 AM   #4
kiraninfotech
LQ Newbie
 
Registered: Jun 2005
Location: Mumbai,India
Distribution: Fedora 8 x86_64
Posts: 15

Rep: Reputation: 0
Re: Change Ip address

Quote:
Originally posted by luisator
Hi everybody! I am kind of new with linux. I installed Fedora 2 in my PC. I need to change my Ip address to add the PC into a Lan for an specific application. Can anybody help me telling me, step by step what I should do???? I really need to now how to do this very fast!!!! Hope is not too difficult!


Edit the config file with command
#vi /etc/sysconfig/network-scripts/ifcfg-eth0 (eth0 is the 1st ethrnet interface)

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=x.x.x.x
NETMASK=x.x.x.x
GATEWAY=x.x.x.x

Replace the parameters save the file and restart network service.
Done Enjoy!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
won't change ip address xushi Solaris / OpenSolaris 4 05-14-2005 04:11 AM
Change IP address lvran Linux - Networking 2 10-16-2003 02:19 AM
How do you change the IP Address? Diablotrickster Slackware 4 08-28-2003 08:31 PM
cannot change ip address ??? aherrys Linux - Networking 0 07-06-2003 04:34 AM
Change IP address ust Linux - Networking 5 06-12-2003 01:18 PM


All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration