Junos
Highlighted
Junos

DHCP local server and static client attribute assignement

[ Edited ]
‎04-18-2019 06:29 AM

Hi , 

I have setup dhcp service on a qfx5110 and it does work very well. However I am now in the need to be able to provide specific attribute to one client. That client is set as static, I would like to provide that specific client a different router gw than the "default" one. I know this is doable within Microsoft DHCP, but look like I can't do that within Juniper's dhcp service ? Any insight if this is doable ?  

 

Current config is as this .. 

set routing-instances guests system services dhcp-local-server group guest-dhcp1 interface irb.169
set routing-instances guests access address-assignment pool guests family inet network 10.X.Y.0/24
set routing-instances guests access address-assignment pool guests family inet range guests_pool1 low 10.X.Y.100
set routing-instances guests access address-assignment pool guests family inet range guests_pool1 high 10.X.Y.254
set routing-instances guests access address-assignment pool guests family inet dhcp-attributes name-server 8.8.8.8
set routing-instances guests access address-assignment pool guests family inet dhcp-attributes name-server 8.8.4.4
set routing-instances guests access address-assignment pool guests family inet dhcp-attributes router 10.X.Y.1
set routing-instances guests access address-assignment pool guests family inet host Gardien hardware-address b0:83:fe:9c:7e:10
set routing-instances guests access address-assignment pool guests family inet host Gardien ip-address 10.X.Y.100
set routing-instances guests access address-assignment pool guests family inet host WANemu hardware-address 72:71:29:96:81:28
set routing-instances guests access address-assignment pool guests family inet host WANemu ip-address 10.X.Y.254
set routing-instances guests access address-assignment pool guests family inet host UbiBox1 hardware-address b8:27:eb:22:c3:e5
set routing-instances guests access address-assignment pool guests family inet host UbiBox1 ip-address 10.X.Y.254
set routing-instances guests interface irb.169

 

Thanx for your help!