LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-09-2009, 11:08 AM   #1
kungfo0
LQ Newbie
 
Registered: Jul 2008
Location: Wichita, KS
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Strange dhcp behavior


Just upgraded a machine over the weekend from Slackware 12.2 to 13.0. Everything went fine except for a strange new behavior with the dhcp client.

Prior to the upgrade, everything was just dandy. After the upgrade, it seems that the MAC address that is reported to the dhcp server is incorrect.

ifconfig still shows me the correct MAC address...
eth0 Link encap:Ethernet HWaddr 00:0c:29:da:71:b9
That's the same MAC it's always had.

But now, on the dhcp server side, the MAC that it receives is this crazy string 657468300001000112897d63000c29da71b9

This is on a Windows Server 2003 dhcp service. I use a dhcp reservation which no longer works because the MAC has gone whack. I can't create a new reservation because it doesn't like the address. The server DOES assign an address, it just doesn't obey the reservation so it's no good to me.


So far the only solution I could come up with is changing it to a static ip.
 
Old 11-09-2009, 12:27 PM   #2
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 226

Rep: Reputation: 33
That's nowhere close to a valid MAC. Is 13 using the correct driver for your nic? Check if you have to correct module loaded. Does your gateway list connected devices? You can check if the correct MAC is captured by your gateway when you connect statically.
 
Old 11-09-2009, 01:31 PM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
You could try setting HWADDR[0] in /etc/rc.d/rc.inet1.conf to the correct Mac address. This shouldn't be neccesary but it may help. Althouigh ideally it's best to try to get to the bottom of this if possible rather than work around it.

Last edited by bgeddy; 11-09-2009 at 01:36 PM.
 
Old 11-09-2009, 05:20 PM   #4
kungfo0
LQ Newbie
 
Registered: Jul 2008
Location: Wichita, KS
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
I think I've got a little better understanding about what is going on.

The issue here is something called "DUID" that the dhcp client now uses, but the dhcp server in Windows Server 2003 doesn't cope with. Essentially it prefixes some numbers to the hardware address to use as the clientid... I guess there is some benefit to this new method.

I'm been digging through the Slackware changelog trying to make sense of the chain of events. Slackware 13 includes dhcpcd-3.2.3, dhcpcd-2.0.8 was the previous version. It looks like this new DUID stuff was introduced somewhere around dhcpcd 3.1.x back in 2007 - I found some discussion about these problems.

Anyway, the easiest solution I found was to run the client with the -I flag which is supposed to disable DUID support. I'll give this a test after business hours and post again if it works.
 
Old 11-09-2009, 06:59 PM   #5
kungfo0
LQ Newbie
 
Registered: Jul 2008
Location: Wichita, KS
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, I just tested it with adding -I "" to the dhcpcd command that is run in /etc/rc.d/rc.inet1 and now it's working again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange dhcp/dns server behavior rbees Linux - Server 2 07-05-2009 11:04 PM
New install, strange behavior Scallawag Linux - Security 1 01-31-2005 11:53 PM
Very Strange Behavior raysr Mandriva 4 08-31-2004 03:06 PM
Strange Behavior andrewb758 Linux - Hardware 5 08-31-2003 03:42 PM
strange behavior abhijit Linux - General 3 07-10-2003 12:25 AM


All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration