Forcing a Mac address to a specific pool

Simon Hobson simon at thehobsons.co.uk
Thu Jul 10 22:16:17 UTC 2008


Gideon Viator wrote:

>Ok I got the shared network config running. However, there is only one
>"option router", which is the gateway for the client. For the second subnet,
>their gateway will not be in the same subnet as the IP address obtained, and
>may be a problem. Do you know how to set different option routers for
>different subnets?

Err, just declare it ! Put one "option routers ..." statement inside 
each subnet declaration.

ie you end up with :

shared-network ...
   subnet ...
     option routers ...
     pool ...
       range ...
     }
   }
   subnet ...
     option routers ...
     pool ...
       range ...
     }
   }
}

-- 
Simon Hobson


More information about the dhcp-users mailing list