Community Forum

Justin
Justin
Offline
Resolved
0 votes
Using 5.2 -- is there a DHCP relay agent that I can install?
Sunday, December 04 2011, 03:21 PM
Share this post:
Responses (11)
  • Accepted Answer

    Dave Loper
    Dave Loper
    Offline
    Tuesday, January 20 2015, 04:14 PM - #Permalink
    Resolved
    0 votes
    The new syntax of the new version may not jive with Webconfig. As such, you should treat the config file as authoritative and ignore app-dhcp until it gets updated to coincide with the new DNSMasq.

    If it is still giving DHCP then that is a good sign.
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Monday, January 19 2015, 03:46 PM - #Permalink
    Resolved
    0 votes
    Where does dnsmasq keeps it's list of dynamic/static clients ?
    Does it have any other config file?

    I ssh into the box and manually stop the service, with ./etc/init.d/dnsmasq stop.
    that seems to work., I reboot the box, and dhcp was still off, ok.
    Now I enable dhcp for eth3 again, and gest what? yes ? it is finding the tftp server and boot file with out me tell it where to look or what file name to ask for !!!!!

    all I can do now it uninstall dnsmasq 2.72 or just kill the server and re-do it from :(

    Anyway any help will be welcome.

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Monday, January 19 2015, 03:03 PM - #Permalink
    Resolved
    0 votes
    Dave Loper wrote:
    DNSMasq 2.72 is in updates-testing

    yum --enablerepo=clearos-updates-testing update dnsmasq

    If what you need is in 2.72, you should be able to get it there.

    FWIW, that rpm is being heavily tested right now due to a dependency in upcoming apps. Should be pretty stable.


    I did just this, but I have a major problem.
    I have now disable dhcp on my eth3 in webcofig, that's the only one that had dhcp enable.
    but my workstation is still getting dhcp from this box. WHY?

    I also remove any --dhcp-option=* from /etc/dnsmasq.d/dhcp.conf
    I also remove the dhcp-boot=* option from the /etc/dnsmasq.conf file. but my network boot is still getting dhcp & tftp info. WHY?


    Help......!!!!!

    http://www.clearfoundation.com/media/kunena/attachments/legacy/images/dnsmasq1.jpg
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Friday, January 16 2015, 05:37 PM - #Permalink
    Resolved
    0 votes
    do you know the syntax in 2.7.2 for :

    dhcp-boot= 'as pertain to interface
    dhcp-option= 'as pertain to 66 & 67, with interface

    dhcp-relay=
    dhcp-proxy=


    I still can't believe that
    .... dhcp-boot=ardbp32.bin,xenps.doain.lan,192.168.102.5

    option work, but the
    .... dhcp-option=eth3,66,"192.168.102.5"
    .... dhcp-option=eth3,67,"ardbp32.bin"

    did not work.

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Dave Loper
    Dave Loper
    Offline
    Friday, January 16 2015, 04:56 PM - #Permalink
    Resolved
    0 votes
    DNSMasq 2.72 is in updates-testing

    yum --enablerepo=clearos-updates-testing update dnsmasq

    If what you need is in 2.72, you should be able to get it there.

    FWIW, that rpm is being heavily tested right now due to a dependency in upcoming apps. Should be pretty stable.
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Friday, January 16 2015, 05:36 AM - #Permalink
    Resolved
    0 votes
    http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,28/func,view/id,62816/#67551

    I don't thing dhcp-helper is neede any more, because 2.72 support
    --dhcp-relay
    --dhcp-proxy

    but I can't make a rpm from it.
    The reply is currently minimized Show
  • Accepted Answer

    Dave Loper
    Dave Loper
    Offline
    Thursday, January 15 2015, 10:22 PM - #Permalink
    Resolved
    0 votes
    DNSMasq does not have any native DHCP relay features. However, a major writer of DNSMasq has written dhcp-relay which is a very light weight DHCP relay worker. We don't have a package for this yet and you would have to install this via building it on your server. BIND is an alternative but it also does DHCP and DNS and will collide with DNSMasq so you'd have to turn off DNSMasq to use the ISC BIND package.

    http://www.thekelleys.org.uk/dhcp-helper/
    The reply is currently minimized Show
  • Accepted Answer

    Fbifido
    Fbifido
    Offline
    Thursday, January 15 2015, 06:50 PM - #Permalink
    Resolved
    0 votes
    no you are not the only one!

    I am using 6.5.0 how do I enable dhcp relay ?

    setting up Citrix PVS and need this feature

    firewall:
    -eth0 -external (internet)
    -eth1 -lan (dns,dhcp,AD,files,sql,mail,wsus,ca,printsrv,web) 192.168.100.0/24 (vlan10)
    -eth2 -lan (eqxDB,eqxApp,eqxAdmin) 192.168.101.0/24 (vlan20)
    -eth3 -lan (xenLic,xenDDC,xenSF,xenAPP,xenPVS,xenvdi-##) 192.168.102.0/24 (vlan30)

    how can I setup dnsmasq to dhcp-relay from eth3 to 192.168.100.3 (AD-Domain-Controller) ?
    The reply is currently minimized Show
  • Accepted Answer

    Justin
    Justin
    Offline
    Saturday, December 24 2011, 02:21 PM - #Permalink
    Resolved
    0 votes
    I can't possibly be the only one wanting to do this...
    The reply is currently minimized Show
  • Accepted Answer

    Justin
    Justin
    Offline
    Monday, December 05 2011, 10:24 PM - #Permalink
    Resolved
    0 votes
    The router is routing several different subnets and I want a single DHCP server that exists on only one of the subnets. The router needs to forward the DHCP packets to the proper server when it sees them come in. On other linux distributions this is typically available in a package called dhcrelay, but I don't see this package available in the clearos repository.
    The reply is currently minimized Show
Your Reply