static DHCP - different gateway, dns...

Discussion in 'Tomato Firmware' started by neutralman, Feb 8, 2007.

  1. neutralman

    neutralman Network Guru Member


    is there any way to setup Static DHCP, so certain mac address-es receive different gateway and dns - when I say different I mean, IP other then wrt54g running DHCP server on my network

    super-power help appreciated
  2. ifican

    ifican Network Guru Member

    What exactly are you trying / wanting to do?
  3. neutralman

    neutralman Network Guru Member

    I have 3 different DSL gateways on my network

    I have disabled DHCP on 2 of routers, only on 1 router DHCP is enabled

    I want to setup Static DHCP like this:

    mac address xx:xx:xx ... IP gateway - dsl1
    mac address xx:yy:xx ... IP gateway 192.168.0 90 - dsl2
    mac address xx:yy:zz ... IP gateway - dsl3

    I have setup fixed IP address on every workstation, now I want to change IP range my network use (from 192.168.0.x to 192.168.150.x)

    so I have to do everything manually, if I got advanced static dhcp settings, I would just change IP range of my routers, and DHCP would do the rest for workstation/clients

    I think you got the point, maybe I wasn't precise enough before, but everything is fine now, I guess :)
  4. digitalgeek

    digitalgeek Network Guru Member

    You might wnat to consider using Win Server or Linux to handle the DHCP (or setup you own manual DHCP config script)
  5. ifican

    ifican Network Guru Member

    Thats what he was after, some kind of script, any ideas on how he can accomplish that. I can come up with lots of ways to route and create redundant paths but script writing in not my fortay.
  6. neutralman

    neutralman Network Guru Member

    redudant paths - can you script gateway fail-over maybe? :)
  7. pablito

    pablito Network Guru Member

    It is easy to do on a nix DHCP server. I haven't looked at the Tomato DHCP config but if it is standard then perhaps you could alter the config file. Usually located at /etc/dhcpd.conf . Not sure if it would just get overwritten later on though. Something like:

            host device11 {
                    hardware ethernet 00:14:bf:4f:59:99;
                    option routers;
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice