DHCP Enabled Interface Gets /32 IP Address

DHCP Enabled Interface Gets /32 IP Address

0
Created On 09/25/18 18:52 PM - Last Modified 07/19/22 23:09 PM


Resolution


Issue

From the WebGUI, under Network > Interfaces > Ethernet, the DHCP enabled interface gets the /32 IP address regardless of the mask configured on the DHCP server. In the following diagram, ethernet 1/3 is acting as a DHCP client:

17376_DHCPa.png

 

As shown below, the DHCP server is configured with /24 mask, still the interface gets the IP address in the /32 range:

17377_dhcp2.png

 

Resolution

When the interface gets the IP from the DHCP, it shows the mask as /32, regardless of the actual mask. The only way to view the actual mask is to use the following CLI command:

>  show routing route

The command installs the correct subnet.

 

The following diagram shows the right subnet installed in the routing table, which is /24:

17378_dhcpc.png

 

owner: hshah



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClRNCA0&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail