Linux / Home Lab
Things I wish Netplan had told me
Route prefixes, renderer behaviour and the small difference between accepted YAML and the intended network.
Netplan can accept a configuration that describes a route without expressing the route you intended. The useful check is always the rendered network configuration and the kernel routing table.
Check the complete path
sudo netplan get
sudo netplan generate
ip route show
ip -6 route show
A route to: prefix and an on-link: default are different instructions. Read them as a network operator, not merely as YAML fields.
| Question | Inspection |
|---|---|
| Which renderer owns the link? | netplan get |
| What file was generated? | /run/systemd/network/ |
| What reached the kernel? | ip route show |
The final symptom may be intermittent, especially if a fallback route is present. Test the specific destination with the expected source address.