Gentoo Archives: gentoo-user

From: Patrick Marquetecken <patrick.marquetecken@×××××××.be>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Routing problem
Date: Thu, 08 Sep 2005 07:42:25
Message-Id: 30242.212.190.229.68.1126165036.squirrel@rivendell.arda.org
In Reply to: Re: [gentoo-user] Routing problem by Heinz Sporn
1 > It's rather hard to help you here. You described only the sympthoms but
2 > didn't provide any basic details like IP-ranges on both sides, routes,
3 > ovpn config, OpenVPN versions used, etc. etc.
4 SiteA 10.32.0.0/22
5 siteB 10.32.16.0/24
6 connection goes over 10.32.100.0
7 tunnels ip's are 10.32.101.3 for siteA and 10.32.101.4 for SiteB
8 routing tables:
9 siteA
10 eth0 10.32.3.51
11 Destination Gateway Genmask Flags Metric Ref Use Iface
12 10.32.101.6 0.0.0.0 255.255.255.255 UH 0 0 0 tun2
13 10.32.101.4 0.0.0.0 255.255.255.255 UH 0 0 0 tun1
14 10.32.101.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
15 10.32.16.160 10.32.101.2 255.255.255.255 UGH 0 0 0 tun0
16 10.32.101.14 0.0.0.0 255.255.255.255 UH 0 0 0 tun5
17 10.32.101.12 0.0.0.0 255.255.255.255 UH 0 0 0 tun4
18 10.32.101.8 0.0.0.0 255.255.255.255 UH 0 0 0 tun3
19 10.32.32.0 0.0.0.0 255.255.255.248 U 0 0 0 eth0
20 10.32.100.16 0.0.0.0 255.255.255.240 U 0 0 0 eth2
21 10.32.100.0 0.0.0.0 255.255.255.240 U 0 0 0 eth1
22 10.32.100.32 10.32.0.20 255.255.255.240 UG 0 0 0 eth0
23 10.35.0.0 10.32.101.8 255.255.255.0 UG 0 0 0 tun3
24 10.32.24.0 10.32.101.6 255.255.255.0 UG 0 0 0 tun2
25 10.35.1.0 10.32.100.17 255.255.255.0 UG 0 0 0 eth2
26 10.32.25.0 10.32.100.17 255.255.255.0 UG 0 0 0 eth2
27 10.32.66.0 10.32.101.4 255.255.255.0 UG 0 0 0 tun1
28 10.32.16.0 10.32.101.4 255.255.255.0 UG 0 0 0 tun1
29 10.32.67.0 10.32.101.4 255.255.255.0 UG 0 0 0 tun1
30 10.32.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
31 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
32 0.0.0.0 10.32.0.20 0.0.0.0 UG 0 0 0 eth0
33
34 siteB
35 eth0
36 10.32.16.52
37 Destination Gateway Genmask Flags Metric Ref Use Iface
38 10.32.101.3 0.0.0.0 255.255.255.255 UH 0 0 0 tun1
39 10.32.101.1 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
40 10.32.3.129 10.32.101.1 255.255.255.255 UGH 0 0 0 tun0
41 10.32.3.128 10.32.101.1 255.255.255.255 UGH 0 0 0 tun0
42 81.246.22.210 10.32.16.20 255.255.255.255 UGH 0 0 0 eth0
43 10.32.101.13 0.0.0.0 255.255.255.255 UH 0 0 0 tun5
44 10.32.101.11 0.0.0.0 255.255.255.255 UH 0 0 0 tun4
45 10.32.32.0 10.32.101.3 255.255.255.248 UG 0 0 0 tun1
46 10.32.26.0 10.32.16.20 255.255.255.240 UG 0 0 0 eth0
47 10.32.100.16 10.32.16.20 255.255.255.240 UG 0 0 0 eth0
48 10.32.100.0 0.0.0.0 255.255.255.240 U 0 0 0 eth1
49 10.32.100.32 0.0.0.0 255.255.255.240 U 0 0 0 eth2
50 10.35.0.0 10.32.101.3 255.255.255.0 UG 0 0 0 tun1
51 10.32.24.0 10.32.101.3 255.255.255.0 UG 0 0 0 tun1
52 10.32.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
53 10.33.10.0 10.32.101.3 255.255.255.0 UG 0 0 0 tun1
54 10.32.64.0 10.32.101.3 255.255.255.0 UG 0 0 0 tun1
55 10.32.65.0 10.32.101.3 255.255.255.0 UG 0 0 0 tun1
56 10.32.0.0 10.32.101.3 255.255.252.0 UG 0 0 0 tun1
57 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
58 0.0.0.0 10.32.16.20 0.0.0.0 UG 0 0 0 eth0
59
60
61 RR: 10.32.3.172
62 10.32.101.3
63 10.32.16.52
64 10.32.16.52
65 10.32.3.51 <- should be 10.32.101.3
66 10.32.3.172
67
68
69 >
70 > And what do you mean by "I have connected two sites" ? Are we talking
71 > Linux - Linux here, or is a Windoze box involved ? Firewalls in between
72 Its Linux to Linux direct without any firewalls.
73 the VPN tunnels are now working for more than 3 months, its only that the
74 openVPN machines can't connect to other machines then theireselfs.
75
76 Patrick
77
78 > Heinz Sporn
79
80
81
82 --
83 This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
84 --
85 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Routing problem - Solved Patrick Marquetecken <patrick.marquetecken@×××××××.be>
Re: [gentoo-user] Routing problem Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>