Hello,
I got the server to work. The issue was, that I didn't disable iptables correct. Now two client and the server are exchanging own routes.
I connected to one client another one over a router and the router is connected to the ospf-network as well.
But somehow I cannot contact the new client from the first client or even from the server. Iptables are surely disabled now.
My current setting
client3
192.168.30.2 (eth)
|
|
192.168.30.1 (eth)
routerA
192.168.21.5 (eth)
|
|
192.168.21.1 (eth)
client2
10.29.0.8 (tun)
|
|
10.29.0.1 (tun)
Server
10.29.0.1 (tun)
|
|
10.29.0.4 (tun)
client1
192.168.21.17 (eth)
I ran following commands on client1
route -n (routes with metric 12 are set by bird)
Destination Gateway Genmask Flags Metric Ref Use Iface
10.29.0.0 0.0.0.0 255.255.252.0 U 0 0 0 tun0
WWWWW 0.0.0.0 255.255.255.252 U 0 0 0 eth1
XXXXXXX 0.0.0.0 255.255.255.255 UH 1024 0 0 eth1
192.168.21.0 10.29.0.8 255.255.255.240 UG 12 0 0 tun0
192.168.21.16 0.0.0.0 255.255.255.240 U 0 0 0 eth0
192.168.30.0 10.29.0.8 255.255.255.240 UG 12 0 0 tun0
traceroute 192.168.21.3
traceroute to 192.168.21.3 (192.168.21.3), 30 hops max, 38 byte packets
1 10.29.0.8 (10.29.0.8) 101.192 ms 111.038 ms 116.587 ms
2 192.168.21.3 (192.168.21.3) 102.448 ms 72.160 ms 100.151 ms
traceroute 192.168.30.1
traceroute to 192.168.30.1 (192.168.30.1), 30 hops max, 38 byte packets
1 server(10.29.0.1) 128.053 ms 128.731 ms 117.244 ms
2 *^C (no response)
and the server:
route -n (routes with metric 17 are set by bird)
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.21.16 10.29.0.4 255.255.255.240 UG 17 0 0 tun0
192.168.21.0 10.29.0.8 255.255.255.240 UG 17 0 0 tun0
192.168.30.0 10.29.0.8 255.255.255.240 UG 17 0 0 tun0
192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.29.0.0 0.0.0.0 255.255.252.0 U 0 0 0 tun0
ZZZZZZZZ 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
traceroute 192.168.21.3
traceroute to 192.168.21.3 (192.168.21.3), 30 hops max, 60 byte packets
1 10.29.0.8 (10.29.0.8) 40.352 ms 96.659 ms 96.643 ms
2 192.168.21.3 (192.168.21.3) 96.625 ms 96.606 ms 96.586 ms
traceroute 192.168.30.1
no responce
As you can see in route -n, the server has a valid route to 192.168.30.0
Do you have any idea, what I'm missing now? I guess that's the "tricky party", mentioned by Micheal McConnell.