Forums

Duncan Rix
Duncan Rix
Offline
Resolved
0 votes
Hello Community

Could some one please point me in the right direction here. Iv installed VMware and a possibly handy looking vertual machine called UDA.

Info on this project can be found here

Basicly its a VM for booting different ISO's via PXE boot. It comes with its own DHCP server that's preconfiguard to handle the PXE requests. This works fine, but i would like to still use the ClearOS DHCP and have no idea where or what config files I would have to edit.

The only other possible problem I have is that I can only find a how to for setting a windows DHCP servers options, And I belive the options can differ in linux. The windows info is below

"1. Configure the following Scope Options or Server Options:
2. Enable the option 066 Boot Server Host Name, and set the empty string value to be the IP
address of your UDA
3. Enable the option 067 Bootfile Name, and set the empty string to be, pxelinux.0"

So if any one could tell me if this would be the same options needed for the ClearOS DHCP that would be grate

Could some one please tell me where to look :huh:

Thanks in advance
Wednesday, June 23 2010, 01:47 PM
Share this post:
Responses (8)
  • Accepted Answer

    Thursday, November 08 2018, 09:45 PM - #Permalink
    Resolved
    0 votes
    Dnsmasq is the program for DHCP. Can I suggest rather than edit dnsmasq.conf which is system maintained, if you're using new options, add a file to /etc/dnsmasq.d/ called anything you want. It will be read when dnsmasq starts. To server different settings on different interfaces, try adding the "localise-queries" line to your configuration. Have a look at "man dnsmasq.conf" for more information. You may also be able to add the interface as the first parameter after the "dhcp-boot=", but I am not sure. Have a look at the manual.
    The reply is currently minimized Show
  • Accepted Answer

    Bruce Shiu
    Bruce Shiu
    Offline
    Thursday, November 08 2018, 06:12 PM - #Permalink
    Resolved
    0 votes
    Fbifido wrote:

    This one works.

    METHOD 2

    but it is set for all the interface that have DHCP on.


    Hi,

    does anyone found out a way to make it interface specific? I'm using ClearOS7 and I have multiple vlan interface on different subnet that would like to point to different PXE server.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Friday, January 16 2015, 05:28 PM - #Permalink
    Resolved
    0 votes
    This one works.

    METHOD 2

    but it is set for all the interface that have DHCP on.
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Friday, January 16 2015, 05:57 AM - #Permalink
    Resolved
    0 votes

    Method 3:

    In webconfig go to NETWORK > DHCP Server and click EDIT on your LAN DHCP interface (probably eth1) and type UDA-IP into TFTP Server, then click UPDATE


    How do you tell it the bootfile name or file to request ?

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Friday, January 16 2015, 05:53 AM - #Permalink
    Resolved
    0 votes

    Method 2:

    Add this Code: dhcp-boot=pxelinux.0,UDA-DNS-NAME,UDA-IP

    to file /etc/dnsmasq.conf

    after edit, reload DHCP settings: service dnsmasq restart


    pxelinux.0 this is the boot file, yes ?
    So citrix PVS use a bootfile name ardbp32.bin


    so my /etc/dnsmasq.conf file will have this
    dhcp-boot=ardbp32.bin,pvs.mydomain.lan,192.168.102.5
    to get it to pxe boot from my PVS server, is this correct ?

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Wednesday, January 14 2015, 09:25 PM - #Permalink
    Resolved
    0 votes
    How can I set dhcp option for a particular pc via it's mac address.
    or to a group of pc, via mac-address.
    The reply is currently minimized Show
  • Accepted Answer

    Duncan Rix
    Duncan Rix
    Offline
    Friday, June 25 2010, 09:01 AM - #Permalink
    Resolved
    0 votes
    Thanks for the info Piotr :silly:

    Just what Im after. Ill try it out to day and let you know how I get on :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 23 2010, 04:24 PM - #Permalink
    Resolved
    0 votes
    Hi Duncan!

    Method 1:

    Add this:

    dhcp-option=66,UDA-IP
    dhcp-option=pxe,67,pxelinux.0


    to file
    /etc/dnsmasq/dhcp.conf


    after edit, reload DHCP settings:

    service dnsmasq restart


    Method 2:

    Add this:

    dhcp-boot=pxelinux.0,UDA-DNS-NAME,UDA-IP


    to file
    /etc/dnsmasq.conf


    after edit, reload DHCP settings:

    service dnsmasq restart


    Method 3:

    In webconfig go to NETWORK > DHCP Server and click EDIT on your LAN DHCP interface (probably eth1) and type UDA-IP into TFTP Server, then click UPDATE
    The reply is currently minimized Show
Your Reply