-
Describe the issue you are experiencingIndependant if IP Routes are removed via ip route del or via route del they reapear after restart. What operating system image do you use?ova (for Virtual Machines) What version of Home Assistant Operating System is installed?6.1.56 Did you upgrade the Operating System.Yes Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?nope Anything in the Host logs that might be useful for us?nope System information
|
Version | core-2023.10.3 |
---|---|
Installation Type | Home Assistant OS |
Development | false |
Supervisor | true |
Docker | true |
User | root |
Virtual Environment | false |
Python Version | 3.11.5 |
Operating System Family | Linux |
Operating System Version | 6.1.56 |
CPU Architecture | x86_64 |
Timezone | Europe/Berlin |
Configuration Directory | /config |
Core metrics
Supervisor metrics
Additional information
When I started using HA about 1 year ago this worked, however I cannot say what HA Version that was.
I have succesfully added routes in the config that are still there today.
However due to changes in the Network Infrastructure these routes need to be deleted now, thus I discovered that no modification (neither deleting nor adding) to the routing table survives a reboot.
Also see: https://community.home-assistant.io/t/declare-a-static-route-to-reach-other-lan/311442/8
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
The Typically, routes get added automatically (e.g. as learned by the DHCP server). The
(replace To clear any static routes, something along this lines should work:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
thanks!
There it works.
So to sum up:
If you want to configure (add or remove) static routes you need to
a) do it through the nmcli con modify "Your connection name" ipv4.routes Comand
b) you have to execute this comand on the VM itself after login in to it and not through the SSH Terminal addon.
Let me restart to see if the routes stay gone.