Solved

Multiple DHCP Servers and PXE

Posted on 2013-10-24
6
1,298 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
Comment Utility
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
Comment Utility
I would like to configure the source DHCP to broadcast PXE but its not working
0
 
LVL 16

Expert Comment

by:vivigatt
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

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

Expert Comment

by:asavener
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now