[Ninux-Calabria] Fwd: LAPPANUX

Giuseppe De Marco demarcog83 a gmail.com
Lun 23 Giu 2014 01:20:58 CEST


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

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  2989.866 ms !H  2999.571 ms !H  2999.644 ms !H

ragazzi ma manco ip c'abbiamo messo quà sopra ?

root a LappanuxGroundRouter:~# ip
-ash: ip: not found

eddai !!!



Maggiori informazioni sulla lista Calabria