DHCP Server with specific gateway for specific gateway

Hi,

With 6.44.2 on a CRS328-28P, is it possible to configure one (or several) DHCP server(s) so that:

  • some LAN devices (IP phones) identified by MAC address, are assigned a specific gateway (one WAN link dedicated to IP phones)
  • the other devices are assigned a default gateway
  • all devices belongs to the same network

If positive, what are the main steps ?

Best regards

You can add IP address reservations for MAC addresses. And then you can add different config for addresses/subnets in “/ip dhcp-server network”.

Thanks to the above advice, I could specify a specific gateway address for specific MACs, using the following WebFig steps:

  • in IP/DHCP Server/Option form, create a new “option3” option (its code is 3 and its value is something like ‘192.168.88.124’ where quotes are mandatory)
  • in IP/DHCP Server/Leases form, create a new Lease for each specific device:
  • edit IP and MAC address
  • select “defconf” server
  • select “option3” DHCP Options.

In case several specific DHCP options might be needed, using DHCP Option Set should be preferred.

Thanks again for your help