[Ninux-Calabria] Fwd: LAPPANUX
Giuseppe De Marco
demarcog83 a gmail.com
Lun 23 Giu 2014 01:28:55 CEST
Il 23 giugno 2014 01:20, Giuseppe De Marco <demarcog83 a gmail.com> ha scritto:
> No, OLSR si fà i fatti suoi, le classi 32 che aggiunge sono a metrica
> 2 e l'antenna per comunicare su 172 si rivolge alla prima occorrenza,
> ovvero eth0.3:
>
> root a LappanuxGroundRouter:~# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 0.0.0.0 172.17.87.9 0.0.0.0 UG 0 0 0 eth0.3
> 10.11.12.13 172.17.87.1 255.255.255.255 UGH 2 0 0 eth0.4
> 10.87.1.0 172.17.87.1 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.3.0 172.17.87.4 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.4.0 172.17.87.16 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.5.0 172.17.87.19 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.6.0 172.17.87.25 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.7.0 172.17.87.9 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.8.0 172.17.87.13 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.10.0 172.17.87.22 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.11.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
> 10.87.12.0 172.17.87.9 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.20.0 172.17.87.20 255.255.255.0 UG 2 0 0 eth0.4
> 10.87.80.0 172.17.87.99 255.255.255.0 UG 2 0 0 eth0.4
> 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0.3
> 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0.4
> 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0.5
> 172.17.87.1 172.17.87.1 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.4 172.17.87.4 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.9 172.17.87.9 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.13 172.17.87.13 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.16 172.17.87.16 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.19 172.17.87.19 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.20 172.17.87.20 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.22 172.17.87.22 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.25 172.17.87.25 255.255.255.255 UGH 2 0 0 eth0.4
> 172.17.87.99 172.17.87.99 255.255.255.255 UGH 2 0 0 eth0.4
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.2
>
> root a LappanuxGroundRouter:~# traceroute -n 8.8.8.8
> traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
> 1 172.17.87.30 1084.621 ms !H 2999.176 ms !H
>
> se uscisse da eth0.4
>
> eth0.4 Link encap:Ethernet HWaddr 10:FE:ED:78:0C:D4
> inet addr:172.17.87.31 Bcast:172.17.255.255 Mask:255.255.0.0
>
> comunicherebbe sull'antenna giusta, passerebbe dalla mia grid, e
> sfrutterebbe il gateway che gli ho configurato per installare tcpdump.
>
> così com'è ci vuole un bel tunnel GRE ma questa incompatibilità
> dobbiamo snocciolarcela a dovere :)
>
> cma anche sistemandolo con metrica 2:
> 172.17.0.0 0.0.0.0 255.255.0.0 U 2 0 0 eth0.3
>
> mi passa sempre da eth0.3
risolto con:
root a LappanuxGroundRouter:~# route add default gw 172.17.87.9 dev eth0.4
root a LappanuxGroundRouter:~# opkg install tcpdump-mini ip
Installing tcpdump-mini (4.2.1-3) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/tcpdump-mini_4.2.1-3_ar71xx.ipk.
Installing libpcap (1.1.1-2) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/libpcap_1.1.1-2_ar71xx.ipk.
Installing ip (3.3.0-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/ip_3.3.0-1_ar71xx.ipk.
Configuring libpcap.
Configuring tcpdump-mini.
Configuring ip.
ma:
root a LappanuxGroundRouter:~# opkg install kmod-gre
Installing kmod-gre (3.3.8-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/kmod-gre_3.3.8-1_ar71xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-gre:
* kernel (= 3.3.8-1-d6597ebf6203328d3519ea3c3371a493) *
* opkg_install_cmd: Cannot install package kmod-gre.
insomma l'immagine dovremmo ricompilarla con l'ultimo sync delle repo.
Altrimenti ne ricompiliamo una con la ricetta buona/utile/ideale e la
riflashiamo in aria :)
cmq lascio la connessione ad internet su lappanux se dovesse servirvi domani.
cheers,
G
Maggiori informazioni sulla lista
Calabria