[CentOS] openvpn + routing

Александр Кириллов nevis2us at infoline.su
Sun Dec 6 20:01:01 UTC 2015


> ip route:
> 0.0.0.0/1 via 10.8.0.5 dev tun0
> default via 192.168.2.1 dev br0  proto static  metric 425
> 10.8.0.1 via 10.8.0.5 dev tun0
> 10.8.0.5 dev tun0  proto kernel  scope link  src 10.8.0.6
> 88.198.140.127 via 192.168.2.1 dev br0
> 192.168.2.0/24 dev br0  proto kernel  scope link  src 192.168.2.101   
> metric 425
> 192.168.122.0/24 dev virbr0  proto kernel  scope link  src 
> 192.168.122.1
> 
> 
> traceroute gmx.de
> traceroute to gmx.de (213.165.65.60), 30 hops max, 60 byte packets
>  1  Speedport.ip (192.168.2.1)  0.578 ms  0.662 ms  0.859 ms
> ^C
> 
> [root at h1 ~]# traceroute spiegel.de
> traceroute to spiegel.de (62.138.116.3), 30 hops max, 60 byte packets
>  1  10.8.0.1 (10.8.0.1)  35.009 ms  34.982 ms  34.956 ms
> 
> Why the routing is different, in first case over br0 in second over
> the vpn device?

Have no idea what 0.0.0.0/1 is, but 62.138.116.3 is part of 0.0.0.0/1 
and 213.165.65.60 is not.




More information about the CentOS mailing list