[Dnsmasq-discuss] Proxydhcp only for specific clients

Funke, Martin M.Funke at olpe.de
Thu Nov 14 08:52:31 GMT 2013


Hi,

since yesterday i set up my ubuntu ltsp server plus dnsmasq configured as a proxydhcp.

My Problem is that every client which boots via pxe uses the proxydhcp. I use already a DHCP Server where some clients get a "next-server" option to boot from a OpenSuse ltsp.

With my Ubuntu ltsp running every client which normally uses the OpenSuse LTSP is now using the Ubuntu one.

In the dnsmasq.conf it says something like:
# If another DHCP server is present on the network, you may use a proxy range
# instead.
Is there some special syntax for a proxy range?

This is my dnsmasq.conf:

# Configures dnsmasq for PXE client booting.
# All the files in /etc/dnsmasq.d/ override the main dnsmasq configuration in
# /etc/dnsmasq.conf.
# You may modify this file to suit your needs, or create new ones in dnsmasq.d/.

# Log lots of extra information about DHCP transactions.
#log-dhcp

# IP ranges to hand out.
dhcp-range=192.168.67.20,192.168.67.250,8h

# If another DHCP server is present on the network, you may use a proxy range
# instead. This makes dnsmasq provide boot information but not IP leases.
# (needs dnsmasq 2.48+)
dhcp-range=10.0.2.215,proxy

# The rootpath option is used by both NFS and NBD.
dhcp-option=17,/opt/ltsp/i386

# Define common netboot types.
dhcp-vendorclass=etherboot,Etherboot
dhcp-vendorclass=pxe,PXEClient
dhcp-vendorclass=ltsp,"Linux ipconfig"

# Set the boot filename depending on the client vendor identifier.
# The boot filename is relative to tftp-root.
dhcp-boot=net:pxe,/ltsp/i386/pxelinux.0
dhcp-boot=net:etherboot,/ltsp/i386/nbi.img
dhcp-boot=net:ltsp,/ltsp/i386/lts.conf

# Kill multicast.
dhcp-option=vendor:pxe,6,2b

# Disable re-use of the DHCP servername and filename fields as extra
# option space. That's to avoid confusing some old or broken DHCP clients.
dhcp-no-override

# We don't want a PXE menu since we're using a graphical PXELinux menu.
#pxe-prompt="Press F8 for boot menu", 3

# The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
# Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
pxe-service=X86PC, "Boot from network", /ltsp/i386/pxelinux

# A boot service type of 0 is special, and will abort the
# net boot procedure and continue booting from local media.
#pxe-service=X86PC, "Boot from local hard disk", 0

# Comment the following to disable the TFTP server functionality of dnsmasq.
enable-tftp

# The TFTP directory. Sometimes /srv/tftp is used instead.
tftp-root=/var/lib/tftpboot/

# Disable the DNS server functionality of dnsmasq by setting port=0
port=0

# Don't listen on lo, to prevent conflicts with Ubuntu's local resolver hack (LP: #959037).
#except-interface=lo
#bind-interfaces



Martin Funke
EDV in Schulen
Kreisstadt Olpe

Franziskanerstr. 6
57462 Olpe / Biggesee

[Tel.]  +49 2761/ 83 - 1311
[Fax ] +49 2761/ 83 - 2311

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20131114/95a7b9f2/attachment.html>


More information about the Dnsmasq-discuss mailing list