我正在尝试连接到 VPN,openvpn
但出现以下错误
Tue Jul 11 10:38:38 2017 /sbin/ip addr add dev tun0 local 192.168.99.14 peer 192.168.99.13
RTNETLINK answers: File exists
Tue Jul 11 10:38:38 2017 ERROR: Linux route add command failed: external program exited with error status: 2
我读了其他帖子,上面说有人遇到这个问题,他们通过检查表格route
并发现有重复的路由解决了这个问题,但在检查我的表格并删除所有与192.168.99.13
on相关的内容后tun0
,我仍然无法添加路由。这是我的路由表:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.52.44.1 0.0.0.0 UG 100 0 0 enp0s31f6
0.0.0.0 192.168.252.1 0.0.0.0 UG 600 0 0 wlp1s0
10.38.192.13 10.52.44.1 255.255.255.255 UGH 100 0 0 enp0s31f6
10.38.192.13 192.168.252.1 255.255.255.255 UGH 600 0 0 wlp1s0
10.52.44.0 0.0.0.0 255.255.254.0 U 100 0 0 enp0s31f6
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 br-846a2b655049
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-846a2b655049
192.168.99.1 192.168.99.13 255.255.255.255 UGH 0 0 0 tun0
192.168.99.13 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.252.0 0.0.0.0 255.255.252.0 U 600 0 0 wlp1s0
我该如何解决这个问题?
谢谢!