Solved

Multiple DHCP Servers and PXE

Posted on 2013-10-24
6
1,446 Views
Last Modified: 2013-11-11
I setup Ubuntu with Terminal Servers and trying to configure dumb terminals to access via PXE, but I have an existing DHCP Server which is taking preference over the PXE DHCP Server.
I have set the options on my Source DHCP but it is not taking preference. Please help.
0
Comment
Question by:IBSIT
  • 2
  • 2
  • 2
6 Comments
 
LVL 28

Expert Comment

by:asavener
ID: 39601053
Two choices:

1) configure the other DHCP server to give out the PXE boot info.
2) configure your VLAN/broadcast domain so that only the DHCP you want is answering requests.
0
 

Author Comment

by:IBSIT
ID: 39601130
I would like to configure the source DHCP to broadcast PXE but its not working
0
 
LVL 16

Expert Comment

by:vivigatt
ID: 39603216
You can't have 2 DHCP servers on the same subnet (unless they are configured for failover or scope splitting).
Now, you DON'T need a dhcp server running on the host that runs your PXE server.
You just use your standard DHCP server to assign IP config (address etc) and the PXE server to give "PXE" information (boot file name, tftp server IP address).
I've done that with dnsmasq under Ubuntu in the past:
I had an external DHCP server and dnsmasq was just the "PXE service" (aka ProxyDHCP).
I used this article as my main source for setting up dnsmasq as a ProxyDHCP service

https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:IBSIT
ID: 39605754
is there a way to configure tftp server and boot file on the external DHCP Server?
0
 
LVL 28

Expert Comment

by:asavener
ID: 39605825
It's just setting options on scope.  You need to be a DHCP admin, though.
0
 
LVL 16

Accepted Solution

by:
vivigatt earned 500 total points
ID: 39614557
DON'T SET tftp and bootfile name directly in DHCP options (options 66 and 67) if you have a real PXE server serving these options.
A PXE server (aka proxyDHCP) is exactly made for that: sending tftp server IP address and bootfile name to clients (based on architecture and other criteria). If you set the same options in the DHCP server config, you create a conflict.

Check my article (and its comments) for more details:
http://www.experts-exchange.com/Networking/Misc/A_2978-PXEClient-what-is-it-for-Can-I-use-PXE-without-it.html

No, for your question
"is there a way to configure tftp server and boot file on the external DHCP Server? "
the answer is yes (actually, this is the role of a PXE server/ProxyDHCP server).
If you read the link I sent you previously, you will see that this is configured in dnsmasq config:
# The boot filename.
dhcp-boot=/ltsp/i386/pxelinux.0
you don't need to specify a tftp server address if the tftp daemon/Service runs on the same host that runs dnsmasq.
You can specify it as a dhcp 66 option, using this syntax in the .conf file:
dhcp-option=66,"192.168.1.2"
Quotes are required
(replace the IP address by the TFTP server IP address)
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question