When using dhcpcd-3.1 (at least 3.1.2 and 3.1.3 is affected, 3.0.x is unaffected) wrong MAC address is reported to dhcp server. The MAC address the dhcp server tells me I'm using is "65746830000100010E411C9400110941" -- which is not even a valid MAC address (it is too long). dhcp server is D-Link DI-624+ firmware 2.09 This problem makes static dhcp fail, and I get a IP in the pool not reserved for any host, which in tern makes port forwarding fail as it forwards ports to the wrong IP. ---- paludis 0.24.5 Built by paludisbuild@workstation on 2007-07-29T20:30:49+0200 CXX: x86_64-pc-linux-gnu-g++ 4.2.0 (Gentoo 4.2.0 p1.4) CXXFLAGS: -O2 -fomit-frame-pointer -march=k8 -pipe LDFLAGS: -Wl,-O1 -Wl,--as-needed DATADIR: /usr/share LIBDIR: /usr/lib64 LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc stdlib: GNU libstdc++ 20070514 libebt: 1.3.0 libwrapiter: 1.2.0 sandbox: enabled Repository virtuals: Configuration information: format: virtuals Repository installed_virtuals: Configuration information: format: installed_virtuals Repository gentoo: Configuration information: buildroot: /var/tmp/paludis cache: /var/paludis/repositories/gentoo/metadata/cache distdir: /var/paludis/distfiles eclassdirs: /var/paludis/repositories/gentoo/eclass format: ebuild location: /var/paludis/repositories/gentoo names_cache: /var/paludis/repositories/gentoo/.cache/names newsdir: /var/paludis/repositories/gentoo/metadata/news pkgdir: /var/paludis/repositories/gentoo/packages profiles: /var/paludis/repositories/gentoo/profiles/default-linux/amd64/2007.0/desktop securitydir: /var/paludis/repositories/gentoo/metadata/glsa setsdir: /var/paludis/repositories/gentoo/sets sync: rsync://rsync.europe.gentoo.org/gentoo-portage/ sync_options: write_cache: /var/empty Package information: app-admin/eselect-compiler: (none) dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: (none) dev-util/confcache: (none) sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 Variable information: ACCEPT_KEYWORDS: AUTOCLEAN: CBUILD: x86_64-pc-linux-gnu CFLAGS: -Os -fomit-frame-pointer -march=k8 -pipe CHOST: x86_64-pc-linux-gnu CONFIG_PROTECT: CONFIG_PROTECT_MASK: CTARGET: CXXFLAGS: -Os -fomit-frame-pointer -march=k8 -pipe DISTDIR: /var/paludis/distfiles FEATURES: GENTOO_MIRRORS: INSTALL_MASK: LANG: LC_ALL: C LDFLAGS: -Wl,-O1 -Wl,--as-needed LINGUAS: MAKEOPTS: PKGDIR: PORTAGE_COMPRESS: PORTAGE_COMPRESS_FLAGS: PORTAGE_RSYNC_EXTRA_OPTS: PORTAGE_RSYNC_OPTS: PORTAGE_TMPDIR: /var/tmp/paludis PORTDIR: /var/paludis/repositories/gentoo PORTDIR_OVERLAY: SYNC: USE: Repository installed: Configuration information: buildroot: /var/tmp/paludis format: vdb location: /var/db/pkg names_cache: /var/db/pkg/.cache/names provides_cache: /var/db/pkg/.cache/provides root: / world: /var/db/pkg/world Repository ricce_n-local: Configuration information: buildroot: /var/tmp/paludis cache: /var/empty distdir: /var/paludis/distfiles eclassdirs: /var/paludis/repositories/gentoo/eclass /var/paludis/repositories/local/eclass format: ebuild location: /var/paludis/repositories/local master_repository: gentoo names_cache: /var/empty newsdir: /var/paludis/repositories/local/metadata/news pkgdir: /var/paludis/repositories/gentoo/packages profiles: /var/paludis/repositories/gentoo/profiles/default-linux/amd64/2007.0/desktop securitydir: /var/paludis/repositories/local/metadata/glsa setsdir: /var/paludis/repositories/local/sets sync: sync_options: write_cache: /var/empty ----
dhcpcd-3.1 uses Node-specific Client Identifiers http://www.rfc-archive.org/getrfc.php?rfc=4361
This breaks stuff for me as well. My DHCP server provides only 6 octets for the hw address, and as such does not match the newer identifiers. Could you at least provide an option to NOT send the longer identifiers that are painful with older servers?
Update the server to a RFC compliant one then. In the meantime, you can use -I ''