Consider a small network of clients and a router running OpenWRT. All clients are getting their IP informations automatically from the DHCP server of the router.

The devices in the network should all get the same IP credentials from DHCP-server, except for the "gateway"-information. There are 2 gateways and each client of the network needs to recieve a specific one of them. Instead of setting the gateway manually on each client, I want the DHCP server to do it.

How do I give specific clients, different DHCP IP settings? Is it even possible?

  • You mean you have two gateway routers in your network and you want your hosts to be assigned to use either one of the gateways?
    – some user
    May 31 '15 at 16:31
  • Yes, but I want to set which client gets which gateway. May 31 '15 at 16:49
  • I'm not sure how it is done on OpenWRT, but DNSMasq in DD-WRT has advanced option to forward DHCP request and/or assign a different gateway: dd-wrt.com/wiki/index.php/DNSMasq_as_DHCP_server
    – some user
    May 31 '15 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.