Closed qrkourier closed 1 year ago
kb@k8sw1:~$ ip route sh|grep 100.64
100.64.0.3 dev tun0 scope link
kb@k8sw1:~$ sudo ip route add 100.64.0.1/10 dev tun0
Error: Invalid prefix for given prefix length.
kb@k8sw1:~$ sudo ip route add 100.64.0.0/10 dev tun0
kb@k8sw1:~$ ip route sh|grep 100.64
100.64.0.0/10 dev tun0 scope link
100.64.0.3 dev tun0 scope link
Also, ziti-edge-tunnel run
should not fail silently when unable to install this critical IP route.
This relates to the discussion I brought up in: https://github.com/openziti/ziti-tunnel-sdk-c/pull/346#discussion_r864406740
This relates to the discussion I brought up in: #346 (comment)
@sabedevops I see that now, thanks. Do you believe that means the fix is forthcoming? Based on a general sense of the timing I would expect any changes from that thread to have been present in the 0.18.6 tag.
That's something @scareything would need to answer.
relates to and mentioned in #419. fixes coming soon.
closing as duplicate
This error message
Is typical of the
ip route add
command when the prefix is not a network address, and the log line that follows does indeed contain a prefix that is not a network address. I believe this should beip route add 100.64.0.0/10 dev tun0
.This bug is preventing
ziti-edge-tunnel run
v0.18.6 from installing the 100.64/10 route which is necessary to intercept packets that are destined for the IP addresses in answers from the Ziti domain name resolver.