sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
737 stars 1.43k forks source link

[dhclient] Log error - "Network is unreachable" during interfaces-config.sh execution #19955

Open gpunathilell opened 2 months ago

gpunathilell commented 2 months ago

Description

dhclient raises the error : send_packet: Network is unreachable during the execution of interfaces-config.sh in syslog. The issue is caused due to the following: On config reload/reboot we have the eth0 interface being forced down here If DHCPRELEASE packet is sent after the eth0 interface is down then we see the above log error, Similarly we see a Network is down if a DHCP packet is received.

Steps to reproduce the issue:

Unable to reproduce as it is a statistical issue

Describe the results you received:

syslog error ERR dhclient[7201]: send_packet: Network is unreachable

Describe the results you expected:

No error logs related to dhcp

gechiang commented 2 months ago

@saiarcot895 , can you help take a look? Thanks!