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

Fix default route with multiple interfaces #520

Closed
wants to merge 1 commit into from

Conversation

bwachtendorf
Copy link

The old script overwrote the default route. This worked on systems with one network interface.
But this lead to breaking the internet connection when multiple interfaces are present.
This change sets the route only for that network.

@pyhys
Copy link
Collaborator

pyhys commented Sep 2, 2022

Hi, and thanks.
Yes, setting the default gateway to the gateway address given in the DCP message will for sure mess up the settings for all interfaces.
Let me check exactly what the Profinet standard says should happen.

@pyhys
Copy link
Collaborator

pyhys commented Jun 22, 2023

I think we should avoid setting the default gateway on Linux.
See #561

@pyhys
Copy link
Collaborator

pyhys commented Feb 21, 2024

Thanks for your contribution. See #561

@pyhys pyhys closed this Feb 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants