Page 1 of 1

ERROR: Linux route add command failed

Posted: Mon Sep 25, 2017 8:08 am
by sabrina2020
Hello,

I am having this error:

Code: Select all

Mon Sep 25 07:46:43 2017 /sbin/ip link set dev tun0 up mtu 1500
Mon Sep 25 07:46:43 2017 /sbin/ip addr add dev tun0 local 10.8.0.10 peer 10.8.0.9
Mon Sep 25 07:46:43 2017 /sbin/ip route add 192.168.1.0/24 via 10.8.0.9
ip: RTNETLINK answers: File exists
Mon Sep 25 07:46:43 2017 ERROR: Linux route add command failed: external program exited with error status: 2

My client configuration is :

Code: Select all

dev tun
tls-client
remote myRemoteServer_IP <myRemoteServer_Port>

pull

proto udp

script-security 2

comp-lzo
reneg-sec 0

cipher AES-256-CBC

auth SHA1
auth-user-pass /etc/openvpn/auth.txt

log /etc/openvpn/openvpn.log
verb 3


<ca>
# the certificate...
</ca>
I am not the server adminastrator so I can't change the server configuration..
I tried the same configuration on my ubuntu and it is working...

My operating system is a costumized distribution of linux, the architceture is ARM (armv5tejl), the kernel is 3.10


Any idea how to fix this? thanks!

Re: ERROR: Linux route add command failed

Posted: Mon Sep 25, 2017 12:52 pm
by TinCanTech
Talk to your server admin.