No route to internet from second lan



  • Hi.
    I'm lost.
    my setup has 2 lans
    192.168.0.0/24 - lan
    192.168.2.0/24 -opt2
    Got ip, gateway, dns from dhcp, can ping other subnet.
    I added a firewall rule in the opt 2 tab, but I can't reach internet from opt2
    It was working before but i I changed the card for opt 2 from wifi to lan.
    in addition, the default gateway is not working for some time. that is, if the default gateway is used in the rule, it doesn't work, I have to point to a specific gateway like WAN_PPP.

    Any idea?



  • @cyborg50 said in No route to internet from second lan:

    Got ip, gateway, dns from dhcp, can ping other subnet.

    LAN ? OPT1 ? Both ?

    @cyborg50 said in No route to internet from second lan:

    I added a firewall rule in the opt 2 tab, but I can't reach internet from opt2

    How did you set it up ?

    Like :

    93279f31-7d7d-463b-9532-c8b7340402f3-image.png

    @cyborg50 said in No route to internet from second lan:

    in addition, the default gateway is not working for some time. that is, if the default gateway is used in the rule, it doesn't work, I have to point to a specific gateway like WAN_PPP.

    Check your default LAN setup : no gateway is set.
    The same thing goes for other 'LAN type' interfaces like OPT1.

    What are the firewall rules on OPT1 ?
    The same as LAN => you're ok.

    Make it look like 966e2873-5d13-4e32-a930-27fca631cb65-image.png
    (OpenVPN in my case, but the rules would be the same )



  • @Gertjan said in No route to internet from second lan:

    LAN ? OPT1 ? Both ?

    Yes.

    This is my opt2 setup:
    opt2.jpg

    How did you set it up ?
    firewall rule:

    fire.jpg

    EDIT:
    The problem was NAT related, i was on : Manual Outbound NAT rule generation and I didn't add rules.


Log in to reply