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

    2 WAN Networks, 2nd network without DHCP/NAT on a VLAN - how to route/do it?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 323 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.
    • T
      thundergate
      last edited by

      Hi,

      I do have a question concerning the topic 2 WAN Networks and routing to VLANs.

      My setup:

      • WAN1: Provider WAN
      • WAN2: Special Company WAN

      What do I want:

      • WAN1 (igc0)> should go to VLAN 100 and VLAN 200 devices (does work without any issues, as I define a VLAN, Interface, Gateway and DHCP for the VLANs and everything is fine)

      • WAN2 (igc1)> should go to VLAN 500 devices (I created the Interface, the Gateway)

      • but here the issue comes up. I'm already getting IP addresses (10.96.x.x/24) from this WAN as it is not a gateway and does no routing. It only bridges the net
        - so I do need a VLAN without a DHCP running and without any NAT etc.

      That's the point where I do struggle and cannot get it running.

      Don't know if it's because of wrong Firewall-Routing or because I have to setup the interface in a different way.

      Coming from UniFi network it worked in a simple way:

      • connected WAN2 to a switchport and defined this as a '3rd party gateway)
      • after that I created a VLAN associated to this gateway profile
      • every device which is on that VLAN works without any issues > no DHCP, no other setup

      Looks like a simple setup, but I do not get it running.

      Hope I can get some help.

      Thx.

      T V 2 Replies Last reply Reply Quote 0
      • T
        thundergate @thundergate
        last edited by

        @thundergate Hi. Just to give a short update. I already tried it with Interface, Gateway, and so on, but nothing works.

        Hope you can help in some way, as I don't know how to solve this issue.

        1 Reply Last reply Reply Quote 0
        • V
          viragomann @thundergate
          last edited by

          @thundergate said in 2 WAN Networks, 2nd network without DHCP/NAT on a VLAN - how to route/do it?:

          WAN2 (igc1)> should go to VLAN 500 devices (I created the Interface, the Gateway)

          but here the issue comes up. I'm already getting IP addresses (10.96.x.x/24) from this WAN as it is not a gateway and does no routing. It only bridges the net

          • so I do need a VLAN without a DHCP running and without any NAT etc.

          Can you be a bit more clear, what you're trying to achieve?

          What do you mean with "WAN2 (igc1)> should go to VLAN "?
          Bridging, forwarding, something else?

          Which gateway did you create?

          T 1 Reply Last reply Reply Quote 0
          • T
            thundergate @viragomann
            last edited by

            @viragomann
            Hi,

            sorry for the late feedback.

            I got it running.

            Connected the WAN part from the NanoPi to the eth3 and gave him LAN network. And the LAN port from the NanoPi then to the switch.

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