al momento soro riuscito a dare a porte diverse dello switch LAN degli IP diversi.<br>Il WRT raggiunge i pc collegati alle diverse classi ma i pc tra di loro nn si pingano...<br>ho anche provato ad impostare delle regole nel firewall ...ma nulla <br>
<br><br>    WRT54G #1 <br>(lan 192.168.1.1)   <br>(lan2 10.10.10.1) <br>     /                   \                             <br>

    /                     \                           <br>PC IN LAN     PC IN LAN<br><div id=":uw" class="ii gt">(192.168.1.4)   (10.10.10.4)</div><br><br>/etc/config/network<br><br>#### LAN configuration<br>config interface lan<br>
        option type     bridge<br>        option ifname   "eth0.0"<br>        option proto    static<br>        option ipaddr   192.168.1.1<br>        option netmask  255.255.255.0<br>        option gateway  192.168.1.1<br>
        option dns      151.99.125.1<br><br><br>config interface lan2<br>        option ifname    "eth0.2"<br>        option proto    static<br>        option ipaddr    10.10.10.1<br>        option netmask    255.255.255.0<br>
<br>config route<br>        option interface lan<br>        option target 10.10.10.0<br>        option gateway 10.10.10.1<br><br>config route<br>        option interface lan2<br>        option target 192.168.1.0<br>        option gateway 192.168.1.1<br>
<br><br><br><br>/etc/config/firewall<br><br>config 'defaults'<br>    option 'syn_flood' '1'<br>    option 'input' 'DROP'<br>    option 'output' 'ACCEPT'<br>    option 'forward' 'DROP'<br>
<br>config 'zone'<br>    option 'name' 'lan'<br>    option 'input' 'ACCEPT'<br>    option 'output' 'ACCEPT'<br>    option 'forward' 'ACCEPT'<br><br>config 'zone'<br>
    option 'name' 'lan2'<br>    option 'input' 'ACCEPT'<br>    option 'output' 'ACCEPT'<br>    option 'forward' 'ACCEPT'<br><br>config
'forwarding'          <br>    option 'src' 'lan2'<br>    option 'dest' 'lan'<br><br>config 'forwarding'          <br>    option 'src' 'lan'<br>    option 'dest' 'lan2'<br>
<br><br>/etc/firewall.user<br>(ho aggiunto in fondo)<br>iptables -A forwarding_rule -i eth0.2 -o br-lan  -j ACCEPT<br>iptables -A forwarding_rule -i br-lan -o eth0.2  -j ACCEPT<br><br><br><br><br>alcune idee?<br><br>