1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

limited dhcp range

Discussion in 'Tomato Firmware' started by besonen, Aug 1, 2008.

  1. besonen

    besonen LI Guru Member

    if i set the router ip address to 10.10.0.0 with a netmask of 255.0.0.0, tomato 1.19 will only let me set a 10.10.0.x - 10.10.0.x range.

    shouldn't i be able to set a dhcp range of say 10.10.1.x - 10.10.1.x? or even a range of 10.10.0.x - 10.10.1.x for that matter?
     
  2. bripab007

    bripab007 Network Guru Member

    I think by default, Tomato can only hand out up to 50 DHCP leases.
     
  3. i1135t

    i1135t Network Guru Member

    Yes, you can, but you will have to set that IP range in the configuration. Why not just use 255.255.255.0 netmask since you will probably not use more than one subnet? Anything in the 10.x.x.x is non-routable so you can choose any to your heart's content.
     
  4. fyellin

    fyellin LI Guru Member

    I suspect that the Tomato GUI was written under the simplifying assumption that everyone was using a netmask of 255.255.255.0. To do otherwise would have been a lot of coding for very little gain.

    Do you have a compelling reason for needing this? Or were you just curious?
     
  5. TexasFlood

    TexasFlood Network Guru Member

    Most home/soho routers are set up with a class c subnet of 255.255.255.0 supporting up to 254 hosts. The GUI interfaces are designed around the assumption that this is more than adequate. It may not be unusual to have a commercial DHCP servers handling other scopes but chances are you're going to run into other issues if you're really supporting more than 254 hosts on a home router. Also most home users I know don't have multiple subnets, at least not intentionally, as one flat subnet is so much easier to use and manage. I used to have subnets but flattened my network out to make my life easier.

    And on a related note, Tomato has a limit on static DHCP addresses. This was 50 but Tomato 1.20 increased the static DHCP limit from 50 to 100.

    A class a subnet of 255.0.0.0 allows up to around 16,777,214 hosts. That's a lot for a home network, unless you're going nuts with subnets. I only know of a few class a networks, public ones anyway, all major corporations with a lot of segments for reasons including security, business and geography. Of course with the private IP spaces we're discussing you can use whatever you want. Guess I'd the same question as fyellin - Do you have a compelling reason for needing this? Or were you just curious?

    With Linux based routers you can usually do such things if you're willing to give up the GUI and get your hands dirty "under the hood". You'll have to weigh if that effort is worth it to you or if you perhaps need to look upgrading or supplementing your router with devices and/or servers with the more robust features you are looking for.
     
  6. besonen

    besonen LI Guru Member

    i haven't tagged every object in my domain with an ip (even if i did i wouldn't have anywhere near 16 million objects), and i'm also not nuts (others would beg to differ).

    i do however have a strong desire to deploy a comprehensive organizational scheme with subnets. will any WRT54GL firmware accommodate my desires (i'm guessing packetprotector will but i have yet to check)?

    thanks,
    david
     
  7. TexasFlood

    TexasFlood Network Guru Member

    Tomato, DD-WRT, OpenWRT (which packetprotector is apparently based on), XWRT. These are all basically Linux servers, with limitations of course. They all use DNSmasq as it looks like does packetprotector. Go check out DNSmasq to see what you can do with it. As I said, I doubt any of them are going to support it through the GUI. Again, I think you're looking at rolling up your sleeves and "getting under the hood" using the command line and scripts. I looked at packetprotector but couldn't find enough documentation to determine what the GUI looks like. I could be wrong, but I don't think so... Sorry, been watching too much "Monk", :-D
     

Share This Page