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

    Dual WAN Setup on XG-7100

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    36 Posts 10 Posters 6.4k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Good to hear. 👍

      1 Reply Last reply Reply Quote 0
      • T
        Timbobx
        last edited by

        @wintok Can you share with me the configuration of the dual wan on the xg-7100?
        I am getting mad with the marvel chip.

        Best Rehards Tim

        W 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          What problem are you seeing?

          Trying to setup a seconds WAN port on the switch?

          Steve

          T 1 Reply Last reply Reply Quote 0
          • T
            Timbobx
            last edited by

            Yes need to setup 3 additional WAN Ports (totally 4 WAN and 2 LAN Ports) for a fallback and smart rooting.

            1 Reply Last reply Reply Quote 0
            • T
              Timbobx @stephenw10
              last edited by

              @stephenw10 Forgot to reply direct to you.
              Yes I want to setup additional WAN ports on the switch.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ok, so, in summary, you need to:

                Add a new VLAN on lagg0 from Interfaces > Assign to use as WAN2 for example 4092

                Configure the switch to use that new VLAN. You can use the default WAN (4090) as an example here.
                On the Switch > Ports tab chage the PVID of the port you want to use to the new ID, for example 4092.
                On the Switch > VLAN tab add a new VLAN group with the new ID (4092).
                Add to it the port you want to use as untagged and 9 & 10 as tagged.

                Remove the port you;re using from the LAN vlan group (4091).

                We did a hangout on this with a lot more detail:
                https://youtu.be/NgRy14rYhV8

                Steve

                1 Reply Last reply Reply Quote 0
                • W
                  wintok @Timbobx
                  last edited by

                  @Timbobx
                  Hi Timbox

                  I use ports ETH1 (primary) and ETH2 (secondary) for WAN connections. First you need to change Port VID of the Port (in my case ETH2) for your secondary WAN connection. The default Port VID is 4091 and I changed to 4092. It's editable , double click , change , click and hit save. [Interfaces->Switch->System->Ports]
                  Assign port eth2 to 4092.PNG

                  For the next part you need to add your VLANs and add members [Interfaces->Switch->System->VLANs]
                  3.PNG
                  Secondary Internet Connection.PNG

                  Add port 2 (untagged) and port 9 and 10 both as tagged members above. Incase If you need to compare the configuration for the primary WAN see below. It has members port 1 (untagged) and 9 and 10 both as tagged memebers.

                  primary Internet Connection.PNG

                  When you finish the above configuration next you need to your configure VLANs again but this time you add your vlan 4092 and choose your parent interface.
                  [Interfaces->Assingments->VLANs]
                  4.PNG
                  For Parent interface choose lagg0 for VLAN Tag enter 4092 and VLAN Priority leave as 0 and for description give wan2 for instance (in my case ATHKL) and Hit save

                  3.PNG

                  At this stage the new interface is now ready to be configured
                  Interfaces->Assingments->Interface Assingments
                  Click on new interface see below and configure its ip settings.
                  5.PNG

                  6.PNG

                  Your second WAN should be up and running if follow the instructions correctly. You might also might need to configure WAN fail over to utilize the two connections ....

                  1 Reply Last reply Reply Quote 2
                  • T
                    Timbobx
                    last edited by Timbobx

                    @stephenw10 said in Dual WAN Setup on XG-7100:

                    4092
                    @wintok

                    Thanks! For the work/ documentation.

                    My open questions is, where can I change the MAC-Adresses of the interfaces. I need different MAC-Addresses on each interface. I have an ISP with lines of 1000 MBit. But the ISP is sending me 3 times the same IP because on 3 ports I have the same MAC-Adddress. And I cannot find a place where I can change it on the parent interface.

                    Example WAN2 VLAN 4083 on ETH3
                    15817de3-8bff-43ed-97c8-4fd663998335-grafik.png

                    has lagg0 as parent device.
                    Like WAN3 VLAN 4084 on ETH4 and
                    like WAN4 VLAN 4085 on ETH5

                    153cfb76-73ca-48e2-ad5a-56dd7cd8d76e-grafik.png

                    What did I wrong?

                    Best Regards Tim

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      That's a problem.
                      The VLAN interface inherits it's MAC address from the parent interface and all those VLANs are on the same parent, lagg0.
                      It's possible to separate the lagg interface and usr the two ix NICs are parent to give two MAC addresses.

                      It's a horrible hack but you may be able to create a single interface bridge where you can spoof the MAC to give 3 total.

                      Really though you should have the expansion card to use 4 discrete NICs for that.

                      Steve

                      1 Reply Last reply Reply Quote 1
                      • S
                        sgw @naalpv
                        last edited by

                        @naalpv too bad, it's gone ;-)

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