LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I change IP address in fedora? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-change-ip-address-in-fedora-545239/)

Ted Atkins 04-11-2007 04:14 PM

How do I change IP address in fedora?
 
I'm new to Linux. I show signal present from my router but when I try to activate, I can't. One error message said it's configured to a different IP address ??? Where would I got to find the existing IP and change it.
Ted

acid_kewpie 04-11-2007 04:37 PM

nothign to do with programming. moved to Linux - Newbie

forrestt 04-11-2007 05:08 PM

You can determine your IP by running:

/sbin/ifconfig -a

Look at the entry for eth0

To change your IP edit the file /etc/systconfig/network-scripts/ifcfg-eth0

then run

/etc/init.d/network restart

Or, you can use the GUI system-config-network.

Hope this helps.

gregorian 04-12-2007 12:29 AM

I typed ifconfig and found my IP address, but it's 192.168.1.2 and not the address as displayed on www.whatismyip.com , Why does it give a different address?

acid_kewpie 04-12-2007 02:06 AM

becuase it shows you your publically routable addres, from your isp. it's no idea about the individual ip's on your home lan as they are natted when they go out to the net by your router.


All times are GMT -5. The time now is 09:25 PM.