From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: dhcpd uses fake MAC address
Date: Sun, 02 Nov 2008 12:33:13 +0200 [thread overview]
Message-ID: <gejvla$90m$1@ger.gmane.org> (raw)
In-Reply-To: <c30988c30810291808r3f3094b8m42a6040ff08ce66b@mail.gmail.com>
Joshua Murphy wrote:
> On Wed, Oct 29, 2008 at 6:49 AM, Mick <michaelkintzios@gmail.com> wrote:
> <snip>
>> 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.
>
> 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" ) )
I just did this and everything is OK; the MAC address is correct.
Booting is also faster by about 8-10 seconds (dhcpcd needed about 10
seconds to get the IP, udhcpc gets an IP instantly.)
And no, my router isn't broken. Quite the contrary; all the Ciscos and
Netgears and whatevers developed problems over time. My old trusty
Thomson SpeedTouch just keeps walking for ages, running 24/7 for over 5
years :)
next prev parent reply other threads:[~2008-11-02 10:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 23:07 [gentoo-user] dhcpd uses fake MAC address Nikos Chantziaras
2008-10-24 23:56 ` Nick Stinemates
2008-10-25 0:31 ` [gentoo-user] " Nikos Chantziaras
2008-10-25 11:34 ` Volker Armin Hemmann
2008-10-25 18:33 ` Nick Stinemates
2008-10-25 22:39 ` Volker Armin Hemmann
2008-10-25 22:53 ` Nikos Chantziaras
2008-10-26 0:32 ` Volker Armin Hemmann
2008-10-26 1:29 ` Nikos Chantziaras
2008-10-29 10:49 ` Mick
2008-10-30 1:08 ` Joshua Murphy
2008-11-02 10:33 ` Nikos Chantziaras [this message]
2008-11-03 0:17 ` Adam Carter
2008-10-29 2:56 ` [gentoo-user] " Iain Buchanan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gejvla$90m$1@ger.gmane.org' \
--to=realnc@arcor.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox