Hi,

At first ,Please read the following information:
http://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Redirect

If the VPN gateway is in the same subnet with the VPN client device(local
device),
please don't add the host route to the routing table of the client
device(local device).

Example:
VPN gateway IP:                     192.168.1.105
Client device(local device) IP:   192.168.1.101
Router device IP:                     192.168.1.1

Kernel IP routing table of Client device(local device):
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0
vpn0
10.8.0.1        10.8.0.5        255.255.255.255 UGH       0 0          0
vpn0
10.8.0.5        0.0.0.0         255.255.255.255 UH        0 0          0
vpn0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0
eth0
192.168.1.1     0.0.0.0         255.255.255.255 UH        0 0          0
eth0
*192.168.1.105   192.168.1.1     255.255.255.255 UGH       0 0          0
eth0*
202.103.24.68   192.168.1.1     255.255.255.255 UGH       0 0          0
eth0
202.103.44.150  192.168.1.1     255.255.255.255 UGH       0 0          0
eth0

Connman can't add the host route "192.168.1.105   192.168.1.1
255.255.255.255 UGH
0  0     0 eth0" to Kernel IP routing table in the client device,
otherwise, in some network environment, VPN client can't ping VPN gateway.

Thanks,

Chengyi
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to