Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Is it possible to have 2 or more wan interfaces on single NIC?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.2k 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.
    • R
      remlei
      last edited by

      Im subscribed to a ISP that lease static IP via PPPoE. And to get the 3 static IP's that I need, I have to login to each PPP credential that my ISP gave me.

      Is it possible to have some sort of 2 or more virtual interface that is binded to a single NIC? Since I need a multiple interface that have different mac address on each interface. In linux I can do this using the ip link add command using the macvlan kernel module, with that I can have as many as interface (virtual) I want in single NIC with each of them had their own mac address, and I was able to get all the 3 static IP in this way. But im clueless about freebsd, if is this even possible.

      I can do a workaround with 6 port NIC but that's dumb since im connected to same ISP and concentrating them on single cable would be great, since its only 300/300 mbit connection.

      1 Reply Last reply
      Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Interfaces - Assign - VLANs.

        1 Reply Last reply
        Reply Quote 0
        • R
          remlei
          last edited by

          vlans wont work, since im not using vlan on wan interface. its a untagged traffic. and all wan interface connect to same untagged traffic.

          yes I know I can do work around again with this using a managed switch to but still that's dumb and nothing different having a 6 port NIC. I can also do this under VMware where creating more virtual NICs attached on a single physical nic of course I prefer running it baremetal.

          I need a single NIC (port) to have multiple wan interface (virtual interface).

          1 Reply Last reply
          Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            I need a single NIC (port) to have multiple wan interface (virtual interface)."

            That is done with VLANS!!  If not your just running multiple layer 3 on the same layer 2 which is BORKED!!

            Whenever you create a "subinterface" you will always be tagging it with a vlan ID..  This is on every firewall, router I have ever worked on since they started making firewalls and routers.  And also when this is done on any sort of OS, be it linux/bsd, etc..

            Creating multiple IPs on the same physical interface that are in different networks without tagging is BORKED!!

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 26.07 | Lab VMs 2.9.0, 26.07

            1 Reply Last reply
            Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              @remlei:

              vlans wont work, since im not using vlan on wan interface. its a untagged traffic. and all wan interface connect to same untagged traffic.

              Well, that is completely broken idea as noted above, plus frankly, if those 3 PPPoE WANs are using the same gateway, you will just get an unsupported setup broken in various more or less cryptic ways, VLANs or not.

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy