On 28/05/2021 00:08, Antonio Quartulli wrote:
Can you please share the full client log with verb 4?
PUSH: Received control message: 'PUSH_REPLY,topology subnet,socket-flags TCP_NODELAY,route-gateway 10.0.0.1,route 10.0.0.0 255.255.255.0,route 10.0.5.0 255.255.255.0,route 10.0.2.0 255.255.255.0 10.0.0.2,ifconfig 10.0.0.10 255.255.255.0,peer-id 0'
... TUN/TAP device vpn opened do_ifconfig, ipv4=1, ipv6=0 net_iface_mtu_set: mtu 1500 for e net_iface_up: set vpn up net_addr_v4_add: 10.0.0.10/24 dev e net_route_v4_add: 10.0.0.0/24 via 10.0.0.1 dev [NULL] table 0 metric -1 net_route_v4_add: 10.0.5.0/24 via 10.0.0.1 dev [NULL] table 0 metric -1 sitnl_send: rtnl: generic error (-101): Network is unreachable ERROR: Linux route add command failed net_route_v4_add: 10.0.2.0/24 via 10.0.0.2 dev [NULL] table 0 metric -1 sitnl_send: rtnl: generic error (-101): Network is unreachable ERROR: Linux route add command failed Is this enough?
The network unreachable error should not be triggered by the absence of the 'src' param.
on 2.5 client just after openvpn start: % ip r show dev vpn 10.0.0.0/24 via 10.0.0.1 # s ip r add 10.0.2.0/24 via 10.0.0.2 dev vpn Error: Nexthop has invalid gateway. # ip r replace to 10.0.0.0/24 src 10.0.0.10 dev vpn # ip r add 10.0.2.0/24 via 10.0.0.2 dev vpn -- sergio. _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users