GitHub user weizhouapache added a comment to the discussion: RootCAProvider 
error on management server with L3-network config

> ```
> ~# ip route show default 0.0.0.0/0
> default proto bird src 10.72.44.3 metric 32
>       nexthop via inet6 fe80::429e:a4ff:fe79:f50f dev eth1b weight 1
>       nexthop via inet6 fe80::429e:a4ff:fe7b:8f0f dev eth1a weight 1
> default via 10.72.44.197 dev eth1a proto static src 10.72.44.198 metric 1024 
> onlink
> default via 10.72.45.197 dev eth1b proto static src 10.72.45.198 metric 1024 
> onlink
> ```

maybe we should add a `default via` (or at least ` via `) to make sure the 
command gets the default device, like

```
ip route show default 0.0.0.0/0 | grep ' via ' | head -1 | awk '{print $5}'
```

GitHub link: 
https://github.com/apache/cloudstack/discussions/11152#discussioncomment-13680352

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to