View previous topic :: View next topic |
Author |
Message |
risq Tux's lil' helper
Joined: 03 Dec 2004 Posts: 75
|
Posted: Thu Mar 12, 2015 12:53 pm Post subject: Default dhcpcd and Windows DHCP Server |
|
|
Hi,
i notice some strange behaviour with several gentoo hosts in an enviroment with a windows DHCP Server.
While other linux host dont have any trouble those gentoo hosts wont get a reserved IP with the default configuration of their dhcpcd client
I used a standard procedure, doing some reservations for the mac adresses of the gentoo hosts.
But the gentoo hosts will not get a new Adress when restarting the network, they will keep their old ones.
What also is strange, that instead of a normal mac adress a very long adress (seems like the mac header) is shown up in the Windows DHCP Server.
Can someone help me with that? The problem only appears with the gentoo hosts, debian and redhat machines work well with the DHCP.
Thx in advance
risq |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
risq Tux's lil' helper
Joined: 03 Dec 2004 Posts: 75
|
Posted: Thu Mar 12, 2015 10:11 pm Post subject: |
|
|
Thx for the explanation Uberlord. But what is the solution? Using dhclient?!
This is default dhcpcd and Default Windows 2012 DHCP Service Behaviour, so Gentoo is not Windows 2012 Server friendly? Not a very good situation i think |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
risq Tux's lil' helper
Joined: 03 Dec 2004 Posts: 75
|
Posted: Fri Mar 13, 2015 9:46 am Post subject: |
|
|
Quote: | EDIT: So I'm suggesting you change DHCP server |
Not realistic. Its a complex productive enviroment, the solution needs to sit on the gentoo machines. im surprised no one else has these kind of problems before as dhcpcd is pretty common for all gentoo installatons. any way to make the dhcpcd Windows DHCP compliant? Will switching to dhclient be the simpliest solution? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Mar 13, 2015 10:02 am Post subject: |
|
|
Quote: | Its a complex productive enviroment, the solution needs to sit on the gentoo machines. |
If you cannot change the DHCP server, then I suggest you take the problem to the vendor which is Microsoft.
Note that DHCPv6 reservations require the DUID and IAID so I'm very suprised you cannot do this for DHCPv4.
But you can also turn dhcpcd into a RFC in-compliant client which makes MS DHCP happy.
Edit /etc/dhcpcd.conf and enable clientid and disable duid.
Quote: | im surprised no one else has these kind of problems before as dhcpcd is pretty common for all gentoo installatons. |
dhcpcd is also the client of choice in Slackware, NetBSD and Android.
This tells me that either they don't use IP reservation for the installations or they don't use MS DHCP servers. _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
risq Tux's lil' helper
Joined: 03 Dec 2004 Posts: 75
|
Posted: Fri Mar 13, 2015 8:31 pm Post subject: |
|
|
for Android it seems clear, those devices will connect to some WLAN Device from which they will get a dynamic IP. Maybe most NETBSD systems also will not need to be in the AD. So both types will not depend on some MS DHCP Service.
thx for your hints, i will try |
|
Back to top |
|
|
|