Skip to main content
Version: v25.07.31

DHCP Troubleshooting

This document explains how to fix issues with DHCP on CE devices. DHCP is a system that automatically assigns IP addresses to devices and connects them to a network, making it easier to manage a network. When DHCP is not working, devices can disconnect from the network. This guide will help you check if DHCP is working properly and find possible issues on CE devices.


Troubleshooting Steps

Cloud Configuration Verification

This section details how to check the configurations made in the cloud. The commands below can be used to verify the cloud configuration.

Access the CE Terminal

Log into the CE device and gain root access:

sudo su -

Verify DHCPv2 Configuration

If the device implements DHCPv2, examine its current settings. This command displays the most recently configured settings, as shown in the example response.

cat /tmp/last_config_response.json | jq '.service.dhcpV2'

The given one is just an example output; when this command is run, it will show something like this.

Example Response

{
"eth3": {
"sharedNetworkName": "dhcpServer_eth3",
"subnet": "172.10.2.0/24",
"dnsServer": "172.10.2.1",
"defaultRouter": "172.10.2.1",
"dhcpRanges": [
{
"start": "172.10.2.51",
"stop": "172.10.2.101"
}
]
}
}

This command will extract and display the last configuration response using DHCPv2 configuration.

Q:1 How can I verify if DHCPv2 configuration is applied on the device?

Q:2 What should I check in the DHCPv2 response to confirm correct configuration?

Q:3 What if the file /tmp/last_config_response.json is missing?