From owner-freebsd-questions@FreeBSD.ORG Thu Jul 11 10:36:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CCFD2AC7 for ; Thu, 11 Jul 2013 10:36:52 +0000 (UTC) (envelope-from genie@geniechka.ru) Received: from s1.loshmanov.ru (s1.loshmanov.ru [188.40.115.203]) by mx1.freebsd.org (Postfix) with ESMTP id 8DD8010AA for ; Thu, 11 Jul 2013 10:36:51 +0000 (UTC) Received: from geniepc2011 (0894461339.static.corbina.ru [95.31.5.144]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by s1.loshmanov.ru (Postfix) with ESMTPSA id 6B8C1DF2D9A; Thu, 11 Jul 2013 14:36:41 +0400 (MSK) Message-ID: <6586E17B555D489B83285236A5C95139@geniepc2011> From: "Eugene" To: "s m" , "freebsd-questions" References: In-Reply-To: Subject: Re: prevent ip conflict in dhcp client Date: Thu, 11 Jul 2013 14:36:35 +0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 10:36:52 -0000 Hi Sam, Actually I think this is wrong approach. Correctly configured networks should be consistent and should not need such 'fixes'. Also you should observe the IP provided by upstream DHCP server otherwise it is an invitation for trouble (both technical and possibly legal). Are the 'other' interfaces in your internal networks? Then you should change them to use different address block from that used in your provider's network (there are many address blocks for private networks). And/or you should talk to your admin and discuss the address policy, maybe they can give you a fixed address. Best wishes Eugene -----Original Message----- From: s m Sent: Thursday, July 11, 2013 2:19 PM To: freebsd-questions Subject: prevent ip conflict in dhcp client hello all i have a question about dhcp client. i want to know if there is any way to understand the ip address which is offered by server before it assigned to the interface. i have a freebsd system which one of its interfaces should get ip address from dhcp server whereas other interfaces have ip addresses and their ip address change many times. so i want to prevent ip conflict. is there any way to prevent ip conflict in this situation? i think the best way is to know the ip address which is offered by dhcp server before assigning it to interface and check if it has conflict with others or not. is it possible? if yes, how i can do this? any comments or hints are appreciated. thanks in advance SAM _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"