Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-22-2012, 08:28 PM   #1
LQ Newbie
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Red face Another host using IP address, Linux server Static config, DHCP.

I am new to Linux, I am trying to set up a static IP and then install DHCP, using the gedit/etc/sysconfig/network-scripts/ifcfg eth0 and I put in my IPADDR and others on the config table, I save but when i try to confirm using ifconfig it gives me a different IPPaddress, and I go thru sys-admin-ntwk-activate, it says another host is using the IP address, I have tried using Auto obtain IP and restarted and also used the static but it still says another host is using address. Please I need a step by step help cos I am frustrated!

Old 03-22-2012, 09:24 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,181
Blog Entries: 24

Rep: Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836
Have you tried pinging the other IP address? That might give you a clue as to whether it is actually in use.

If it's in use by another device, you will continue to have this problem until you take the device that's using it offline or until you try a different IP address.
Old 03-23-2012, 12:31 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,565

Rep: Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425
If you have access to the DHCP server, you can lock-in the IP you want as per Example 20.5


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
How do I assign a static IP address to a DHCP server? Cyberman Linux - Networking 6 01-29-2010 04:47 PM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 09:38 PM
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta SUSE / openSUSE 1 06-29-2006 10:48 AM
How do I disable DHCP now I am using static address? rosco136 Linux - Networking 4 08-01-2005 03:53 AM
Static IP Address with DHCP server control taylortbb Linux - Networking 1 06-28-2005 02:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 AM.

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