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

    XG-7100 Dual WAN how to set the Mac Address?

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    12 Posts 2 Posters 1.6k 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.
    • I
      iculookn
      last edited by

      Hi
      I have a XG-7100 and I want to configure it with dual wan. I have tried to follow all the documentation and I think I understand the vlans etc. When I enable the 2nd interface, it looks like it is getting the same IP as the first WAN port, so I am assuming my ISP is assigning IP based on MAC.

      as the VLAN interface inherits it's MAC address from the parent interface and all those VLANs are on the sameas th parent, lagg0. How can I separate the lagg interface to give two MAC addresses.

      I am using ports 1 and 3 for WAN, 2 for LAN

      Thanks

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

        So you have two WAN connections but they are from the same ISP and it's using the same subnet on both?

        You will have problems there anyway as they probably share the same gateway so you won't be able to route to them separately.

        You can create two MAC addresses by separating the internal lagg and using VLANs on each interface. Each is connected to the switch at 2.5G so it's unlikely you will see a reduction in throughput.
        It's a multi-step process though and you need some access that isn't via the switch or you will almost certainly get locked out! At least have the console connected so you can roll back changes.

        Steve

        I 1 Reply Last reply Reply Quote 1
        • I
          iculookn @stephenw10
          last edited by

          @stephenw10
          Thanks for the reply, all sounds like not the right way to proceed. Looks like I need to replace the XG-7100 with something that can support my environment.

          Yes, I have 2 x 1Gb WAN from the same ISP. Not using them for redundancy/failover, but for policy-based routing

          Thanks

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

            You can use the XG-7100, splitting the LAGG is not that difficult. If you open a ticket with is we can provide you with a basic config with that already done.
            https://go.netgate.com/

            However you will not be able to policy route if the gateway is the same on both WANs and it sounds like it might be. That applies to any pfSense install.

            Steve

            I 1 Reply Last reply Reply Quote 0
            • I
              iculookn @stephenw10
              last edited by

              @stephenw10

              ok, thanks. have put in the request.

              Can you elaborate more on the issue that I might not be able to policy route anyway?

              Is there a way to test/check before I make the changes?

              Thank you

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

                Because you said the two WANs shared the same subnet I thought it very likely they would be using the same gateway IP which is a problem because pf uses that to route to:

                https://docs.netgate.com/pfsense/en/latest/multiwan/considerations.html#multiple-wans-sharing-a-single-gateway-ip

                Should be quite easy to check the gateways on each WAN to know for sure.

                If necessary you can NAT one of them with a SOHO router in front of pfSense which works around the problem.

                Steve

                I 1 Reply Last reply Reply Quote 0
                • I
                  iculookn @stephenw10
                  last edited by iculookn

                  @stephenw10
                  Ok I have loaded the config supplied (7100-IX2&IX3.XML) and I tried to follow the video here
                  https://www.netgate.com/resources/videos/configuring-netgate-appliance-integrated-switches-on-pfsense-244.html

                  but I am just confused now and end up either kicking myself out of the LAN or the WAN.

                  I have a working box, but I cant get the 2nd WAN port enabled.

                  PORT 1: WAN1
                  PORT 2: LAN
                  PORT 3: WAN 2

                  b692a0fa-520c-4e49-b3ca-3395f9228687-image.png

                  2cfa3d9c-46f3-43b8-b999-f6b106a56317-image.png

                  My switch VLANS are as follows (I think VLAN 1 is not right)
                  c88a7bf8-8051-4ede-b0f5-ec857309920b-image.png

                  Ports
                  8e2e3115-374a-4e6c-b627-aa697278bf5b-image.png

                  Interface Assignments
                  402956f4-c726-40f8-ab34-b04e10ce2493-image.png

                  VLANS
                  1fc9e6b7-4a51-4ce1-85da-57db1c2dda10-image.png

                  VLAN Config
                  9e776123-bbc1-40e2-ab63-d24b1c7a2ec3-image.png

                  52ece171-705c-48f1-b9b6-36917b26bcbd-image.png
                  I am confused about which "Parent Interface to select"

                  I know both my WAN ports are working as I can plug in my pc and I get a DHCP WAN IP and to close off your point about wan gateway, I can confirm I have 2 separate WAN IP's in different ranges with different default gateways

                  Any help would be greatly appreciated.

                  Thanks
                  Eric

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

                    Eric, hmm yeah there are a number of things wrong there. Is that the config as we sent it to you? or after making changes?

                    I'm reviewing what we sent.....

                    Steve

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

                      Ok I see. I have replied on your ticket with a complete config setup for dual WANs with different MAC addresses.
                      Please try that and let us know how it goes.

                      Steve

                      I 1 Reply Last reply Reply Quote 1
                      • I
                        iculookn @stephenw10
                        last edited by

                        @stephenw10
                        Ha, no that mess is after I played with the config. Will try your new config tonight

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • I
                          iculookn @stephenw10
                          last edited by

                          @stephenw10 THANK YOU.

                          That config made more sense. all working now. Even have a policy-based rule setup to direct all my nestcams to WAN2

                          THANK YOU

                          7bf7d555-862e-4588-839f-c9c75628a8cd-image.png

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

                            Nice. 👍

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