From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KvM1V-0003GC-At for garchives@archives.gentoo.org; Thu, 30 Oct 2008 01:08:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26CE4E029B; Thu, 30 Oct 2008 01:08:29 +0000 (UTC) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.156]) by pigeon.gentoo.org (Postfix) with ESMTP id 041C9E029B for ; Thu, 30 Oct 2008 01:08:28 +0000 (UTC) Received: by yw-out-1718.google.com with SMTP id 5so123472ywm.46 for ; Wed, 29 Oct 2008 18:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+kEBCcPRlv2+th6nWYCsN4vEAfZKmHljGW7NE41tTH8=; b=M1sENgDZr62n/daIJENMAqwr0CbNUwuK3+E2Zcjj9xQScPHlqjkWVqv7wUofqQDU7j p1ztv6NTvNkonW4kn/raeznRuFC3dztjNpap3fzz6FWPDZ7g+6+Vr8f/OETP7op60Ytx 4I7WRufOG1W6wN1WXMXPY/V4O0q9QhKaLT1zo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ExkD0M/bmDuLLsQJGdoJ2pO+7ob6rAAhdDU6gCBGXki/x1Uq9czfTiO1Htx1ujkkLM L15OawBpw+Pn9YTuAFZUSSAcjzjp/UEYN6UC7NWKMHGSxiWmuUBVkL4XRVyG+LOIDnad C8icOXt14ohghTD4E8daNLVDZXpoDSPcPmtr8= Received: by 10.90.120.17 with SMTP id s17mr8081390agc.101.1225328907504; Wed, 29 Oct 2008 18:08:27 -0700 (PDT) Received: by 10.90.71.8 with HTTP; Wed, 29 Oct 2008 18:08:27 -0700 (PDT) Message-ID: Date: Wed, 29 Oct 2008 21:08:27 -0400 From: "Joshua Murphy" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: dhcpd uses fake MAC address In-Reply-To: <200810291049.39124.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810260232.42584.volker.armin.hemmann@tu-clausthal.de> <200810291049.39124.michaelkintzios@gmail.com> X-Archives-Salt: ff121341-b9e1-4789-bece-39e1154ebf3d X-Archives-Hash: 39f6d151e1ef72928d19f9664693277e On Wed, Oct 29, 2008 at 6:49 AM, Mick wrote: > More sophisticated routers allow you to set up on their CLI static LAN IP > addresses using the DUID string, instead of the client's MAC hardware > address. > > Previous versions of dhcpcd had the vram USE flag which copied the hardware > address into the DUID string and the dhcp servers would happily recognise the > original network device, while using the DUID string. Now the vram flag is > gone. Therefore, if you cannot set up static IP addresses with your router's > CLI using the client_indentifier string (like e.g. on Cisco and > Adtran/Netvanta routers), the only other solution would be to set it on the > client side. That's an inconvenient solution if you have a laptop which > connects to all sort of networks with different LAN IP addresses/ranges. In > that case you may have to run ifconfig and route manually each time you > connect to a network. > -- > Regards, > Mick > Or, actually, you could just give in and use a different dhcp client... one more forgiving of less RFC compliant servers. Just winging an admittedly untested idea... try "busybox udhcpc" and see if it gives you the right IP... and if so, try emerging net-misc/udhcp (different from BB's built in, but it's worked in all the same places as BB's has for me, which includes some very cheap routers) and setting your conf.d/net to use it over other clients. ( modules=( "udhcpc" ) ) -- Poison [BLX] Joshua M. Murphy