LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-01-2010, 12:18 PM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Static ip is conflicting in a dhcp environment


I am in a production environment where ip addresses are configured in dchp but when I changes the ip address (public or private ip) of any one system then after restarting the network service it gives the message that the ip is used by any other host in the network.

Any solution will be helpfull

Thanks
 
Old 09-01-2010, 01:12 PM   #2
lamegaptop
Member
 
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49

Rep: Reputation: 4
Look at the network or subnet size via ip/subnet mask. Look at DHCP server to determine if any IP addresses in the subnet are not configured to be provided by DHCP. You must use a static IP outside of the DHCP range.
 
Old 09-01-2010, 11:16 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
There are 2 possible solns, use an IP addr outside the DHCP range OR assign the static-ip inside the DHCP cfg. See Examples 20.4, 20.5 here http://www.linuxtopia.org/online_boo...ng-server.html. NB: the example titles are UNDERNEATH the associated cfg code.
 
Old 09-02-2010, 12:10 PM   #4
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
I am not able to set any ip address to the ethernet interface.Also I want to configure samba but without the static ip address I cannot configure samba.

Is there any solution to configure samba without static ip address.

Thanks
 
Old 09-02-2010, 03:32 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,357

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Setup wins.
Set dhcp leases so each machine always gets the same IP.

I am usually thinking that if a system complains of some duplicate IP then there is one. Someone running some sort of network detection?
 
  


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
static or DHCP? penguinista Linux - Security 6 11-26-2007 12:54 AM
Can I add static ip per environment. Jzarecta Linux - Networking 5 10-06-2007 01:22 AM
Linking static and shared libraries in the KDevelop Environment tristanm Programming 15 11-27-2006 09:59 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
DHCP to static IP ?? davepal Linux - Networking 1 04-21-2004 09:34 AM


All times are GMT -5. The time now is 08:01 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