config broker 'mesh_vpn'
option uuid 'f8d111bd5e24'
option group 'gluon-mesh-vpn'
option broker_selection 'usage'
option bind_interface 'br-wan'
option interface 'mesh-vpn'
option enabled '1'
list address 'gut.l2tp-gut01.4830.org:10001'
list address 'gut.l2tp-gut02.4830.org:10001'
list address 'gut.l2tp-ham01.4830.org:10001'
list address 'gut.l2tp-ham02.4830.org:10001'
list address 'gut.l2tp-fra01.4830.org:10001'
list address 'gut.l2tp-ams01.4830.org:10001'
Soweit, so schick …
root@33332-Schalueckstr-Garten1:~# logread -f
Mon May 6 13:59:16 2019 daemon.err td-client: No suitable brokers found. Retrying in 5 seconds.
Mon May 6 13:59:21 2019 daemon.notice netifd: wan (27729): udhcpc: sending renew to 0.0.0.0
Mon May 6 13:59:21 2019 daemon.notice netifd: wan (27729): udhcpc: lease of 192.168.5.202 obtained, lease time 30
Mon May 6 13:59:21 2019 daemon.err td-client: Resetting status of brokers and starting from scratch.
Mon May 6 13:59:21 2019 daemon.info td-client: Performing broker selection...
Mon May 6 13:59:32 2019 daemon.err td-client: No suitable brokers found. Retrying in 5 seconds.
Mon May 6 13:59:36 2019 daemon.notice netifd: wan (27729): udhcpc: sending renew to 0.0.0.0
Mon May 6 13:59:36 2019 daemon.notice netifd: wan (27729): udhcpc: lease of 192.168.5.202 obtained, lease time 30
Mon May 6 13:59:37 2019 daemon.err td-client: Resetting status of brokers and starting from scratch.
Mon May 6 13:59:38 2019 daemon.info td-client: Performing broker selection...
*Kopfkratz*
root@33332-Schalueckstr-Garten1:~# nslookup gut.l2tp-gut01.4830.org
;; connection timed out; no servers could be reached
root@33332-Schalueckstr-Garten1:~# cat /tmp/resolv.conf.auto
# Interface wan
# Interface wan6
Hmm? Keinen DNS-Server per DHCP bekommen?! Dürfte aber lokales Problem sein, renovierungsbedingt ist das Netz hier grade komisch …
root@33332-Schalueckstr-Garten1:~# echo "nameserver 1.1.1.1" >> /tmp/resolv.conf.auto
root@33332-Schalueckstr-Garten1:~# cat /tmp/resolv.conf.auto
# Interface wan
# Interface wan6
nameserver 1.1.1.1
root@33332-Schalueckstr-Garten1:~# nslookup gut.l2tp-gut01.4830.org
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: gut.l2tp-gut01.4830.org
gut.l2tp-gut01.4830.org canonical name = l2tp-gut01.4830.org
Name: l2tp-gut01.4830.org
Address 1: 192.251.226.126
gut.l2tp-gut01.4830.org canonical name = l2tp-gut01.4830.org
Address 2: 2a06:e881:1700:1:400:c0ff:fefb:e27e
root@33332-Schalueckstr-Garten1:~# logread -f
Mon May 6 14:04:12 2019 daemon.err td-client: Resetting status of brokers and starting from scratch.
Mon May 6 14:04:12 2019 daemon.info td-client: Performing broker selection...
Mon May 6 14:04:21 2019 daemon.notice netifd: wan (27729): udhcpc: sending renew to 0.0.0.0
Mon May 6 14:04:21 2019 daemon.notice netifd: wan (27729): udhcpc: lease of 192.168.5.202 obtained, lease time 30
Mon May 6 14:04:23 2019 daemon.err td-client: No suitable brokers found. Retrying in 5 seconds.
Hrmpft.
root@33332-Schalueckstr-Garten1:~# for i in gut01 gut02 ham01 ham02 fra01 ams01 ; do echo $i ; echo ; nslookup gut.l2tp-$i.4830.or
g 1.1.1.1 ; echo ; done
gut01
Server: 1.1.1.1
Address: 1.1.1.1#53
Name: gut.l2tp-gut01.4830.org
gut.l2tp-gut01.4830.org canonical name = l2tp-gut01.4830.org
Name: l2tp-gut01.4830.org
Address 1: 192.251.226.126
gut.l2tp-gut01.4830.org canonical name = l2tp-gut01.4830.org
Address 2: 2a06:e881:1700:1:400:c0ff:fefb:e27e
gut02
Server: 1.1.1.1
Address: 1.1.1.1#53
Name: gut.l2tp-gut02.4830.org
gut.l2tp-gut02.4830.org canonical name = l2tp-gut02.4830.org
Name: l2tp-gut02.4830.org
Address 1: 192.251.226.125
gut.l2tp-gut02.4830.org canonical name = l2tp-gut02.4830.org
Address 2: 2a06:e881:1700:1:400:c0ff:fefb:e27d
ham01
Server: 1.1.1.1
Address: 1.1.1.1#53
Name: gut.l2tp-ham01.4830.org
Address 1: 127.6.6.6
*** Can't find gut.l2tp-ham01.4830.org: No answer
ham02
Server: 1.1.1.1
Address: 1.1.1.1#53
Name: gut.l2tp-ham02.4830.org
Address 1: 127.6.6.6
*** Can't find gut.l2tp-ham02.4830.org: No answer
fra01
Server: 1.1.1.1
Address: 1.1.1.1#53
Name: gut.l2tp-fra01.4830.org
Address 1: 127.6.6.6
*** Can't find gut.l2tp-fra01.4830.org: No answer
ams01
Server: 1.1.1.1
Address: 1.1.1.1#53
Name: gut.l2tp-ams01.4830.org
Address 1: 127.6.6.6
*** Can't find gut.l2tp-ams01.4830.org: No answer
Hmmm …
wusel@ysabell:~$ ssh root@l2tp-gut01.4830.org netstat -anup \| grep pyth
wusel@ysabell:~$ ssh root@l2tp-gut02.4830.org netstat -anup \| grep pyth
udp 0 0 192.251.226.125:10000 0.0.0.0:* 4173/python
wusel@ysabell:~$ ssh root@l2tp-ham01.4830.org netstat -anup \| grep pyth
udp 13056 0 193.26.120.125:10000 0.0.0.0:* 680/python
udp 33792 0 193.26.120.125:10001 0.0.0.0:* 692/python
udp 0 0 193.26.120.125:10002 0.0.0.0:* 628/python
udp 0 0 193.26.120.125:10004 0.0.0.0:* 685/python
udp 0 0 193.26.120.125:10005 0.0.0.0:* 632/python
udp 0 0 193.26.120.125:10006 0.0.0.0:* 689/python
udp 0 0 193.26.120.125:20102 91.36.179.65:41555 ESTABLISHED 680/python
wusel@ysabell:~$ ssh root@l2tp-ber01.4830.org netstat -anup \| grep pyth
udp 52224 0 193.26.120.99:10001 0.0.0.0:* 646/python
udp 0 0 193.26.120.99:10002 0.0.0.0:* 623/python
udp 0 0 193.26.120.99:10003 0.0.0.0:* 661/python
udp 0 0 193.26.120.99:10004 0.0.0.0:* 613/python
udp 0 0 193.26.120.99:10005 0.0.0.0:* 610/python
udp 0 0 193.26.120.99:10006 0.0.0.0:* 659/python
Dann tmp-fixen wir das doch mal eben schnell im DNS …
wusel@ysabell:~$ for i in gut gto gt8 wrz fsl ; do host $i.l2tp-ham01.4830.org dns-gut.4830.org. | grep alias ; done
wrz.l2tp-ham01.4830.org is an alias for l2tp-ham01.4830.org.
fsl.l2tp-ham01.4830.org is an alias for l2tp-ham01.4830.org.
wusel@ysabell:~$ for i in gut gto gt8 wrz fsl ; do grep $i.l2tp-ham01.4830.org /data/wusel/site-ffgt-v2018.1/domains-l2tp/* ; done
/data/wusel/site-ffgt-v2018.1/domains-l2tp/gut.conf: 'gut.l2tp-ham01.4830.org:10001',
/data/wusel/site-ffgt-v2018.1/domains-l2tp/gto.conf: 'gto.l2tp-ham01.4830.org:10002',
/data/wusel/site-ffgt-v2018.1/domains-l2tp/gt8.conf: 'gt8.l2tp-ham01.4830.org:10003',
/data/wusel/site-ffgt-v2018.1/domains-l2tp/wrz.conf: 'wrz.l2tp-ham01.4830.org:10005',
/data/wusel/site-ffgt-v2018.1/domains-l2tp/fsl.conf: 'fsl.l2tp-ham01.4830.org:10006',
DNS geändert, reloaded:
wusel@ysabell:~$ for i in gut gto gt8 wrz fsl ; do host $i.l2tp-ham01.4830.org dns-gut.4830.org. | grep alias ; done
gut.l2tp-ham01.4830.org is an alias for l2tp-ham01.4830.org.
gto.l2tp-ham01.4830.org is an alias for l2tp-ham01.4830.org.
gt8.l2tp-ham01.4830.org is an alias for l2tp-ham01.4830.org.
wrz.l2tp-ham01.4830.org is an alias for l2tp-ham01.4830.org.
fsl.l2tp-ham01.4830.org is an alias for l2tp-ham01.4830.org.
Scheint zu tun:
wusel@ysabell:~$ ssh root@l2tp-ham01.4830.org netstat -anup \| grep pyth
udp 13056 0 193.26.120.125:10000 0.0.0.0:* 680/python
udp 3840 0 193.26.120.125:10001 0.0.0.0:* 692/python
udp 6912 0 193.26.120.125:10002 0.0.0.0:* 628/python
udp 0 0 193.26.120.125:10004 0.0.0.0:* 685/python
udp 0 0 193.26.120.125:10005 0.0.0.0:* 632/python
udp 0 0 193.26.120.125:10006 0.0.0.0:* 689/python
udp 46592 0 193.26.120.125:20101 84.179.119.12:33671 ESTABLISHED 692/python
udp 3840 0 193.26.120.125:20102 91.36.179.65:41555 ESTABLISHED 680/python
udp 39168 0 193.26.120.125:20104 88.76.249.207:41145 ESTABLISHED 628/python
udp 42752 0 193.26.120.125:20105 178.201.41.190:50389 ESTABLISHED 692/python
udp 16896 0 193.26.120.125:20106 87.142.43.35:45579 ESTABLISHED 692/python
udp 23808 0 193.26.120.125:20107 91.36.179.65:45601 ESTABLISHED 692/python
udp 37632 0 193.26.120.125:20108 88.153.161.209:63557 ESTABLISHED 692/python
udp 37632 0 193.26.120.125:20109 88.153.161.209:58532 ESTABLISHED 692/python
root@33332-Schalueckstr-Garten1:~# batctl gwl
[B.A.T.M.A.N. adv openwrt-2018.1-5, MainIF/MAC: primary0/b6:49:05:e3:ce:33 (bat0/f8:d1:11:bd:5e:24 BATMAN_IV)]
Router ( TQ) Next Hop [outgoingIf] Bandwidth
* 02:ca:ff:ee:01:02 ( 93) 02:ca:ff:ee:01:02 [ mesh-vpn]: 1024.0/1024.0 MBit
02:ca:ff:ee:01:04 ( 80) 02:ca:ff:ee:01:02 [ mesh-vpn]: 1024.0/1024.0 MBit