Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Untangle Junkie amac's Avatar
    Join Date
    Aug 2007
    Posts
    822

    Default DHCP to multiple networks

    For those Untanglers like me who have been wanting the dhcp server to serve addresses to dhcp clients on separate networks, 6.0 introduced a new tab under advanced that makes this really easy.
    Go to config-networking-advanced-dhcp and dns
    You will then see a text box. This text box will apply customizations you add to it over to the dns and dhcp file (dnsmasq.conf)
    add the following:
    dhcp-range=ethx,192.168.0.100,192.168.0.200,14400
    Where the first is the interface, the secon is the beginning of the range, the third is end of the range, and the last is the lease time in seconds. (14400 is the default)
    Make sure that it is enabled and save. Then test it out.
    Hope this helps and makes sense.
    Last edited by amac; 01-20-2009 at 04:58 PM.

  2. #2
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    i think that just defines the range, how do you define which interface those leases are offered on?
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Master Untangler mozerd's Avatar
    Join Date
    Nov 2008
    Location
    Nepean Ontario Canada
    Posts
    253

    Default

    The way that I can get the untangle DHCP service to dish out IP addresses to DHCP hosts on subnets other than Internal is to edit dnsmasq.conf and adding the following declaration:

    dhcp-range=ethx,192.168.0.100,192.168.0.200,14400

    where x is any interface number other than the INTERNAL and EXTERNAL one. This works works very well 4me.

  4. #4
    Untangle Junkie amac's Avatar
    Join Date
    Aug 2007
    Posts
    822

    Default

    yeah, that sounds better, sorry i forgot the interface on it, i'll edit that. Good catch mozerd!

  5. #5
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    25,808

    Default

    Yeah that new field is quite nice... lets you do the multi-interface DHCP as well as define option 66 and worlds of other stuff.

    Finally, don't forget that dnsmasq is also the DNS service with Untangle... so everyone that has been stuffing custom server= lines in there to deal with DNS bugs... those changes can be put in there too!
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  6. #6
    Newbie
    Join Date
    Oct 2008
    Posts
    8

    Default

    I just tried this with no luck. Do I need to make any firewall rule changes or something to make this work, or is it overridden by dnsmasq? Sorry if I'm sounding dumb here, but I just can't figure it out. I'm not running DHCP on my internel network, as I have a W2K3 box handling that. I'd like Untangle to handle DHCP on ETH3. I'm currently using.
    dhcp-range=eth3,192.168.0.100,192.168.0.200,14400 , but no dice. Any help would be great. Thanks all.

  7. #7
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    25,808

    Default

    You also need to create a packet filter rule to allow DHCP traffic to make it to Untangle. By default there is a rule there that kills all DHCP requests, then another that allows the traffic on internal. You need to create a third that allows it on DMZ.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  8. #8
    Newbie
    Join Date
    Feb 2009
    Posts
    10

    Default

    sky-knight

    Can you please provide the info on the rule to permit the DHCP on the DMZ?

  9. #9
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    25,808

    Default

    Quote Originally Posted by charon79m View Post
    sky-knight

    Can you please provide the info on the rule to permit the DHCP on the DMZ?
    config -> networking -> advanced -> packet filter

    Down in the System Packet Filter Rules

    See that "Allow DHCP Requests from the DMZ interface.." option?
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  10. #10
    Newbie
    Join Date
    Feb 2009
    Posts
    10

    Default

    Yes, I see that. I have that selected; still no luck. By your text "to create a packet filter rule to allow DHCP" I thought I actually needed to create a new one.

    Right now I've killed off dnsmasq and am running it in debug mode at the console. I'm not seeing any DHCP requests, though I'm not sure what debug info I should be seeing.

    Any other suggestions?

Page 1 of 4 123 ... LastLast

LinkBacks (?)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2