|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Junior Member
Iscritto dal: Sep 2014
Messaggi: 20
|
Routing subnet con 2 Asus DSL-AC68U e ponte wifi
Salve a tutti, sono ormai una decina di ore che sto tentando di far andare sta benedetta rete che a quanto pare mi sta prendendo un pò in giro
![]() Spero che qualcuno con un pò più esperienza sappia darmi qualche dritta su dove sto sbagliando ![]() In pratica ho creato un ponte wifi e ora devo mettere in comunicazioni le 2 reti che sono su 2 subnet diverse ( Rete1 192.168.1.0/24 e Rete2 192.168.2.0/24) Ho 2 router asus DSL-AC68U e volevo far svolgere il lavoro a loro dato che sono i gateway di default delle due reti e i ponti radio si attaccano direttamente alle loro porte lan, so che dal interfaccia asus una cosa del genere è impensabile quindi ho abilitato l'accesso telnet e mi sono messo a smanettare li. Questo è l' ifconfig senza modifiche (ho cancellato i mac addr) dove eth0 e l'ethernet, eth1 e eth2 sono le reti wifi a 2,4 e 5Ghz del router. vlan1 , vlan2 e vlan3880 hanno lo stesso mac di eth0 br0 è composto da vlan1, eth1 e eth2 Codice:
br0 Link encap:Ethernet HWaddr AC:9E:xxxxxxxx inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fd00:1::1/64 Scope:Global inet6 addr: fe80::ae9e:17ff:xxxxxxx/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:43344 errors:0 dropped:0 overruns:0 frame:0 TX packets:37913 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4441751 (4.2 MiB) TX bytes:19408694 (18.5 MiB) eth0 Link encap:Ethernet HWaddr AC:9E:xxxxxx inet6 addr: fe80::ae9e:xxxxxx/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:307624 errors:0 dropped:0 overruns:0 frame:0 TX packets:159055 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:102120839 (97.3 MiB) TX bytes:102457677 (97.7 MiB) Interrupt:179 Base address:0x4000 eth1 Link encap:Ethernet HWaddr AC:9E:xxxxxxx inet6 addr: fe80::ae9e:xxxxxx/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:1646 errors:0 dropped:0 overruns:0 frame:2920 TX packets:20478 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:281007 (274.4 KiB) TX bytes:5047874 (4.8 MiB) Interrupt:163 eth2 Link encap:Ethernet HWaddr AC:9E:xxxxxx inet6 addr: fe80::ae9e:xxxxxx/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:169 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1 RX packets:57 errors:0 dropped:0 overruns:0 frame:0 TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8778 (8.5 KiB) TX bytes:8778 (8.5 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:82.XXX.XXX.XXX P-t-P:192.168.100.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING MULTICAST MTU:1478 Metric:1 RX packets:69953 errors:0 dropped:0 overruns:0 frame:0 TX packets:49756 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:75118843 (71.6 MiB) TX bytes:6020358 (5.7 MiB) vlan1 Link encap:Ethernet HWaddr AC:9E:xxxxxxx inet6 addr: fe80::ae9e:xxxxx/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:96831 errors:0 dropped:0 overruns:0 frame:0 TX packets:42904 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:13026459 (12.4 MiB) TX bytes:23836076 (22.7 MiB) vlan2 Link encap:Ethernet HWaddr AC:9E:xxxxxx inet addr:169.254.70.103 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::ae9e:xxxxxx/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:137185 errors:0 dropped:0 overruns:0 frame:0 TX packets:4716 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7740262 (7.3 MiB) TX bytes:754729 (737.0 KiB) vlan3880 Link encap:Ethernet HWaddr AC:9E:xxxxxxx inet addr:169.254.197.232 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::ae9e:xxxxxxx/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13754 errors:0 dropped:0 overruns:0 frame:0 TX packets:15430 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4194067 (3.9 MiB) TX bytes:2067338 (1.9 MiB) Codice:
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.1 * 255.255.255.255 UH 0 0 0 ppp0 169.254.0.1 * 255.255.255.255 UH 0 0 0 vlan2 192.168.1.0 * 255.255.255.0 U 0 0 0 br0 169.254.0.0 * 255.255.0.0 U 0 0 0 vlan2 169.254.0.0 * 255.255.0.0 U 0 0 0 vlan3880 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.100.1 0.0.0.0 UG 0 0 0 ppp0 Sul router n1 (Rete1 ip br0 192.168.1.1) ho impostato: Codice:
ifconfig br0:0 192.168.2.1 iptables -A FORWARD -i br0 -o br0:0 -s 192.168.1.0/24 -d 192.168.2.0/24 -j ACCEPT iptables -A FORWARD -i br0:0 -o br0 -s 192.168.2.0/24 -d 192.168.1.0/24 -j ACCEPT Codice:
ifconfig br0:0 192.168.1.2 iptables -A FORWARD -i br0 -o br0:0 -s 192.168.2.0/24 -d 192.168.1.0/24 -j ACCEPT iptables -A FORWARD -i br0:0 -o br0 -s 192.168.1.0/24 -d 192.168.2.0/24 -j ACCEPT La cosa che mi sta facendo sclerare è il fatto che se provo da una VM linux riesco a aprire le webgui dei vari aggeggi di rete ma comunque non apro le cartelle condivise o altro ![]() ![]() Grazie in anticipo |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 12:52.