p-net icon indicating copy to clipboard operation
p-net copied to clipboard

Fix default route with multiple interfaces

Open bwachtendorf opened this issue 3 years ago • 1 comments
trafficstars

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.

bwachtendorf avatar Aug 25 '22 14:08 bwachtendorf

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 avatar Sep 02 '22 09:09 pyhys

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

pyhys avatar Jun 22 '23 09:06 pyhys

Thanks for your contribution. See #561

pyhys avatar Feb 21 '24 10:02 pyhys