Hello, community members.
Today I’m going to introduce you how to deal with DHCP service is unavailable.
I believe we have dealt with DHCP.
To help us quickly obtain information such as IP addresses and DNS, we will set up a DHCP server to help us complete these tasks.
If the DHCP service is unavailable, it will definitely bring us more and more cumbersome work, then how to deal with the DHCP server is unavailable? Next, I'd like to share a case with you.
Problem Description
An alarm is generated on the OM, indicating that the DHCP service is unavailable.

Problem Analysis
1. Check the physical machine where the DHCP port is located.
The command: neutron dhcp-agent-list-hosting-net network_id
network_id can be obtained by the alarm information

2. Find the node by using the following command
ip netns list

3. Viewing the IP Address of a namespace
The Command: ip netns exec dhcp-network_id ifconfig -a

4. Run the ping command to check whether the IP addresses are the same based on the alarm information.

5. Check the physical_network and VLAN information of the network plane.
The Command: neutron net-show network_id

6. Log in to CPS_WEB
Choose Setting —> Network—> Port Mapping Configuration, and select the port group to which the faulty host belongs.
Nic3 and Nic5 are used as an example.

7. Check the physical network adapters used by Nic3 and Nic5.7. Check the eth2 and eth4 ports of the switch. The data packets of VLAN 1273 are filtered out.

8. Check the eth2 and eth4 ports of the switch. The data packets of VLAN 1273 are filtered out.
Solution
Log in to the switch and allow packets from VLAN 1273 to pass through the switch ports corresponding to NIC3 and NIC5.
That's all for today. I hope it will be helpful to all of you!
If you have any other comments or want to know more, please leave a message below to let me know.


