Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 01-04-2007, 05:46 PM   #1
Baseband Member
 
Join Date: Jul 2006
Posts: 46
Default How to change IP of linux machine

Hi what is the command to change the ip address for linux (running fedora). I want to set a different static ip address then the one it has through the command line. i know about ifconfig but is there a switch to change the ip??? help me out please. thanks alot!
__________________

jladdm3 is offline   Reply With Quote
Old 01-04-2007, 05:51 PM   #2
Golden Master
 
borat_sagdiyev's Avatar
 
Join Date: Feb 2006
Posts: 8,986
Send a message via AIM to borat_sagdiyev Send a message via MSN to borat_sagdiyev
Default Re: How to change IP of linux machine

ipconfig /renew

i think....
__________________

__________________
Core 2 Duo e4500 2.2ghz @ 2.8ghz
evga 650i ultra
2gb 400mhz ram OC'ed to 450
evga geforce 7600GT overclocked
borat_sagdiyev is offline   Reply With Quote
Old 01-04-2007, 06:41 PM   #3
Fully Optimized
 
troy's Avatar
 
Join Date: Jul 2006
Location: USA
Posts: 2,410
Default Re: How to change IP of linux machine

Quote:
Originally Posted by borat_sagdiyev
ipconfig /renew

i think....
does that work in linux?
__________________
Desktop: Dell Dimension E510, 2.5GB RAM, Intel P4 3.0GHZ, 250GB HDD, Windows Vista Premium. Might not be the best, but the old girl is still running good.
troy is offline   Reply With Quote
Old 01-04-2007, 07:23 PM   #4
Golden Master
 
DJ-CHRIS's Avatar
 
Join Date: Apr 2006
Posts: 5,203
Send a message via AIM to DJ-CHRIS Send a message via MSN to DJ-CHRIS Send a message via Yahoo to DJ-CHRIS
Default Re: How to change IP of linux machine

No thats a windows command

ifconfig eth0 192.168.0.1 netmask 255.255.255.0

Now replace eth0 with the ID if your ethernet adapter (eth0 is likely the ID of your ethernet adapter)

Replace 192.168.0.1 with whatever IP address you want

Replace 255.255.255.0 with whatever your subnet is
DJ-CHRIS is offline   Reply With Quote
Old 01-04-2007, 10:12 PM   #5
Baseband Member
 
Join Date: Jul 2006
Posts: 46
Default Re: How to change IP of linux machine

nice, thanks... i figured it was something simple like that. ill try it out.
jladdm3 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:04 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0