Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static IP override via USB but fallback to DHCP if no connectivity #3990

Open
mihaime opened this issue Jun 21, 2024 · 0 comments
Open

Static IP override via USB but fallback to DHCP if no connectivity #3990

mihaime opened this issue Jun 21, 2024 · 0 comments

Comments

@mihaime
Copy link

mihaime commented Jun 21, 2024

Describe the unexpected behaviour

I'm staging a server with a custom config of LF-Edge and an USB stick that has override for static IP on eth0.
I plugged a laptop into eth0 just for doing ping tests to confirm that the IP got configured.
Ping works for 10-15 seconds after which it fails.

If I look in the logs I see
"Not testing highest priority DevicePortConfig key usb due to All attempts to connect to controller...../edgedevice/ping failed: (send vai eth0 with SRC IP)"

after that the IP on eth0 goes away and it switched to DHCP
ERROR: Summary: Waiting for DHCP IP address(es)

It will only switch back to having an IP on eth0 (from the override) if I do:

  • ifconfig down/up
  • or a reboot

Expected behavior

That the static IP override remains in place.

Is this how it should behave by design with fallback to DHCP and ignoring the static IP override on eth0 if it cannot reach controller?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant