<div dir="ltr"><div><div><br>questo non ha senso !<br><br>config interface 'antenna_1'<br> option proto 'static'<br> option ifname 'eth1.3'<br>
option ipaddr '172.22.66.10'<br> option netmask '255.255.0.0'<br> option gateway '192.168.1.160'<br><br></div>a parte questo puoi disabilitare il firewall di openwrt come primo step. /etc/init.d/firewall stop && /etc/init.d/firewall disable<br>
<br></div><div>poi ci sta un po di confusione. <a href="http://192.168.1.0/24">192.168.1.0/24</a> la puoi usare solo su un nodo, sul nodo remoto devi usare una seconda subnet se vuoi fare routing.<br></div><div><br></div>
grazie<br><br>Saverio<br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">Il giorno 11 aprile 2014 16:25, Nicola Ruscitto <span dir="ltr"><<a href="mailto:nicolaruscitto78@gmail.com" target="_blank">nicolaruscitto78@gmail.com</a>></span> ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<div class="">Vi invio configurazione del router e schema di collegamento<br></div>
Grazie<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Nicola<br><br><br><div class="gmail_chip gmail_drive_chip" style="width:396px;min-height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd">
<a href="https://docs.google.com/drawings/d/1DN7WDppIeq1nMBKMlvJ_Sfjtvsy7brlgKMM9IBm47ms/edit?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:medium none;width:100%" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_11_drawing_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">Schema config rete</span></a></div>
<br><div class="gmail_chip gmail_drive_chip" style="width:396px;min-height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd">
<a href="https://docs.google.com/file/d/0B-UkxkMKFmofcEpYLU1aSno5d2M/edit?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:medium none;width:100%" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_11_image_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">antenna 192-168-1-170.png</span></a></div>
<br><div class="gmail_chip gmail_drive_chip" style="width:396px;min-height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd">
<a href="https://docs.google.com/file/d/0B-UkxkMKFmofRk5kQ0l6dHFoTHc/edit?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:medium none;width:100%" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_11_image_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">router 192-168-1-160.png</span></a></div>
<br></div><div><div class="h5"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>root@OpenWrt:~# cat /etc/config/network<br>
</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div><br>config interface 'loopback'<br> option ifname 'lo'<br> option proto 'static'<br> option ipaddr '127.0.0.1'<br>
option netmask '255.0.0.0'<br><br>config interface 'lan'<br></div> option proto 'static'<br> option netmask '255.255.255.0'<br> option ipaddr '192.168.1.160'<br>
option _orig_ifname 'eth1'<br> option _orig_bridge 'false'<br> option ifname 'eth1.7'<br> option gateway '192.168.1.1'<br> option dns '192.168.1.1'<br>
<br>config interface 'wan'<br> option ifname 'eth0'<br> option proto 'dhcp'<br><br>config switch<br> option name 'switch0'<br> option reset '1'<br> option enable_vlan '1'<br>
<br>config switch_vlan<br> option device 'switch0'<br> option vlan '1'<br> option vid '1'<br> option ports '0t 1t 2t 3t 4t'<br><br>config switch_vlan<br> option device 'switch0'<br>
option vlan '2'<br> option ports '0t 3t'<br> option vid '3'<br><br>config interface 'antenna_1'<br> option proto 'static'<br> option ifname 'eth1.3'<br>
option ipaddr '172.22.66.10'<br> option netmask '255.255.0.0'<br> option gateway '192.168.1.160'<br><br>config switch_vlan<br> option device 'switch0'<br> option vlan '3'<br>
option ports '0t 1 2 3t 4'<br> option vid '7'<br><br><br></div>e questo é il firewall<br><br>root@OpenWrt:~# cat /etc/config/firewall<br>
<br>config defaults<br> option syn_flood '1'<br> option input 'ACCEPT'<br> option output 'ACCEPT'<br> option forward 'ACCEPT'<br><br>config zone<br> option name 'lan'<br>
option input 'ACCEPT'<br> option output 'ACCEPT'<br> option forward 'ACCEPT'<br> option network 'lan'<br><br>config zone<br> option name 'wan'<br>
option network 'wan'<br> option input 'REJECT'<br> option output 'ACCEPT'<br> option forward 'REJECT'<br> option masq '1'<br> option mtu_fix '1'<br>
<br>config rule<br> option name 'Allow-DHCP-Renew'<br> option src 'wan'<br> option proto 'udp'<br> option dest_port '68'<br> option target 'ACCEPT'<br>
option family 'ipv4'<br><br>config rule<br> option name 'Allow-Ping'<br> option src 'wan'<br> option proto 'icmp'<br> option icmp_type 'echo-request'<br>
option family 'ipv4'<br> option target 'ACCEPT'<br><br>config rule<br> option name 'Allow-DHCPv6'<br> option src 'wan'<br> option proto 'udp'<br>
option src_ip 'fe80::/10'<br> option src_port '547'<br> option dest_ip 'fe80::/10'<br> option dest_port '546'<br> option family 'ipv6'<br> option target 'ACCEPT'<br>
<br>config rule<br> option name 'Allow-ICMPv6-Input'<br> option src 'wan'<br> option proto 'icmp'<br> list icmp_type 'echo-request'<br> list icmp_type 'echo-reply'<br>
list icmp_type 'destination-unreachable'<br> list icmp_type 'packet-too-big'<br> list icmp_type 'time-exceeded'<br> list icmp_type 'bad-header'<br> list icmp_type 'unknown-header-type'<br>
list icmp_type 'router-solicitation'<br> list icmp_type 'neighbour-solicitation'<br> list icmp_type 'router-advertisement'<br> list icmp_type 'neighbour-advertisement'<br>
option limit '1000/sec'<br> option family 'ipv6'<br> option target 'ACCEPT'<br><br>config rule<br> option name 'Allow-ICMPv6-Forward'<br> option src 'wan'<br>
option dest '*'<br> option proto 'icmp'<br> list icmp_type 'echo-request'<br> list icmp_type 'echo-reply'<br> list icmp_type 'destination-unreachable'<br>
list icmp_type 'packet-too-big'<br> list icmp_type 'time-exceeded'<br> list icmp_type 'bad-header'<br> list icmp_type 'unknown-header-type'<br> option limit '1000/sec'<br>
option family 'ipv6'<br> option target 'ACCEPT'<br><br>config include<br> option path '/etc/firewall.user'<br><br>config forwarding<br> option dest 'wan'<br> option src 'lan'<br>
<br>config zone<br> option name 'ninux'<br> option input 'ACCEPT'<br> option forward 'ACCEPT'<br> option output 'ACCEPT'<br> option network 'antenna_1'<br>
<br>config forwarding<br> option dest 'lan'<br> option src 'ninux'<br><br>config forwarding<br> option dest 'ninux'<br> option src 'lan'</div></div></div></div>
<div class="gmail_extra">
<br><br><div class="gmail_quote">Il giorno 11 aprile 2014 16:17, Nicola Ruscitto <span dir="ltr"><<a href="mailto:nicolaruscitto78@gmail.com" target="_blank">nicolaruscitto78@gmail.com</a>></span> ha scritto:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dimenticavo,<br>le antenne sono due Tp-Link wa7510n e il router é Tp-Link
wr841n <br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Grazie<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Nicola<br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">Il giorno 11 aprile 2014 14:26, Nicola Ruscitto <span dir="ltr"><<a href="mailto:nicolaruscitto78@gmail.com" target="_blank">nicolaruscitto78@gmail.com</a>></span> ha scritto:<div><div>
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Vi invio configurazione del router e schema di collegamento (in allegato)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Grazie<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Nicola<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>root@OpenWrt:~# cat /etc/config/network<br>
</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div><br>config interface 'loopback'<br> option ifname 'lo'<br> option proto 'static'<br> option ipaddr '127.0.0.1'<br>
option netmask '255.0.0.0'<br><br>config interface 'lan'<br></div> option proto 'static'<br> option netmask '255.255.255.0'<br> option ipaddr '192.168.1.160'<br>
option _orig_ifname 'eth1'<br> option _orig_bridge 'false'<br> option ifname 'eth1.7'<br> option gateway '192.168.1.1'<br> option dns '192.168.1.1'<br>
<br>config interface 'wan'<br> option ifname 'eth0'<br> option proto 'dhcp'<br><br>config switch<br> option name 'switch0'<br> option reset '1'<br> option enable_vlan '1'<br>
<br>config switch_vlan<br> option device 'switch0'<br> option vlan '1'<br> option vid '1'<br> option ports '0t 1t 2t 3t 4t'<br><br>config switch_vlan<br> option device 'switch0'<br>
option vlan '2'<br> option ports '0t 3t'<br> option vid '3'<br><br>config interface 'antenna_1'<br> option proto 'static'<br> option ifname 'eth1.3'<br>
option ipaddr '172.22.66.10'<br> option netmask '255.255.0.0'<br> option gateway '192.168.1.160'<br><br>config switch_vlan<br> option device 'switch0'<br> option vlan '3'<br>
option ports '0t 1 2 3t 4'<br> option vid '7'<br><br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">e questo é il firewall<br><br>root@OpenWrt:~# cat /etc/config/firewall<br>
<br>config defaults<br> option syn_flood '1'<br> option input 'ACCEPT'<br> option output 'ACCEPT'<br> option forward 'ACCEPT'<br><br>config zone<br> option name 'lan'<br>
option input 'ACCEPT'<br> option output 'ACCEPT'<br> option forward 'ACCEPT'<br> option network 'lan'<br><br>config zone<br> option name 'wan'<br>
option network 'wan'<br> option input 'REJECT'<br> option output 'ACCEPT'<br> option forward 'REJECT'<br> option masq '1'<br> option mtu_fix '1'<br>
<br>config rule<br> option name 'Allow-DHCP-Renew'<br> option src 'wan'<br> option proto 'udp'<br> option dest_port '68'<br> option target 'ACCEPT'<br>
option family 'ipv4'<br><br>config rule<br> option name 'Allow-Ping'<br> option src 'wan'<br> option proto 'icmp'<br> option icmp_type 'echo-request'<br>
option family 'ipv4'<br> option target 'ACCEPT'<br><br>config rule<br> option name 'Allow-DHCPv6'<br> option src 'wan'<br> option proto 'udp'<br>
option src_ip 'fe80::/10'<br> option src_port '547'<br> option dest_ip 'fe80::/10'<br> option dest_port '546'<br> option family 'ipv6'<br> option target 'ACCEPT'<br>
<br>config rule<br> option name 'Allow-ICMPv6-Input'<br> option src 'wan'<br> option proto 'icmp'<br> list icmp_type 'echo-request'<br> list icmp_type 'echo-reply'<br>
list icmp_type 'destination-unreachable'<br> list icmp_type 'packet-too-big'<br> list icmp_type 'time-exceeded'<br> list icmp_type 'bad-header'<br> list icmp_type 'unknown-header-type'<br>
list icmp_type 'router-solicitation'<br> list icmp_type 'neighbour-solicitation'<br> list icmp_type 'router-advertisement'<br> list icmp_type 'neighbour-advertisement'<br>
option limit '1000/sec'<br> option family 'ipv6'<br> option target 'ACCEPT'<br><br>config rule<br> option name 'Allow-ICMPv6-Forward'<br> option src 'wan'<br>
option dest '*'<br> option proto 'icmp'<br> list icmp_type 'echo-request'<br> list icmp_type 'echo-reply'<br> list icmp_type 'destination-unreachable'<br>
list icmp_type 'packet-too-big'<br> list icmp_type 'time-exceeded'<br> list icmp_type 'bad-header'<br> list icmp_type 'unknown-header-type'<br> option limit '1000/sec'<br>
option family 'ipv6'<br> option target 'ACCEPT'<br><br>config include<br> option path '/etc/firewall.user'<br><br>config forwarding<br> option dest 'wan'<br> option src 'lan'<br>
<br>config zone<br> option name 'ninux'<br> option input 'ACCEPT'<br> option forward 'ACCEPT'<br> option output 'ACCEPT'<br> option network 'antenna_1'<br>
<br>config forwarding<br> option dest 'lan'<br> option src 'ninux'<br><br>config forwarding<br> option dest 'ninux'<br> option src 'lan'<br><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">Il giorno 11 aprile 2014 11:14, Saverio Proto <span dir="ltr"><<a href="mailto:zioproto@gmail.com" target="_blank">zioproto@gmail.com</a>></span> ha scritto:<div><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Non si capisce il setup.<br>
Inviaci:<br>
schema connessione apparati coinvolti<br>
configurazione IP interfacce apparati.<br>
<br>
Saverio<br>
<br>
Il 11 aprile 2014 09:54, Nicola Ruscitto <<a href="mailto:nicolaruscitto78@gmail.com" target="_blank">nicolaruscitto78@gmail.com</a>><br>
<div><div>ha scritto:<br>
> Buongiorno,<br>
> avrei bisogno di un aiutino in merito alla configurazione del ground routing<br>
> che sto provando in questi giorni. Sto utilizzando una CPE con openwrt e<br>
> pacchetto "trelay" installato e un router tplink sempre con openwrt e<br>
> pacchetto olsrd. L'altra CPE invece ha solo openwrt e olsr.<br>
><br>
> Le antenne stanno nella sottorete 172.22.0.0 mentre la rete locale l'ho<br>
> lasciata sulla 192.168.1.0<br>
><br>
> Praticamente funziona tutto ovvero olsrd in esecuzione sul ground router<br>
> vede il vicino ed aggiorna la tabella di routing. Tuttavia l'IP dell'<br>
> antenna remota non é pingabile nonostante abbia settato i forwarding tra le<br>
> dua interfacce (LAN e VLAN dati).<br>
><br>
> Viceversa, se vado sull'altra antenna riesco a fare un ping sulla prima<br>
> antenna.<br>
><br>
> Cosa ho tralasciato?<br>
><br>
> Grazie<br>
> Nicola<br>
><br>
><br>
> Il giorno 06 aprile 2014 17:26, Nicola Ruscitto <<a href="mailto:nicolaruscitto78@gmail.com" target="_blank">nicolaruscitto78@gmail.com</a>><br>
> ha scritto:<br>
><br>
>> Ciao ragazzi,<br>
>> la prova del router a terra con radio wa7510n openwrt ha dato esiti<br>
>> positivi. Una volta impostate le vlan e caricato il modulo trelay<br>
>> sull'antenna così come suggerito sulla guida, il router ha aggiornato la sua<br>
>> tabella di routing aggiungendo il vicino.<br>
>><br>
>> Saluti<br>
>> Nicola<br>
><br>
><br>
><br>
</div></div><div><div>> _______________________________________________<br>
> Wireless mailing list<br>
> <a href="mailto:Wireless@ml.ninux.org" target="_blank">Wireless@ml.ninux.org</a><br>
> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
><br>
_______________________________________________<br>
Wireless mailing list<br>
<a href="mailto:Wireless@ml.ninux.org" target="_blank">Wireless@ml.ninux.org</a><br>
<a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
Wireless mailing list<br>
<a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
<a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
<br></blockquote></div><br></div>