Advertisement
coffeehedake

DNSMASQ for iPXE

Dec 30th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. # Don't function as a DNS server:
  2. port=0
  3.  
  4. # Log lots of extra information about DHCP transactions.
  5. log-dhcp
  6.  
  7. # Dnsmasq can also function as a TFTP server. You may uninstall
  8. # tftpd-hpa if you like, and uncomment the next line:
  9. # enable-tftp
  10.  
  11. # Set the root directory for files available via FTP.
  12. tftp-root=/tftpboot
  13.  
  14. # The boot filename, Server name, Server Ip Address
  15. dhcp-boot=undionly.kpxe,,x.x.x.x
  16.  
  17. # rootpath option, for NFS
  18. #dhcp-option=17,/images
  19.  
  20. # kill multicast
  21. #dhcp-option=vendor:PXEClient,6,2b
  22.  
  23. # Disable re-use of the DHCP servername and filename fields as extra
  24. # option space. That's to avoid confusing some old or broken DHCP clients.
  25. dhcp-no-override
  26.  
  27. # PXE menu. The first part is the text displayed to the user. The second is the timeout, in seconds.
  28. pxe-prompt="Press F8 for boot menu", 3
  29.  
  30. # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
  31. # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
  32. # This option is first and will be the default if there is no input from the user.
  33. pxe-service=X86PC, "Boot from network", undionly
  34.  
  35. # A boot service type of 0 is special, and will abort the
  36. # net boot procedure and continue booting from local media.
  37. #pxe-service=X86PC, "Boot from local hard disk", 0
  38.  
  39. # If an integer boot service type, rather than a basename is given, then the
  40. # PXE client will search for a suitable boot service for that type on the
  41. # network. This search may be done by multicast or broadcast, or direct to a
  42. # server if its IP address is provided.
  43. # pxe-service=x86PC, "Install windows from RIS server", 1
  44.  
  45. # This range(s) is for the public interface, where dnsmasq functions
  46. # as a proxy DHCP server providing boot information but no IP leases.
  47. # Any ip in the subnet will do, so you may just put your server NIC ip here.
  48. # Since dnsmasq is not providing true DHCP services, you do not want it
  49. # handing out IP addresses. Just put your servers IP address for the interface
  50. # that is connected to the network on which the FOG clients exist.
  51. # If this setting is incorrect, the dnsmasq may not start, rendering
  52. # your proxyDHCP ineffective.
  53. dhcp-range=10.0.0.10,proxy
  54.  
  55. # This range(s) is for the private network on 2-NIC servers,
  56. # where dnsmasq functions as a normal DHCP server, providing IP leases.
  57. # dhcp-range=192.168.0.20,192.168.0.250,8h
  58.  
  59. # For static client IPs, and only for the private subnets,
  60. # you may put entries like this:
  61. # dhcp-host=00:20:e0:3b:13:af,10.160.31.111,client111,infinite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement