openbmc / phosphor-networkd

Apache License 2.0
18 stars 49 forks source link

After host reboot, eth0 source switch from DHCP to static IP #54

Closed Jordan-Chang1 closed 1 year ago

Jordan-Chang1 commented 2 years ago

Hello, I have implemented the OpenBMC project with my own platform, and I encountered the problem with network lost after host reboot. The IP before reboot was 192.168.165.28, but however after host reboot the IP became 169.254.51.250. Therefore, I compared the content at /etc/systemd/network/00-bmc-eth0.network. The difference was list below. I am wondering why this happen and which deamon causing the IP source changed?

Best Regards.

OguzhanCaglar commented 1 year ago

Did you solve this problem?

wak-google commented 1 year ago

Please retry this against newer code. I believe I made some changes to improve this behavior but more testing will confirm.