Description

Customer reported that option 1 knob of dhcp-attributes for dhcp pool is not working as expected.
Customer is using following configuration: > show configuration routing-instances INTERNET access address-assignment pool Public-static-pool family inet { network 10.0.0.0/24; range DHCP { low 10.0.0.10; high 10.0.0.16; } dhcp-attributes { server-identifier 10.0.0.18; router {            10.0.0.18; } option 1 ip-address 255.255.255.0; } }

Symptoms

Customer is using DHCP to assign addresses to subscribers.

 

Customer was getting /32 subnet to CPE even though "option 1 ip-address 255.255.255.0" was configured.

Customer was expecting to get /24 subnet mask to the CPE.

Solution

We found that customer is using radius returns attribute "Framed-Protocol:=PPP"  for the subscriber. Due to this /32 subnet mask was being sent to the subscriber.

This is expected, since radius attributes take preference over local configuration and /32 subnet is default subnet mask for "Framed-Protocol:=PPP" subscriber.

 

Customer stopped sending "Framed-Protocol:=PPP" from radius and issue got resolved. Subscriber started getting /24 subnet mask.

 

Please note in above example "option 1 ip-address 255.255.255.0" configuration is not needed at all. DHCP subscribers get subnet mask from the network 10.0.0.0/24 knob.

Subscriber will get subnet mask configured under network knob in this case it is /24.


Modification History

2025-07-08 : Article Created