Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    NEED help problem with routing and default gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bbozo
      last edited by

      The situation is this:

      wireless
      pc(172.38.11.50)->switch->{lan}(172.38.11.3)Wrap2{Opt1}(10.55.10.4)–-><----(10.55.10.2){Opt1}Wrap1(172.38.10.3){lan}->switch
                                                                   {wan}172.38.11.4                                            {wan}172.38.10.4                           ^
                                                                                                                                                                                              !                                                                                                                                                                                         (172.38.10.1)
                                                                                                                                                                                        My Server
                                                                                                                                                                                 (dhcp ip from ISP)
                                                                                                                                                                                      INTERNET

      Wrap1
      firewall is all allow on all intefraces
      none of the interfaces are bridged
      on wan interface gateway is set to 172.38.10.1 (i tried Opt1/wrap1 and lan/wrap1)
      static routs are:
      int            net                      gtw
      lan      172.38.11.0/24     172.38.11.3
      opt1   172.38.10.0/24     10.55.10.2
      opt1   10.55.10.0/24       10.55.10.4

      Wrap2
      firewall is all allow on all intefraces
      none of the interfaces are bridged
      on wan interface gateway is set to 172.38.10.1
      static routs are:
      int            net                      gtw
      lan      172.38.10.0/24     172.38.10.3
      opt1   172.38.11.0/24     10.55.10.4
      opt1   10.55.10.0/24       10.55.10.2

      I have two networks in diferent subnets (172.38.10.0/24 and 172.38.11.0/24) i am trying to connect both network to internet. The problem i have is this: Network behind wrap2 can't go to internet, but the interesting part is that all ping's are resolved for example if i ping www.pfsense.com it resolves the ip address but i get no reply. I can reach all computers in both networks.
      If I put another static route in wrap2: int       network             gtw***
                                                                opt1     0.0.0.0/1          10.55.10.2
      i get (of course) only parts of the internet. So my conclusion is that the default gateway is not doing its job on wrap2.
      My question is how to set the default gateway on wrap2?

      Any help i MOST APRICIATED.

      PS. i have been trying to solve this for days. Sorry for bad english.

      1 Reply Last reply Reply Quote 0
      • L
        lsf
        last edited by

        This is how it should look:

        pc(172.38.11.50)->switch->{lan}(172.38.11.1)Wrap2{WAN}(10.55.10.2)–->WIRELESS<----(10.55.10.1){LAN}Wrap1(172.38.10.2){WAN}->switch
                                                                                                                                                                                                              ^
                                                                                                                                                                                                                !                                                                                                                                                                                                                                                (172.38.10.1)
                                                                                                                                                                                                          My Server
                                                                                                                                                                                                    (dhcp ip from ISP)
                                                                                                                                                                                                        INTERNET

        Wrap1:

        WAN = sis0
        LAN= wireless interface

        firewall is all allow on all intefraces
        none of the interfaces are bridged
        wan interface gateway is set to 172.38.10.1

        static route:

        172.38.11.0/24 GW=10.55.10.2

        Wrap2:

        WAN = wireless interface
        LAN = sis0

        firewall is all allow on all intefraces
        none of the interfaces are bridged
        wan interface gateway is set to 10.55.10.1

        That should be it.

        On wrap2 you can also remove the NAT rule if you like.
        But it has to be on on wrap1, if it's not on then you also need to tell your DSL router(or whatever device you have) that it can reach 10.55.10.0/24 and 172.38.11.0/24 on GW 172.38.10.2.

        -lsf

        1 Reply Last reply Reply Quote 0
        • B
          bbozo
          last edited by

          Thanks for the tip Isf I will try this and tell you if it worked tomorow.

          1 Reply Last reply Reply Quote 0
          • B
            bbozo
            last edited by

            YES that  was it….problem solved.
            But for the information i didnt change anything on wrap1, i only changed wrap2 settings and that did the job.

            thank you

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.