Re: [Ninux-Wireless] OpenWisp e Ansible NNXX 2 router nella stessa LAN

2018-04-11 Per discussione Stefano De Carlo
Il 05/04/2018 17:25, Michele Salerno ha scritto:
> Dal router (A) con router -n vedo tutti i router connessi al server OpenWisp.
> Dal router (B) vedo le 2 reti /25, la rete della VPN ma le altre no

Ciao Michele,

non ho capito esattamente quali voci della tabella di routing non ti
convincono.

Io vedo alcune rotte di servizio che servono a garantire che il
raggiungimento di alcuni host remoti passi sempre e comunque dal tunnel
e non da un eventuale default gw presente. Le aggiungono i software VPN
in automatico, tipicamente.

Stefanauss.
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless


[Ninux-Wireless] OpenWisp e Ansible NNXX 2 router nella stessa LAN

2018-04-05 Per discussione Michele Salerno
Ciao ragazzi per motivi di cablaggio ho dovuto mettere 2 router nella
stessa LAN impostando 2 /25.
I router sono in 2 stanze diverse, dove il router (A) è collegato alla
wan del router TIM.
Il router (B) è collegato al router (A) sulla wan tramite powerline.
Funziona tutto ma la tabella di routing non mi convince.
Il router B è per attaccare le antenne in quanto ho problemi con le
vlan sul TP-Link C2600 ed il powerline.

Dal router (A) con router -n vedo tutti i router connessi al server OpenWisp.
Dal router (B) vedo le 2 reti /25, la rete della VPN ma le altre no!

Per intenderci, il router A vede questo:

root@Kali-Oppido-c2600:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG0  00 eth0
10.27.0.0   10.27.253.43255.255.255.0   UG2  00 vpnbas
10.27.0.1   10.27.253.43255.255.255.255 UGH   2  00 vpnbas
10.27.22.0  0.0.0.0 255.255.255.128 U 0  00 br-lan
10.27.22.12810.27.253.60255.255.255.128 UG2  00 vpnbas
10.27.22.12910.27.253.60255.255.255.255 UGH   2  00 vpnbas
10.27.253.0 0.0.0.0 255.255.255.0   U 0  00 vpnbas
10.27.253.5910.27.253.59255.255.255.255 UGH   2  00 vpnbas
172.27.0.0  0.0.0.0 255.255.0.0 U 0  00 eth1.3
172.27.0.0  0.0.0.0 255.255.0.0 U 0  00 eth1.4
172.27.0.0  0.0.0.0 255.255.0.0 U 0  00 eth1.5
172.27.0.0  0.0.0.0 255.255.0.0 U 0  00 br-ninux
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
192.168.20.00.0.0.0 255.255.255.0   U 0  00 hotspot



Per intenderci, il router B vede questo:

root@Kali-Oppido-2:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
0.0.0.0 10.27.22.1  0.0.0.0 UG0  00 eth0.2
0.0.0.0 10.27.253.530.0.0.0 UG2  00 vpnbas
10.27.22.0  0.0.0.0 255.255.255.128 U 0  00 eth0.2
10.27.22.0  10.27.253.53255.255.255.128 UG2  00 vpnbas
10.27.22.1  0.0.0.0 255.255.255.255 UH0  00 eth0.2
10.27.22.1280.0.0.0 255.255.255.128 U 0  00 br-lan
10.27.253.0 0.0.0.0 255.255.255.0   U 0  00 vpnbas
172.27.0.0  0.0.0.0 255.255.0.0 U 0  00 ninux
192.168.21.00.0.0.0 255.255.255.0   U 0  00 hotspot

Idee??
___
Wireless mailing list
Wireless@ml.ninux.org
http://ml.ninux.org/mailman/listinfo/wireless