Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-20-2013, 04:18 AM   #1
LQ Newbie
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
Linux DHCP giving out 2 IPs with PXEboot

HI folks,
I'm new to the group and very new to Linux. Forgive me if this has been answered before, but I've had a troll through and couldn't find anything related.

We have a couple of DHCP servers running on RedHat Linux 7.2 on our estate.
Problem is that if I use PXEboot to deploy images out to computers, the DHCPs hand out 2 IP addresses. One for the PXE boot image and the other for the installed OS. Our normal IP lease time is 2 weeks so each PC on a particular subnet holds onto both IPs which creates a shortage in some subnets. I have read this is a known issue, but wondering if anyone knows of a resolve or can point me in the right direction?

Thanks for your help.
Old 09-20-2013, 09:33 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,840

Rep: Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756
Is the MAC address changing? A DHCP server won't give different addresses to the same MAC if there is an existing lease.
Old 09-21-2013, 05:09 AM   #3
LQ Newbie
Registered: Sep 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I haven't actually checked what the IP of the OS was once the image is installed. I imagine the IP to be the same for the OS as the lease is for a fortnight, but there's still a different second IP assigned to the PXEboot, which holds onto the IP even after PXE is switched off in BIOS of the PC.
Resulting in the same MAC addy having 2 IPs


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
DHCP server started but not giving IPs chris24300 Linux - Networking 1 10-23-2009 03:17 PM
2 DHCP IPs, one NIC? lil_drummaboy Linux - Networking 1 10-24-2005 04:36 PM
Router giving weird IPs to network beebop Linux - Networking 4 08-01-2005 02:11 AM
DHCP with fixed IPs alithenake Slackware 4 03-18-2005 10:02 AM
DHCP and Multiple IPs Matir Linux - Networking 0 02-23-2005 03:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 PM.

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